• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
bus error when linking 64-bit app in Xcode 3.1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bus error when linking 64-bit app in Xcode 3.1


  • Subject: bus error when linking 64-bit app in Xcode 3.1
  • From: Chinh Nguyen <email@hidden>
  • Date: Fri, 17 Oct 2008 10:08:33 -0500

The answer to my questions will probably be file a bug but I thought I'd ask anyway.

Our app is a cross platform statistical software package that supports Mac, Windows, and Unix. All platforms share common code for everything but obviously the GUI. We already have 64-bit Windows and Unix versions of our app (and I've already built a 64-bit Mac console version of our app).

I've been working on porting our Carbon app to Cocoa for some time now and I've finally got enough of the Carbon code rewritten/removed where I can try building a 64-bit version of our app. The x86 Cocoa version compiles and links just fine with no warnings about deprecated functions. When I switch over to the x86_64 build, it all compiles fine (again, no warnings about deprecated functions) but I get a bus error from gcc when it tries to link (collect2: ld terminated with signal 10 [Bus error] -- not a very helpful message). I've tried both gcc 4.2 and 4.0 with Xcode 3.1 and get the same result. The odd thing is I tried a ppc64 build and it compiled and linked just fine! I switched back to Xcode 3.0 and the x86_64 build compiled and linked just fine with gcc 4.0. I'm using the 10.5 sdk and 10.5 for deployment and just the Cocoa framework.

I created a sample project with Xcode 3.1 and built a 64-bit version with no issues so I don't think it's a problem with my setup.

-Chinh Nguyen
 email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: bus error when linking 64-bit app in Xcode 3.1
      • From: Nick Zitzmann <email@hidden>
    • Re: bus error when linking 64-bit app in Xcode 3.1
      • From: Jean-Daniel Dupas <email@hidden>
  • Prev by Date: Re: FileMerge can't merge xibs?
  • Next by Date: problem with gcc 4.2 produced OpenMP code
  • Previous by thread: gdb crash
  • Next by thread: Re: bus error when linking 64-bit app in Xcode 3.1
  • Index(es):
    • Date
    • Thread