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
5
votes
1 answer

GDB not interrupting program immediately

When debugging a large C application, I see strange behavior from gdb: I can always interrupt the program pressing Ctrl+C: ^C Program received signal SIGINT, Interrupt. 0x76f58964 in select () at ../sysdeps/unix/syscall-template.S:81 81 in…
MrD
  • 475
  • 6
  • 24
5
votes
3 answers

How to set ss and sp registers correctly in i386

I am currently writing a bootloader and have begun to run out of space in my 512B, so I have begun writing more code outside the 512B and intend to use the bootloader to read it into memory. I have added to the end of my code: stack_start: resb…
WORD_559
  • 331
  • 1
  • 14
5
votes
2 answers

Xcode 6 Error - "Missing Required Architecture i386" When Building for iOS Simulator

I have created a custom Objective-C framework. I would like to import it into any given iOS project and use its provided functionality on both the iOS Simulator and an actual device. To import the framework, I link it using the Build Phases > Link…
Alexander
  • 3,959
  • 2
  • 31
  • 58
5
votes
3 answers

Undefined symbols for architecture i386 when trying to compile AFNetworking 2.0

I added AFNetworking 2.0 to my project. I did it without the use CocoaPods - I just added the files to the project, making sure to copy the files to target. When I try to compile the project I get the following error: Undefined symbols for…
YogevSitton
  • 10,068
  • 11
  • 62
  • 95
5
votes
1 answer

Recommendation for a simple x86 emulator and operating system

As a personal learning project, I want to port an existing x86 emulator library to JavaScript and then run a very simple operating system on top of it. My only requirement for the library is that it should be written in C\C++, as I want to use…
Colin Dumitru
  • 3,327
  • 6
  • 30
  • 47
5
votes
2 answers

How do programs support i386 and ppc at the same time?

I would like to know how you can support i386 and ppc architectures for programs at /bin. I run for instance bin $ file amber I get amber: setgid Mach-O universal binary with 2 architectures amber (for architecture i386): Mach-O executable…
Léo Léopold Hertz 준영
  • 134,464
  • 179
  • 445
  • 697
5
votes
1 answer

no product after "build success" of a cocoa touch static library project

I have searched so many problem but there is no the same as me. on Xcode 4.3.2(4.3.1) I added several files to a new cocoa touch static library project and use iPhone Simulator to build it, then receive build success, but no .a file in products…
Wei Lin
  • 749
  • 2
  • 6
  • 9
4
votes
2 answers

Location Manager with iMac

I am using CLLocationManager. I got this compile error: Ld /Users/Teguh/Library/Developer/Xcode/DerivedData/BadgerNew-bjopcgcgsjkcvcevflfbvsjwfgnu/Build/Products/Debug-iphonesimulator/BadgerNew.app/BadgerNew normal i386 cd…
user4951
  • 32,206
  • 53
  • 172
  • 282
4
votes
3 answers

ld: warning: ignoring file [path], missing required architecture i386 in file

I get this error message when I try to run the iPhone Simulator. I use Xcode 4 ld: warning: ignoring file /Users/Marius/Documents/AppSchool/Telefonbok/AddressBook.framework/AddressBook, missing required architecture i386 in file ld: warning:…
Marius G.
  • 41
  • 1
  • 2
4
votes
0 answers

Booting xv6 on macbook OSX High Sierra (10.13.3)

I am following the instructions in the most popular answer to the post here and when I attempt to run make TOOLCHAIN=i386-elf- qemu it refuses to run giving me the following error... *** *** Error: Couldn't find an i386-*-elf version of…
Cody Berry
  • 263
  • 3
  • 14
4
votes
0 answers

How can I fix relocation error of libc.so.6?

When I run a script, I get this error: relocation error: /lib/i386-linux-gnu/libc.so.6: symbol _dl_find_dso_for_object, version GLIBC_PRIVATE not defined in file ld-linux.so.2 with link time reference I use ubuntu 14.04.
stahyz
  • 101
  • 2
  • 5
4
votes
1 answer

OS X - undefined symbols for architecture i386 when using inline assembly in C

I'm trying to compile code containing the following function: void print_stacktrace() { void *addr; asm("mov %0, esp;" : "=r" (addr)); } As you can see there is some inline i386 assembly involved. The problem is, when trying to run: clang…
qiubit
  • 4,708
  • 6
  • 23
  • 37
4
votes
1 answer

App crashes on i386, works on x86_64

I tried switching architectures in my Xcode project today, because I was about to use low level QuickTime stuff that's not yet ported to 64 bit yet. When i compiled before on x86_64 my app ran just fine. Then i switched the arch to i386 and boom, my…
user187676
4
votes
1 answer

Assembly - changing case

I'm writing in AT&T syntax. This loop should check, if case is in range 61-7A ASCII (it means is this small letter) - if no, then convert it into space ' '. change: movb (%esi), %bh #move case temporary to bh register cmp $0x61,%bh …
DzikiChrzan
  • 2,747
  • 2
  • 15
  • 22
4
votes
1 answer

Issue with "Undefined symbols for architecture i386"

We're having an android/ios app which was building ok up to this moment in Xcode. On monday we upgraded Xcode to Version 6.1.1. Since then I can't build and run our app in Xcode simulators. ld: warning: ignoring file…
robjez
  • 3,740
  • 3
  • 32
  • 36
1 2
3
18 19