Opened 14 years ago

Last modified 7 years ago

#23195 assigned defect

gcc43 doesn't build, "file is not of required architecture" — at Initial Version

Reported by: probono@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: puredarwin Cc: mww@…, aladin@…
Port: gcc43

Description

I am trying to build gcc43 on a i386 PureDarwin 9 system. The build starts but then runs into an error which seemingly comes from the wrong architecture being used:

{{{... /bin/sh ../../../../gcc-4.3.4/libgcc/../mkinstalldirs x86_64 mkdir x86_64 ... 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:

_gthread_key_create in unwind-dw2_s.o

... }}}

I am attaching a full log. What can I do to enforce i386 from start to end?

Change History (1)

Changed 14 years ago by probono@…

Attachment: gcc43-log.txt added

gcc43 build log on PureDarwin 9 i386

Note: See TracTickets for help on using tickets.