Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#27983 - [arm-elf-gcc-base] 4.6.2-1-x86_64 libgcc.a missing symbols
Attached to Project:
Community Packages
Opened by Angus McInnes (jib) - Wednesday, 18 January 2012, 09:53 GMT
Last edited by Sergej Pupykin (sergej) - Sunday, 18 March 2012, 17:02 GMT
Opened by Angus McInnes (jib) - Wednesday, 18 January 2012, 09:53 GMT
Last edited by Sergej Pupykin (sergej) - Sunday, 18 March 2012, 17:02 GMT
|
DetailsDescription:
My libgcc.a seems to be missing all symbols, making it unusable. My guess is that the symbols are all stripped at the end of the PKGBUILD and shouldn't be. Steps to reproduce: Compile test.c (attached) like this: arm-elf-gcc test.c -lgcc -o test -nostdlib -ffreestanding -Os Result: /tmp/ccAXicRR.o: In function `foo': test.c:(.text+0x8): undefined reference to `__divsi3' |
This task depends upon
Closed by Sergej Pupykin (sergej)
Sunday, 18 March 2012, 17:02 GMT
Reason for closing: Fixed
Additional comments about closing: thanks
Sunday, 18 March 2012, 17:02 GMT
Reason for closing: Fixed
Additional comments about closing: thanks
test.c
find $pkgdir/usr/lib -type f -exec arm-elf-strip --strip-debug --strip-unneeded {} \; 2>/dev/null || true
fixes this issue.