Summary: | cross-avr/gcc-4.8.3 - /usr/libexec/gcc/avr/ld: cannot open linker script file ldscripts/avr25.xn: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Attila Oláh <attilaolah> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
/var/tmp/portage/cross-avr/gcc-4.8.3/work/build/avr/libsanitizer/config.log
/var/log/portage/cross-avr-info.log /var/log/portage/cross-avr-gcc-stage2.log.xz /var/tmp/portage/cross-avr/gcc-4.8.3/temp/gcc-config.logs.tar.xz |
Description
Attila Oláh
2014-11-26 16:36:57 UTC
Created attachment 390360 [details]
/var/log/portage/cross-avr-info.log
Created attachment 390362 [details]
/var/log/portage/cross-avr-gcc-stage2.log.xz
Created attachment 390364 [details]
/var/tmp/portage/cross-avr/gcc-4.8.3/temp/gcc-config.logs.tar.xz
*** This bug has been marked as a duplicate of bug 525910 *** (In reply to Jeroen Roovers from comment #4) > > *** This bug has been marked as a duplicate of bug 525910 *** Thanks, I had no idea USE=sanitize was causing this. *** This bug has been marked as a duplicate of bug 525910 *** I managed to build my toolchain using this command: $ sudo USE="-sanitize" crossdev -t avr -s4 -S --without-headers However, now I'm hitting the issue that is the description of this bug report: /usr/libexec/gcc/avr/ld: cannot open linker script file ldscripts/avr5.xn: No such file or directory collect2: error: ld returned 1 exit status The duplicate bug, https://bugs.gentoo.org/show_bug.cgi?id=525910, is in turn a duplicate of https://bugs.gentoo.org/show_bug.cgi?id=370063, which is still UNCONFIRMED. So the question remains: 1. Why do I have to use `USE="-sanitize"` when building for avr? 2. Just where the hell is ldscripts/avr5.xn? It seems that the "sanitize" steps were failing for the exact same reason. It seems though that I have the file. $ sudo find / -name avr5.xn /usr/lib64/binutils/avr/2.24/ldscripts/avr5.xn Apparently this solves the issue: $ sudo ln -s /usr/lib64/binutils/avr/2.24/ldscripts/ /usr/x86_64-pc-linux-gnu/avr/binutils-bin/2.24/ See http://forums.gentoo.org/viewtopic-p-7567730.html#7567730. *** This bug has been marked as a duplicate of bug 147155 *** |