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

MacPorts noreply at macports.org
Sat Jan 23 17:33:50 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           
------------------------------------+---------------------------------------
Description changed by macsforever2000@…:

Old 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?

New 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?

--

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


More information about the macports-tickets mailing list