Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 905932 - crossdev:arm-none-eabi fails with broken linker args
Summary: crossdev:arm-none-eabi fails with broken linker args
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-08 09:33 UTC by tigrmango
Modified: 2023-05-16 22:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/var/log/portage/cross-arm-none-eabi-info.log (cross-arm-none-eabi-info.log,22.81 KB, text/x-log)
2023-05-08 09:35 UTC, tigrmango
Details
/var/log/portage/cross-arm-none-eabi-binutils.log.xz (cross-arm-none-eabi-binutils.log.xz,2.93 KB, application/x-xz)
2023-05-08 09:35 UTC, tigrmango
Details
/var/tmp/portage/cross-arm-none-eabi/binutils-2.40-r4/temp/binutils-config.logs.tar.xz (binutils-config.logs.tar.xz,5.05 KB, application/x-xz)
2023-05-08 09:36 UTC, tigrmango
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tigrmango 2023-05-08 09:33:46 UTC
Something adds -Wl,--undefined-version to compiler arguments causing build to fail with cryptic messages

Reproducible: Always

Steps to Reproduce:
1.sudo crossdev --target arm-none-eabi -s4
2.wait
3.???
Actual Results:  
* error: binutils failed :(

Expected Results:  
compiled and installed the toolchain
Comment 1 tigrmango 2023-05-08 09:35:13 UTC
Created attachment 861302 [details]
/var/log/portage/cross-arm-none-eabi-info.log
Comment 2 tigrmango 2023-05-08 09:35:29 UTC
Created attachment 861303 [details]
/var/log/portage/cross-arm-none-eabi-binutils.log.xz
Comment 3 tigrmango 2023-05-08 09:36:46 UTC
Created attachment 861304 [details]
/var/tmp/portage/cross-arm-none-eabi/binutils-2.40-r4/temp/binutils-config.logs.tar.xz
Comment 4 James Le Cuirot gentoo-dev 2023-05-16 22:02:55 UTC
The ebuild seems to think your using lld (and your environment agrees) but it's actually using ld.bfd in practise. I'm not sure why that is.