Xcode 3.2.3-specific link-time error...
Xcode 3.2.3-specific link-time error...
- Subject: Xcode 3.2.3-specific link-time error...
- From: Jay Reynolds Freeman <email@hidden>
- Date: Wed, 23 Jun 2010 18:24:46 -0700
On my first build of a big project in Xcode 3.2.3, I got
the following error at link time (using LLVM GCC 4.2 and Link-Time
Optimization): (Full text of error message at the end, this just
gives the general idea.)
ld: duplicate symbol l_objc_msgSend_fixup_length
in [...]/MainWindowController.o and [...]/JRFNSTextView.o
The problem was repeatable after cleaning the build, and also
after closing Xcode and relaunching it.
The project had been building and running fine in Xcode 3.2.2,
so rather than fuss with settings, the first thing I tried
was to deinstall Xcode 3.2.3 using the sudo command given in the
release notes, and reinstall Xcode 3.2.2. Then I restarted my Mac,
launched Xcode 3.2.2, and my project built and ran happily, with
no other changes.
I am running a MacPro 3,1 with MacOS 10.6.4.
Obviously, I have a workaround, and obviously, I will file a
bug report, but I thought I would ask first if this was a known
problem, or if anyone had seen anything like it, or for possible
hints on other things to try or to include in my bug report. I
did do a web search and found some reports of problems with this
symbol that were months old (and so preceded 3.2.3). It is a
bit of a pain to keep reinstalling different versions of Xcode,
so I am anxious to gather information before I start tilting
at windmills. (The classic image of a windmill does have a
big "X" in the form of the blades, now doesn't it? Stop me
before I draw the cartoon ...)
Thanks to all.
-- Jay Reynolds Freeman
---------------------
email@hidden
http://web.mac.com/jay_reynolds_freeman (personal web site)
PS: The full text of the error message was:
Ld "build/Release/Wraith Scheme.app/Contents/MacOS/Wraith Scheme" normal x86_64
cd /Users/JayFreeman/Developer/Scheme/WraithScheme.64/WraithCocoa
setenv MACOSX_DEPLOYMENT_TARGET 10.6
/Developer/usr/bin/llvm-g++-4.2 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -L/Users/JayFreeman/Developer/Scheme/WraithScheme.64/WraithCocoa/build/Release -F/Users/JayFreeman/Developer/Scheme/WraithScheme.64/WraithCocoa/build/Release -filelist "/Users/JayFreeman/Developer/Scheme/WraithScheme.64/WraithCocoa/build/WraithCocoa.64.build/Release/Wraith Scheme.build/Objects-normal/x86_64/Wraith Scheme.LinkFileList" -mmacosx-version-min=10.6 -segaddr __WSS 0x10000000000 -framework Cocoa -o "/Users/JayFreeman/Developer/Scheme/WraithScheme.64/WraithCocoa/build/Release/Wraith Scheme.app/Contents/MacOS/Wraith Scheme"
ld: duplicate symbol l_objc_msgSend_fixup_length in /Users/JayFreeman/Developer/Scheme/WraithScheme.64/WraithCocoa/build/WraithCocoa.64.build/Release/Wraith Scheme.build/Objects-normal/x86_64/MainWindowController.o and /Users/JayFreeman/Developer/Scheme/WraithScheme.64/WraithCocoa/build/WraithCocoa.64.build/Release/Wraith Scheme.build/Objects-normal/x86_64/JRFNSTextView.o
collect2: ld returned 1 exit status
Command /Developer/usr/bin/llvm-g++-4.2 failed with exit code 1
_______________________________________________
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