Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1019129
| From | Bastian Blank <waldi@debian.org> |
|---|---|
| Newsgroups | linux.debian.bugs.dist, linux.debian.maint.glibc |
| Subject | Bug#966173: libc6: __atan2_finite reference in dlopened module no longer found in executable linked to libm |
| Date | 2020-07-24 14:50 +0200 |
| Message-ID | <Aw5jb-7mT-3@gated-at.bofh.it> (permalink) |
| References | <Aw21Y-5x1-3@gated-at.bofh.it> <Aw21Y-5x1-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Cross-posted to 2 groups.
On Fri, Jul 24, 2020 at 10:11:04AM +0100, Simon McVittie wrote:
> The bug (#966150) is that a version of uix86_64.so compiled with a slightly
> older (2020-02-18) toolchain fails to load on an up-to-date sid system, with:
> undefined symbol: __atan2_finite
Because the binary was not linked with -lm, the linker never saw the
real symbol __atan2_finite@GLIBC2_16, so the linke only emitted a reference
to __atan2_finite. At least dpkg-shlibdeps or so should warn about that.
> I've been trying to put together a standalone reproducer that only uses
> libdl and libm, but so far I have not been successful.
Something like that?
| % cat test.c
| void __atan2_finite(void);
| void test(void) {
| __atan2_finite();
| }
| % gcc --shared -o test.so test.c -Wall -W
| % objdump -x test.so | grep atan
| 0000000000000000 *UND* 0000000000000000 __atan2_finite
Regards,
Bastian
--
Men will always be men -- no matter where they are.
-- Harry Mudd, "Mudd's Women", stardate 1329.8
Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Bug#966173: libc6: __atan2_finite reference in dlopened module no longer found in executable linked to libm Simon McVittie <smcv@debian.org> - 2020-07-24 11:20 +0200
Bug#966173: libc6: __atan2_finite reference in dlopened module no longer found in executable linked to libm Bastian Blank <waldi@debian.org> - 2020-07-24 14:50 +0200
Bug#966173: libc6: __atan2_finite reference in dlopened module no longer found in executable linked to libm Simon McVittie <smcv@debian.org> - 2020-07-24 16:30 +0200
Bug#966173: libc6: __atan2_finite reference in dlopened module no longer found in executable linked to libm Aurelien Jarno <aurelien@aurel32.net> - 2020-07-27 00:20 +0200
csiph-web