[MacPorts] #34297: ld64: /usr/bin/ld: unknown flag: -exported_symbol

MacPorts noreply at macports.org
Tue May 1 19:09:09 PDT 2012


#34297: ld64: /usr/bin/ld: unknown flag: -exported_symbol
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  jeremyhu@…           
     Type:  defect                   |      Status:  new                  
 Priority:  Normal                   |   Milestone:                       
Component:  ports                    |     Version:  2.0.4                
 Keywords:  tiger powerpc            |        Port:  ld64                 
-------------------------------------+--------------------------------------
 I can't build ld64 97.17 on Tiger ppc. It says:

 {{{
 make: Entering directory
 `/mp/var/macports/build/_Volumes_data_macports_ports_devel_ld64/ld64/work/ld64-97.17'
 /mp/bin/g++-apple-4.2 -Os -O2 -arch ppc  -Isrc/abstraction -Isrc/ld
 -I/mp/include  -c -o src/other/ObjectDump.o src/other/ObjectDump.cpp
 /mp/bin/gcc-apple-4.2 -Os -O2 -arch ppc  -Isrc/abstraction -Isrc/ld
 -I/mp/include  -c -o src/ld/debugline.o src/ld/debugline.c
 /mp/bin/g++-apple-4.2  -L/mp/lib -arch ppc src/other/ObjectDump.o
 src/ld/debugline.o -o ObjectDump
 /usr/bin/ld: warning multiple definitions of symbol _atexit
 /mp/lib/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.1/crt3.o private
 external definition of _atexit in section (__TEXT,__text)
 /usr/lib/libSystem.dylib(atexit.So) definition of _atexit
 /usr/bin/ld: warning multiple definitions of symbol ___cxa_atexit
 /mp/lib/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.1/crt3.o private
 external definition of ___cxa_atexit in section (__TEXT,__text)
 /usr/lib/libSystem.dylib(atexit.So) definition of ___cxa_atexit
 /mp/bin/g++-apple-4.2 -Os -O2 -arch ppc  -Isrc/abstraction -Isrc/ld
 -I/mp/include  -c -o src/other/dyldinfo.o src/other/dyldinfo.cpp
 /mp/bin/g++-apple-4.2 -L/mp/lib -arch ppc
 -Wl,-exported_symbol,__mh_execute_header src/other/dyldinfo.o -o dyldinfo
 /usr/bin/ld: unknown flag: -exported_symbol
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/34297>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list