[MacPorts] #23516: arm-elf-gcc 4.3.2 configure: error: cannot compute suffix of object files: cannot compile

MacPorts noreply at macports.org
Tue Feb 23 16:03:30 PST 2010


#23516: arm-elf-gcc 4.3.2 configure: error: cannot compute suffix of object files:
cannot compile
--------------------------------------------------+-------------------------
 Reporter:  StephenRhein@…                        |       Owner:  macports-tickets@…                   
     Type:  defect                                |      Status:  new                                  
 Priority:  Normal                                |   Milestone:                                       
Component:  ports                                 |     Version:  1.8.2                                
 Keywords:  arm, elf, gcc, suffix, object, files  |        Port:  arm-elf-gcc                          
--------------------------------------------------+-------------------------

Comment(by lpe@…):

 Replying to [comment:4 lpe@…]:
 > Replying to [comment:2 wrc@…]:
 > > Replying to [comment:1 StephenRhein@…]:
 > > > This problem can be addressed by updating the Portfile as described
 in [http://trac.macports.org/changeset/59653 r59653] (which closes
 [http://trac.macports.org/ticket/21194 #21194]).
 > >
 > > Confirmed fixing the portfile as specified above allows arm-elf-gcc to
 compile on my system (OSX 10.5.8)
 >
 > Hello,
 >
 > I have the same problem and patch
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/cross/i386-mingw32-gcc/portfile
 don't solve the problem
 >
 > after pacth i have try to clean and install yet, close and launch new
 terminal... Below the backtrace of my install
 >
 > Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_arm-elf-gcc/work/build" && /usr/bin/make -j1 all
 AR_FOR_TARGET=arm-elf-ar AS_FOR_TARGET=arm-elf-as LD_FOR_TARGET=arm-elf-ld
 NM_FOR_TARGET=arm-elf-nm RANLIB_FOR_TARGET=arm-elf-ranlib " returned error
 2
 > DEBUG: Backtrace: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_arm-elf-gcc/work/build" && /usr/bin/make -j1 all
 AR_FOR_TARGET=arm-elf-ar AS_FOR_TARGET=arm-elf-as LD_FOR_TARGET=arm-elf-ld
 NM_FOR_TARGET=arm-elf-nm RANLIB_FOR_TARGET=arm-elf-ranlib " returned error
 2
 >     while executing
 > "command_exec build"
 >     (procedure "portbuild::build_main" line 9)
 >     invoked from within
 > "$procedure $targetname"
 > Warning: the following items did not execute (for arm-elf-gcc):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 >
 > Thanks for your help

 Finaly it works, I fixed bad portfile... this patch must be on portfile of
 your module, for me
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/cross
 /arm-elf-gcc/portfile
 Regards

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


More information about the macports-tickets mailing list