This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
RE: [RFC 1/2] Add IFUNC support for MIPS (v5)
- From: Roland McGrath <roland at hack dot frob dot com>
- To: Matthew Fortune <Matthew dot Fortune at imgtec dot com>
- Cc: Joseph Myers <joseph at codesourcery dot com>, Faraz Shahbazker <Faraz dot Shahbazker at imgtec dot com>, "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>, "rdsandiford at googlemail dot com" <rdsandiford at googlemail dot com>
- Date: Thu, 3 Sep 2015 15:39:24 -0700 (PDT)
- Subject: RE: [RFC 1/2] Add IFUNC support for MIPS (v5)
- Authentication-results: sourceware.org; auth=none
- References: <DCB1C42372B1674B8F912A294CCB775A71684631 at BADAG02 dot ba dot imgtec dot org> <87k2tdn5xt dot fsf at googlemail dot com> <55BFC10F dot 2050503 at imgtec dot com> <87k2tapwq0 dot fsf at googlemail dot com> <55CE5217 dot 5020902 at imgtec dot com> <87io8f2gc9 dot fsf at googlemail dot com> <55D23368 dot 1070705 at imgtec dot com> <87io8dhegb dot fsf at googlemail dot com> <55D269D2 dot 2030208 at imgtec dot com> <87si7h6oyv dot fsf at googlemail dot com> <55D7A3C5 dot 8050600 at imgtec dot com> <87vbc7u1df dot fsf at googlemail dot com> <55E8C3BC dot 8040606 at imgtec dot com> <alpine dot DEB dot 2 dot 10 dot 1509032207030 dot 24787 at digraph dot polyomino dot org dot uk> <6D39441BF12EF246A7ABCE6654B02353212619D5 at LEMAIL01 dot le dot imgtec dot org>
> I have found native testing on debian to have this kind of failure rate
> when libgcc_s.so and/or libstdc++.so.? can't be found. I have simply copied
> them into the build tree in the past as I never figured out why things didn't
> just work.
Recent Debian-based systems use a new scheme for the library search paths
that has never been contributed upstream, so your libc build is not
configured compatibly with the filesystem layout of the system you are
using. A symlink to /lib/TUPLE/libgcc_s.so.1 in the build directory is the
easy way to work around this.
The long-term solution is that some folks from the Debian-based world
should work with us to get it so that there is some configure invocation
that sets up the search paths the way they want for their systems.