Questions tagged [i386]

Use i386 tag for questions related to 32-bit implementation of x86 ISA

The 32-bit version of x86 instruction set architecture (ISA) is now called i386, after Intel's first 32-bit processor, the 80386, which is also known as i386.

For general x86 ISA questions, which are not specific to 32/64 bits, use tag instead.

279 questions
4
votes
6 answers

Implementing traceback on i386

I am currently porting our code from an alpha (Tru64) to an i386 processor (Linux) in C. Everything has gone pretty smoothly up until I looked into porting our exception handling routine. Currently we have a parent process which spawns lots of sub…
user287108
  • 43
  • 3
4
votes
1 answer

Dialing a SIP number with TWINKLE client, from Ubuntu Linux Terminal. Is it possible?

I am having a number of portable touchscreen computers with Ubuntu Linux 10.04LTS Lucid Lynx, the processor architecture is "i386". I used TWINKLE VOIP client and through SIP i am able to call to those units from IP Phone and similarly i am also…
RicoRicochet
  • 2,249
  • 9
  • 28
  • 53
4
votes
1 answer

What's the meaning for this inline assembly (:"0" (THREAD_SIZE - 1)) in linux kernel 2.6.11 for i386

in do_IRQ you can find the following code! #ifdef CONFIG_DEBUG_STACKOVERFLOW /* Debugging check for stack overflow: is there less than 1KB free? */ { long esp; __asm__ __volatile__("andl %%esp,%0" : "=r" (esp)…
Adambynes
  • 197
  • 1
  • 10
4
votes
1 answer

iOS making a universal library - for i386 and arm7

We are building a library for use in iOS development. We can generate either a i386 library for the simulator, or a arm7 library for the hardware device. As it is now, we need to have two different files (.a libraries) when distributing the…
geekyaleks
  • 1,281
  • 3
  • 18
  • 29
4
votes
4 answers

libsqlite3.dylib, missing required architecture i386

I am using libsqlite3.dylib and am getting the following error when am compiling my project. ld: warning: ignoring file /Users/dcdmc/Documents/Beginning iPhone 5 Dev/Persistence copy/libsqlite3.dylib, missing required architecture i386…
Amrita
  • 65
  • 1
  • 3
  • 9
3
votes
1 answer

Link error- missing required architecture i386 in file-symbols not found

I am working on an app that uses a twitter API. The app runs fine when it is hooked up to an IOS device, but when I change the architecture from armv6 to i386 to get it running on the simulator I get this error: ld: warning: ignoring file …
mat
  • 31
  • 1
  • 4
3
votes
4 answers

Compiling x264 for i386

How would I compile the x264 library for the i386 architecture? Usually to force an architecture I would use the follow command: ./configure CC="gcc -arch i386" CXX="g++ -arch i386" But it doesn't seem to work for x264. To compile x264 I configure…
user293895
  • 1,465
  • 3
  • 22
  • 39
3
votes
1 answer

How to understand this AT&T i386 assembly code snippet?

Please view the following code snippets: int& sum(int& num1, int& num2) { num1++; num2++; } 00000000 <_Z3sumRiS_>: 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: e8 fc ff ff ff …
Edee
  • 1,746
  • 2
  • 6
  • 14
3
votes
1 answer

Error: use of overloaded operator '[]' is ambiguous while building for i386

Consider the following code: #include #include class test_class { public: test_class() {} ~test_class() {} const int32_t operator[](uint32_t index) const { return (int32_t)index; } operator…
3
votes
0 answers

i386 disassembly using edx register when it is undefined

Below is the disassembly of the beginning of a function. The first mention of the edx register is "sarl $0x3, %edx", which shifts the exiting value. As I understand it, the value of the edx register is undefined when entering a function. Can anyone…
Dim St Thomas
  • 103
  • 1
  • 7
3
votes
2 answers

Whats the difference between armv6 and i386?

I am trying to link libssh2.dylib (a 3rd party library compiled by Matthew Wilkinson using libssh2 library from http://www.libssh2.org) to my xcode project but when I try the following code: const char * libssh2_version(int…
iiyanx7
  • 91
  • 2
  • 5
3
votes
1 answer

Global Descriptor Table location

I'm confused with the location of the Global Descriptor Table (GDT). According to Intel Manuals from i386 to earlier ones, the GDTR register contains a base address of the GDT table which is pretended to be a linear address. Following Intel…
3
votes
2 answers

Can a process running a 32-bit compiled binary use more than 4GB of memory?

Is it possible for a single process running a 32-bit compiled version of python in Snow Leopard (64-bit machine) to appear to consume > 4GB (say 5.4GB) of virtual memory as seen by the top command? I did a file ...python to see that the binary was…
3
votes
0 answers

Apple Mach-O linker error: Undefined symbols for architecture i386 Google Protobuf

I am trying to use Protobuf 2.6 with Xcode version 6.3. I've added the libprotobuf-lite.a to my Demo application and added the path to the Header files in the Header Search Paths., but I am getting this error. Undefined symbols for architecture…
Aagman
  • 684
  • 6
  • 18
3
votes
1 answer

Unexpected GCC inline ASM behaviour (clobbered variable overwritten)

On my computer, the compiled executable omits executing "mov %2, %%ax" at the top of the loop when "add %1, %%ax" uncommented. Anyone to doublecheck or comment ? #include int main() { short unsigned result, low ,high; low = 0; …
OneArb
  • 453
  • 2
  • 14