| Summary: | /usr/bin/aarch64-linux-gnu-ld: cannot find crt1.o: No such file or directory | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Konrad Rzeszutek Wilk <ketuzsezr> |
| Component: | cross-gcc | Assignee: | David Howells <dhowells> |
| Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 25 | CC: | cz172638, dan, davejohansen, dhowells, jakub, jcm, jwakely, law, mpolacek |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-12-12 10:26:30 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
The configure invocation is: ~/ARM/boot-wrapper-aarch64.git> ./configure --host=aarch64-linux-gnu --with-kernel-dir=$HOME/ARM/linux-build --with-dtb=$HOME/ARM/linux-build/arch/arm64/boot/dts/arm/foundation-v8.dtb checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for aarch64-linux-gnu-strip... aarch64-linux-gnu-strip checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for /home/konrad/ARM/linux-build... yes checking for /home/konrad/ARM/linux-build/arch/arm64/boot/dts/arm/foundation-v8.dtb... yes checking for /home/konrad/ARM/linux-build/arch/arm64/boot/Image... yes checking for aarch64-linux-gnu-gcc... aarch64-linux-gnu-gcc checking whether the C compiler works... no configure: error: in `/home/konrad/ARM/boot-wrapper-aarch64.git': configure: error: C compiler cannot create executables See `config.log' for more details I also tried with the arm-linux-gnu: ./configure --host=arm-linux-gnu --with-kernel-dir=$HOME/ARM/linux-build --with-dtb=$HOME/ARM/linux-build/arch/arm64/boot/dts/arm/foundation-v8.dtb checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for arm-linux-gnu-strip... arm-linux-gnu-strip checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for /home/konrad/ARM/linux-build... yes checking for /home/konrad/ARM/linux-build/arch/arm64/boot/dts/arm/foundation-v8.dtb... yes checking for /home/konrad/ARM/linux-build/arch/arm64/boot/Image... yes checking for arm-linux-gnu-gcc... arm-linux-gnu-gcc checking whether the C compiler works... no configure: error: in `/home/konrad/ARM/boot-wrapper-aarch64.git': configure: error: C compiler cannot create executables See `config.log' for more details With these RPMs: $rpm -qa | grep arm gcc-arm-linux-gnu-6.1.1-2.fc25.x86_64 glibc-arm-linux-gnu-2.24-2.fc25.noarch binutils-arm-linux-gnu-2.27-3.fc25.x86_64 This message is a reminder that Fedora 25 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 25. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '25'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 25 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |
Description of problem: Trying to cross-compile boot-wrapper-aarch64.git and I am getting an issue with configure complaining that the compiler can't compile. Looking at config.log I see it failing with: /* confdefs.h */ #define PACKAGE_NAME "boot-wrapper" #define PACKAGE_TARNAME "boot-wrapper" #define PACKAGE_VERSION "v0.2" #define PACKAGE_STRING "boot-wrapper v0.2" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define PACKAGE "boot-wrapper" #define VERSION "v0.2" /* end confdefs.h. */ int main () { ; return 0; } And if I try to compile: > aarch64-linux-gnu-gcc a.c -o a /usr/bin/aarch64-linux-gnu-ld: cannot find crt1.o: No such file or directory /usr/bin/aarch64-linux-gnu-ld: cannot find crti.o: No such file or directory /usr/bin/aarch64-linux-gnu-ld: cannot find -lc /usr/bin/aarch64-linux-gnu-ld: cannot find crtn.o: No such file or directory collect2: error: ld returned 1 exit status Version-Release number of selected component (if applicable): > rpm -qa | grep aarch gcc-c++-aarch64-linux-gnu-6.1.1-2.fc25.x86_64 gcc-aarch64-linux-gnu-6.1.1-2.fc25.x86_64 binutils-aarch64-linux-gnu-2.27-3.fc25.x86_64 edk2-aarch64-20161105git3b25ca8-1.fc25.noarch qemu-system-aarch64-2.7.0-7.fc25.x86_64 How reproducible: 100% Steps to Reproduce: 1. git clone git://git.kernel.org/pub/scm/linux/kernel/git/mark/boot-wrapper-aarch64.git 2. autoreconf -i 3. ./configure Actual results: /usr/bin/aarch64-linux-gnu-ld: cannot find crt1.o: No such file or directory /usr/bin/aarch64-linux-gnu-ld: cannot find crti.o: No such file or directory /usr/bin/aarch64-linux-gnu-ld: cannot find -lc /usr/bin/aarch64-linux-gnu-ld: cannot find crtn.o: No such file or directory collect2: error: ld returned 1 exit status Expected results: No errors. Additional info: