gcc 4x not building under i386 thereby preventing python26, wxWidgets 32-bit
Jim Busser
jbusser at interchange.ubc.ca
Mon Jun 21 11:50:37 PDT 2010
Still aiming to enable software (that depends on wxWidgets) to run under Carbon, I set my MacBook's (MacPorts 1.9.1) build_arch to i386 however that errors on trying to build gcc (appended) ... not unlike a variety of existing tickets going back several months:
http://trac.macports.org/ticket/20993
http://trac.macports.org/ticket/21059
http://trac.macports.org/ticket/22203
http://trac.macports.org/ticket/23109
http://trac.macports.org/ticket/23200
http://trac.macports.org/ticket/24194
Do people familiar with these problems regard their root (and solutions) to reside in and among the MacPorts community, or with the gcc community or Apple and whether the ability to build i386 is coming any time soon (or of a fix I missed in the tickets)?
---> Building python26
DEBUG: build phase started at Mon Jun 21 00:57:51 PDT 2010
DEBUG: Executing org.macports.build (python26)
DEBUG: Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/Python-2.6.5" && /usr/bin/make -j2 all MAKE="/usr/bin/make CC=/usr/bin/gcc-4.2"'
/usr/bin/gcc-4.2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -L/opt/local/lib -arch i386 Parser/acceler.o Parser/grammar1.o Parser/listnode.o Parser/node.o Parser/parser.o Parser/parsetok.o Parser/bitset.o Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o Parser/pgen.o Objects/obmalloc.o Python/mysnprintf.o Parser/tokenizer_pgen.o Parser/printgrammar.o Parser/pgenmain.o -ldl -framework CoreFoundation -o Parser/pgen
ld: warning: in Parser/acceler.o, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in Parser/grammar1.o, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in Parser/listnode.o, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in Parser/node.o, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in Parser/parser.o, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in Parser/parsetok.o, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in Parser/bitset.o, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in Parser/metagrammar.o, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in Parser/firstsets.o, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in Parser/grammar.o, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in Parser/pgen.o, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in Objects/obmalloc.o, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in Python/mysnprintf.o, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in Parser/tokenizer_pgen.o, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in Parser/printgrammar.o, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in Parser/pgenmain.o, file was built for unsupported file format which is not the architecture being linked (i386)
Undefined symbols:
"_main", referenced from:
start in crt1.10.6.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [Parser/pgen] Error 1
shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/Python-2.6.5" && /usr/bin/make -j2 all MAKE="/usr/bin/make CC=/usr/bin/gcc-4.2" " returned error 2
Error: Target org.macports.build returned: shell command failed
DEBUG: Backtrace: shell command failed
while executing
"command_exec build"
(procedure "portbuild::build_main" line 8)
invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for python26): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Log for python26 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
MacBook:~ djb$
More information about the macports-users
mailing list