Summary: | sys-devel/crossdev-20190311 cross-avr/gcc-{9.1.0,8.3.0-r1}: configure: error: cannot compute suffix of object files: cannot compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Nick Wallingford <nick> |
Component: | Current packages | Assignee: | Gentoo Crossdev team <crossdev> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | embedded, jstein |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 627914 | ||
Attachments: |
cross-avr-info.log
cross-avr-gcc-stage1.log.xz gcc-config.logs.tar.xz |
Description
Nick Wallingford
2019-05-25 00:03:48 UTC
Created attachment 577738 [details]
cross-avr-info.log
Created attachment 577740 [details]
cross-avr-gcc-stage1.log.xz
Created attachment 577742 [details]
gcc-config.logs.tar.xz
> /var/tmp/portage/cross-avr/gcc-9.1.0/work/build/./gcc/as: line 106: exec: -m: invalid option
> exec: usage: exec [-cl] [-a name] [command [arguments ...]] [redirection ...]
Make sure you have cross-binutils selected and active. Simple test:
$ LANG=C avr-as --version
GNU assembler (Gentoo 2.32 p2) 2.32.0
$ binutils-config -l | fgrep avr
[8] avr-2.32 *
`binutils-config avr-2.32` fixed that issue, and then avr-libc ran into a similar issue that was fixed with `gcc-config avr-9.1.0`, so immediate problem solved I guess. Should crossdev be running these commands automatically before it moves on to the next step? It seems odd that it isn't. Normally emerging new gcc target switches compiler on. Probably we have some corner case like uninstall old version/install new version that leaves stale symlinks. Do you happen to remember what was the sequence if actions for you? The following: $ qlop -lu | fgrep cross-avr command might shed some light. Let's close it as obsolete as there is no follow-up. |