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-17 at 21:29 +0000, Joseph Myers wrote:
> This patch obsoletes support for SVID libm error handling (the system
> where a user-defined function matherr is called on a libm function
> error; only enabled if you also set _LIB_VERSION = _SVID_ or
> _LIB_VERSION = _XOPEN_) and the use of the _LIB_VERSION global
> variable to control libm error handling.

Joseph,

I am having a problem with this patch when combined with my aarch64
ILP32 patches. The build is fine but during ILP32 testing I get:

/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'

I know the ILP32 changes aren't in the official tree yet but I was 
wondering if there is some way to fix this.  I assume the problem is
because there was never an aarch64 ILP32 that supported matherr.

I actually have a similar problem with tst-mallocstate and the
malloc_get_state symbol.  Currently I just remove that test from the makefile
in order to skip it and I guess I can do the same for this test but we
will need a solution to this problem at some point and I was wondering
if you had any ideas.

Earlier discussion about tst-mallocstate:
https://sourceware.org/ml/libc-alpha/2016-12/msg00527.html

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]