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

MacPorts noreply at macports.org
Sat Jan 9 05:42:28 PST 2010


#23195: gcc43 doesn't build, "file is not of required architecture"
------------------------------------+---------------------------------------
 Reporter:  probono@…               |       Owner:  macports-tickets@…                   
     Type:  defect                  |      Status:  new                                  
 Priority:  Normal                  |   Milestone:                                       
Component:  ports                   |     Version:  1.8.2                                
 Keywords:                          |        Port:  gcc43                                
------------------------------------+---------------------------------------
 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>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list