Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 430908 - sys-libs/glibc-2.14.1-r3 doesn't build on ARM OABI
Summary: sys-libs/glibc-2.14.1-r3 doesn't build on ARM OABI
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: ARM Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-11 10:05 UTC by Alan Hourihane
Modified: 2012-09-25 19:07 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Hourihane 2012-08-11 10:05:00 UTC
It seems upgrading my older ARM installation isn't working as it can't compile glibc...

/var/tmp/portage/sys-libs/glibc-2.14.1-r3/work/build-default-armv4l-unknown-linux-gnu-nptl/elf/librtld.os:(.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr0'
/var/tmp/portage/sys-libs/glibc-2.14.1-r3/work/build-default-armv4l-unknown-linux-gnu-nptl/elf/librtld.os:(.ARM.exidx+0x18): undefined reference to `__aeabi_unwind_cpp_pr1'
collect2: ld returned 1 exit status
distcc[31841] ERROR: compile (null) on localhost failed

I've read this is because of OABI, rather than EABI. But I've read that Gentoo supports both.

Is there anything I can do for OABI support ?
Comment 1 SpanKY gentoo-dev 2012-08-11 16:32:22 UTC
i built glibc-2.14.1-r2 just fine for arm OABI.  are you using distcc nodes that have EABI toolchains ?

btw, OABI isn't supported with >=glibc-2.16.  upstream has removed support for it, and i see no reason to continue supporting it.  armv4 (no thumb) should work with EABI, and that's the min CPU we really care about.
Comment 2 Alan Hourihane 2012-08-19 11:48:34 UTC
No, not using distcc at all.
Comment 3 Alan Hourihane 2012-08-19 11:49:25 UTC
Maybe OABI isn't supported in 2.14 ?
Comment 4 Alan Hourihane 2012-08-19 11:50:45 UTC
Also, I thought eabi toolchains had armv4l-unknown-linux-gnueabi- prefix, so the compiler would be called differently anyway.

Is there any guide to convert from OABI to EABI, or is a complete re-install ?
Comment 5 SpanKY gentoo-dev 2012-08-20 02:31:19 UTC
(In reply to comment #4)

yes, eabi toolchains end in "gnueabi" while oabi end in "gnu".  you provided very little information, so i can't say what's going wrong.  but we know OABI is EOL in upstream toolchain packages, so it's probably best to migrate rather than debug a package that is no longer latest stable.

unfortunately, OABI->EABI is best done as a complete re-install.  it (like pretty much everything) could be accomplished in a live migration, but there is no documentation that i know of to assist in that.