Questions tagged [i386]

i386 is the mark used on the Intel 80386 processor

Intel's first 32-bit processor, the 80386, was labeled i386 on the package.

See the picture in this Wikipedia article:

http://en.wikipedia.org/wiki/Intel_80386

271 questions
47
votes
4 answers

Architecture of i386 input file is incompatible with i386:x86-64

I'm trying to create a simple kernel using Ubuntu. In the terminal I typed ld -Ttext 0x1000 -o kernel.bin loader.o main.o Video.o But I got the following error message in return: ld: i386 architecture of input file `loader.o' is incompatible with…
MEv2.0
  • 563
  • 2
  • 5
  • 8
33
votes
2 answers

Register allocation and spilling, the easy way?

I'm looking for a way to allocate local variables to registers. I'm aware of a couple of serious methods for doing it (namely, those mentioned on Wikipedia), but I'm stuck on how "spilling" is accomplished. Also, the relevant literature is quite…
Edmund
  • 10,070
  • 1
  • 36
  • 52
30
votes
4 answers

i386 different from x86?

While downloading Fedora Linux, they offer two options for download that I don't know the difference to: x86 and i386. So what'sthe difference between them?
X10nD
  • 19,972
  • 44
  • 105
  • 150
28
votes
4 answers

Why does the iOS simulator require i386 and x86_64 symbols even though I'm on an x86_64 system only?

I'm trying to get an app running on the simulator that has had some problems doing so before. We don't have libjpeg.a built for i386, but it does have x86_64. This is the only dependency left, but I'm wondering why I actually need i386 symbols, if…
Joey Carson
  • 2,742
  • 6
  • 27
  • 56
23
votes
4 answers

Undefined symbols for architecture i386

Possible Duplicate: symbol(s) not found for architecture i386 I have an app to complete, and when I start trying to understand what the previous developer did (it was done with Xcode 3 I think) by executing the simulator, Xcode 4 show me 25…
highthem
  • 245
  • 1
  • 2
  • 6
15
votes
4 answers

iOS simulator on mac is running i386 architecture, not armv7?

I've got some static libraries I've built for use on armv7 architectures. When I try to use them in a iOS project which I testrun on the iphone 5.0 simulator, I get errors telling me about undefined symbols for architecture i386 in my static…
KaiserJohaan
  • 8,578
  • 18
  • 105
  • 187
14
votes
2 answers

gcc Invalid version (max ) error adding symbols: Bad value

I've successfully build several 32 bit, static and Shared, libraries on Linux x86_x64 and I'm now trying to link them together to an executable and I get the following error: /usr/bin/ld: foo.so: __moddi3: invalid version 21 (max 0) foo.so: error…
Gil-Mor
  • 631
  • 1
  • 7
  • 14
12
votes
4 answers

missing required architecture i386 in file

I am having trouble building my app after adding MapKit and CoreLocation frameworks. They are both 4.3 frameworks, and the app used to work fine with UIKit, CoreGraphics, and Foundation, just giving me problems with these two. Not sure what the…
F3d3r3r
  • 125
  • 1
  • 1
  • 5
11
votes
4 answers

Running 32 bit exe on Ubuntu :libudev.so : cannot open shared object file: No such file or directory

I am trying to run an exe which uses libudev.so but it gives this error : error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory Running uname -a gives : 3.5.0-44-generic #67~precise1-Ubuntu…
Raulp
  • 6,261
  • 11
  • 73
  • 129
11
votes
6 answers

/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory

I am trying to install roccc 2.0. I have installed required packages. Now while installing it, it is giving me this error: /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory I searched for gnu/stubs-32.h and came to…
user2931
  • 111
  • 1
  • 1
  • 5
10
votes
1 answer

Building ffmpeg iOS libraries for armv7, armv7s, arm64, i386 and universal

I have seen several scripts to build FFmpeg API for armv7, 7s and i386 but couldn't find anything which would work for armv64 as well. Some of the answers on other threads of this forum suggested to prepare a separate library for arm64 but it does…
sandy
  • 2,097
  • 4
  • 28
  • 49
8
votes
1 answer

Is the i386 instruction "div ah" pointless?

From https://www.felixcloutier.com/x86/div: ... temp ← AX / SRC; IF temp > FFH THEN #DE; (* Divide error *) ELSE AL ← temp; AH ← AX MOD SRC; FI; ... For div ah the SRC would be ah. IMHO…
rfalke
  • 377
  • 3
  • 7
8
votes
1 answer

An i386/x64 pop FS/GS instruction supports a variant where it increments the SP by 32 bits or 64 bits in stead of 16 bits. What is it used for?

According to the Intel® 64 and IA-32 Architectures Software Developer’s Manual Volume 2 the pop fs supports 3 variants (the same goes for pop gs): Pop top of stack into FS; increment stack pointer by 16 bits. Pop top of stack into FS; increment…
Werner
  • 83
  • 4
8
votes
1 answer

What register in i386 stores the CPL?

I read in "INTEL 80386 PROGRAMMER'S REFERENCE MANUAL" (p112, S 6.3.1.3) that An internal processor register records the current privilege level (CPL). I am curious as to what register it refers to. Does it even have a name? What's the size of…
xtt
  • 747
  • 1
  • 7
  • 22
8
votes
6 answers

Debian login loop

If I try to login on a Debian with XFCE it gets a blackscreen for a few seconds, then it flashes really short and puts me back at the login screen. The strange thing is, if I go into a terminal using Ctrl + Alt + F1 (Or any other F key) I can…
Sativa
  • 330
  • 1
  • 2
  • 12
1
2 3
18 19