This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Obsolete matherr, _LIB_VERSION, libieee.a


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]