[MacPorts] #33017: i386-elf-gcc @4.3.2 Build failure - cannot compute suffix of object files (10.7.2 Lion)

MacPorts noreply at macports.org
Wed Jan 25 10:46:39 PST 2012


#33017: i386-elf-gcc @4.3.2 Build failure  -  cannot compute suffix of object files
(10.7.2 Lion)
------------------------------+---------------------------------------------
 Reporter:  pugiox@…          |       Owner:  macports-tickets@…                   
     Type:  defect            |      Status:  new                                  
 Priority:  Normal            |   Milestone:                                       
Component:  ports             |     Version:  2.0.3                                
 Keywords:                    |        Port:                                       
------------------------------+---------------------------------------------
 Lion 10.7.2, Xcode 4.2, new install of Mac Ports:

 sudo port install i386-elf-gcc

 Installs all dependencies fine, then fails with:

 {{{
 Error: Target org.macports.build returned: shell command failed (see log
 for details)
 Log for i386-elf-gcc is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_i386
 -elf-gcc/i386-elf-gcc/main.log
 Error: Status 1 encountered during processing.
 }}}

 The actual error, in the log, is:


 {{{
 :info:build checking for i386-elf-gcc...
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_i386
 -elf-gcc/i386-elf-gcc/work/build/./gcc/xgcc
 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_i386
 -elf-gcc/i386-elf-gcc/work/build/./gcc/ -nostdinc
 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_i386
 -elf-gcc/i386-elf-gcc/work/build/i386-elf/newlib/ -isystem
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_i386
 -elf-gcc/i386-elf-gcc/work/build/i386-elf/newlib/targ-include -isystem
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_i386
 -elf-gcc/i386-elf-gcc/work/gcc-4.3.2/newlib/libc/include
 -B/opt/local/i386-elf/bin/ -B/opt/local/i386-elf/lib/ -isystem
 /opt/local/i386-elf/include -isystem /opt/local/i386-elf/sys-include
 :info:build checking for suffix of object files... configure: error:
 cannot compute suffix of object files: cannot compile
 :info:build See `config.log' for more details.
 :info:build make[1]: *** [configure-target-libgcc] Error 1
 }}}

 Based on some searches it seems that this may be a problem with the
 install not noticing the 'gmp' and 'mpfr' packages. The recommended fix of
 explicitly adding the path to those packages in LD_LIBRARY_PATH (I tried
 LD_LIBRARY_PATH=/opt/local/lib:/opt/local/include) doesn't seem to have
 any effect.


 Attached is the full log.

-- 
Ticket URL: <https://trac.macports.org/ticket/33017>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list