• 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
link error, malformed object, illegal reference for -dynamic code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

link error, malformed object, illegal reference for -dynamic code


  • Subject: link error, malformed object, illegal reference for -dynamic code
  • From: Eric Eizenman <email@hidden>
  • Date: Mon, 11 Dec 2006 16:39:34 -0800

Using G5, Tiger and Xcode 2.4.1

I'm getting this link errors rooted in a file that is compiled in another static library as a dependency to this dylib. This happens only in release build and the errors show up for both ppc and i386. The only difference I can see between that file and the others is the use of '#pragma GCC visibility push(hidden)'.
If I delete the pragma then the linker is happy. Any ideas ?



Ld "/src/depot/main/src/soap/macos/../../../builds/macos/soap.build/ Release/Soap AU View.build/Objects-normal/ppc/SoundSoap AU View.dylib" normal ppc
cd /src/depot/main/src/soap/macos
/usr/bin/g++-4.0 -o /src/depot/main/src/soap/macos/../../../ builds/macos/soap.build/Release/Soap\ AU\ View.build/Objects-normal/ ppc/SoundSoap\ AU\ View.dylib -L/src/depot/main/src/soap/ macos/../../../builds/macos/Release -F/src/depot/main/src/soap/ macos/../../../builds/macos/Release -filelist /src/depot/main/src/ soap/macos/../../../builds/macos/soap.build/Release/Soap\ AU\ View.build/Objects-normal/ppc/SoundSoap\ AU\ View.LinkFileList - framework Carbon -framework AudioUnit -framework CoreAudio -framework CoreMIDI -framework AudioToolbox -framework vecLib /src/depot/main/ builds/macos/Release/libzlib_nopa.a /src/depot/main/builds/macos/ Release/libzdsp.a -framework IOKit -framework SystemConfiguration / src/depot/sdk/aes128/aes/macos/build/Release/libaeslib.a -arch ppc - prebind -Wl,-single_module -compatibility_version 1 -current_version 1 -install_name /usr/local/lib/SoundSoap\ AU\ View.dylib -Wl,-Y,1455 - dynamiclib -mmacosx-version-min=10.3 -Wl,-dead_strip -isysroot / Developer/SDKs/MacOSX10.4u.sdk


ld: /src/depot/main/builds/macos/Release/libzlib_nopa.a(ZLMFCR.o) malformed object, illegal reference for -dynamic code (reference to a coalesced section (__DATA,__const_coal) from section (__TEXT,__text) relocation entry (669))

more...

/usr/bin/libtool: internal link edit command failed

------------------------------------------------------------------
Eric Eizenman
BIAS Inc., Audio Software Development
------------------------------------------------------------------


_______________________________________________ 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
  • Prev by Date: custom keywords coloring
  • Next by Date: Re: custom keywords coloring
  • Previous by thread: Re: custom keywords coloring
  • Next by thread: ___spin_lock
  • Index(es):
    • Date
    • Thread