Red Hat Bugzilla – Bug 1461296
Compilation doesn't work when using arm-none-eabi-gcc-cs on F26 Beta
Last modified: 2017-07-20 11:52:17 EDT
+++ This bug was initially created as a clone of Bug #1178520 +++
Description of problem:
Compilation doesn't work.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. cat > test.c
int main(int argc, char *argv)
2.arm-none-eabi-gcc -o test ./test.c
/usr/lib/gcc/arm-none-eabi/6.2.0/../../../../arm-none-eabi/bin/ld: cannot find crti.o: No such file or directory
/usr/lib/gcc/arm-none-eabi/6.2.0/../../../../arm-none-eabi/bin/ld: cannot find crtbegin.o: No such file or directory
/usr/lib/gcc/arm-none-eabi/6.2.0/../../../../arm-none-eabi/bin/ld: cannot find -lgcc
No error, compiled binary.
I have manually updated the arm-none-eabi-gcc-cs package from f26's 6.2.0-1 to f25's 6.2.0-2.
dnf install http://mirrors.kernel.org/fedora/updates/25/x86_64/a/arm-none-eabi-gcc-cs-6.2.0-2.fc25.x86_64.rpm
For whatever reason after doing this version worked.
From the koji build list, it looks like version 6.2.0-3 has failed for f26.
Every package release with release number "-1" is bootstrap package. It's not expected to work. This should not be present in updates repository. Seems f26 version of "-2" release is missing. I'll fix that.
tested with arm-none-eabi-gcc-cs 7.1.0-2 (in the updates-testing, already) and it works
$ arm-none-eabi-gcc test.c -lc -lnosys
arm-none-eabi-gcc-cs-7.1.0-2.fc26 arm-none-eabi-newlib-2.5.0-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-7c933b4cd5
arm-none-eabi-gcc-cs-7.1.0-2.fc26, arm-none-eabi-newlib-2.5.0-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.