New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #23516 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

arm-elf-gcc 4.3.2 configure: error: cannot compute suffix of object files: cannot compile

Reported by: StephenRhein@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: arm, elf, gcc, suffix, object, files Cc: stephenrhein@…, wrc@…, lpe@…
Port: arm-elf-gcc

Description

I can't seem to install arm-elf-gcc due to the following error:

checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile

I haven't been able to figure this out after some extensive research.

Attachments

debug.txt Download (18.4 KB) - added by StephenRhein@… 2 years ago.
Output of sudo port -d install arm-elf-gcc
config.log Download (28.1 KB) - added by StephenRhein@… 2 years ago.
Build configuration

Change History

Changed 2 years ago by StephenRhein@…

Output of sudo port -d install arm-elf-gcc

Changed 2 years ago by StephenRhein@…

Build configuration

follow-up: ↓ 2   Changed 2 years ago by StephenRhein@…

This problem can be addressed by updating the Portfile as described in  r59653 (which closes  #21194).

in reply to: ↑ 1 ; follow-up: ↓ 4   Changed 2 years ago by wrc@…

Replying to StephenRhein@…:

This problem can be addressed by updating the Portfile as described in  r59653 (which closes  #21194).

Confirmed fixing the portfile as specified above allows arm-elf-gcc to compile on my system (OSX 10.5.8)

  Changed 2 years ago by wrc@…

  • cc wrc@… added

Cc Me!

in reply to: ↑ 2 ; follow-up: ↓ 6   Changed 2 years ago by lpe@…

Replying to wrc@…:

Replying to StephenRhein@…:

This problem can be addressed by updating the Portfile as described in  r59653 (which closes  #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

  Changed 2 years ago by lpe@…

  • cc lpe@… added

Cc Me!

in reply to: ↑ 4   Changed 2 years ago by lpe@…

Replying to lpe@…:

Replying to wrc@…:

Replying to StephenRhein@…:

This problem can be addressed by updating the Portfile as described in  r59653 (which closes  #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

  Changed 2 years ago by jmr@…

  • status changed from new to closed
  • resolution set to fixed

I could never reproduce this, but I guess it's fixed by r64208.

Note: See TracTickets for help on using tickets.