[MacPorts] #23195: gcc43 doesn't build on puredarwin, "file is not of required architecture"

MacPorts noreply at macports.org
Sat Jan 23 13:29:14 PST 2010


#23195: gcc43 doesn't build on puredarwin, "file is not of required architecture"
------------------------------------+---------------------------------------
 Reporter:  probono@…               |       Owner:  mww@…           
     Type:  defect                  |      Status:  new             
 Priority:  Normal                  |   Milestone:                  
Component:  ports                   |     Version:  1.8.2           
 Keywords:  puredarwin              |        Port:  gcc43           
------------------------------------+---------------------------------------

Comment(by probono@…):

 The same error occurs when trying to build gcc44:

 {{{
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc44/work/build/./gcc/xgcc
 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc44/work/build/./gcc/
 -B/opt/local/i386-apple-darwin9/bin/ -B/opt/local/i386-apple-darwin9/lib/
 -isystem /opt/local/i386-apple-darwin9/include -isystem /opt/local/i386
 -apple-darwin9/sys-include -g -O2 -O2  -g -O2 -DIN_GCC   -W -Wall -Wwrite-
 strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-
 definition  -isystem ./include  -fPIC -pipe -g -DHAVE_GTHR_DEFAULT
 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED   -I. -I. -I../.././gcc
 -I../../../gcc-4.4.2/libgcc -I../../../gcc-4.4.2/libgcc/.
 -I../../../gcc-4.4.2/libgcc/../gcc -I../../../gcc-4.4.2/libgcc/../include
 -DHAVE_CC_TLS -o _fixdfdi.o -MT _fixdfdi.o -MD -MP -MF _fixdfdi.dep
 -DL_fixdfdi -c ../../../gcc-4.4.2/libgcc/../gcc/libgcc2.c
 -fvisibility=hidden -DHIDE_EXPORTS \
                 -DLIBGCC2_UNITS_PER_WORD=4
 ld: warning in /usr/lib/dylib1.10.5.o, file is not of required
 architecture
 ld: warning in /usr/lib/libc.dylib, file is not of required architecture
 Undefined symbols:
   "_pthread_key_create", referenced from:
       _emutls_init in emutls_s.o
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/23195#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list