Obsolete matherr, _LIB_VERSION, libieee.a
Steve Ellcey
sellcey@cavium.com
Thu Aug 24 21:06:00 GMT 2017
On Thu, 2017-08-24 at 20:53 +0200, Florian Weimer wrote:
>Â
> Does the fail to compile, or does it fail to link?
>
> Maybe it is possible to make this slightly more regular.  Although the
> expansion of compat_symbol_reference is difficult to remove because GCC
> does not see it, so it is not optimized away.
>
> Thanks,
> Florian
test-matherr.c failed to link:
/toolchain-ilp32/obj/glibc32/math/test-matherr.o: In function `do_test':
/toolchain-ilp32/src/glibc/math/test-matherr.c:43: undefined reference to `_LIB_VERSION@GLIBC_2.27'
/toolchain-ilp32/src/glibc/math/test-matherr.c:43: undefined reference to `_LIB_VERSION@GLIBC_2.27'
test-matherr-2.c compiled and linked but failed when running because
it did not call the matherr routine defined in the testcase.
tst-mallocstate.c also failed to link:
/toolchain-ilp32/src/glibc/malloc/tst-mallocstate.c:493: undefined reference to `malloc_get_state@GLIBC_2.27'
/toolchain-ilp32/obj-glibc32/malloc/tst-mallocstate.o: In function `init_heap':
/toolchain-ilp32/src/glibc/malloc/tst-mallocstate.c:315: undefined reference to `malloc_set_state@GLIBC_2.27'
Steve Ellcey
sellcey@cavium.com
More information about the Libc-alpha
mailing list