This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
tst-mallocstate.c failure
- From: Steve Ellcey <sellcey at caviumnetworks dot com>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Wed, 14 Dec 2016 13:13:23 -0800
- Subject: tst-mallocstate.c failure
- Authentication-results: sourceware.org; auth=none
- Authentication-results: spf=none (sender IP is ) smtp.mailfrom=Steve dot Ellcey at cavium dot com;
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
Florian,
The tst-mallocstate test you created is failing for me with my ILP32 aarch64
changes. This is a new ABI for 2.25 so I am not sure how to
handle malloc_get_state. If I understand things correctly, malloc_get_state
has been removed from glibc and so should not appear in my ld.abilist,
is that right?
When I did have it I get an error with check-abi-ld:
@@ -1235 +1233,0 @@ GLIBC_2.25 malloc F
-GLIBC_2.25 malloc_get_state F
But taking malloc_get_state out of aarch64.abilist didn't help
the actual tst-malloc-state failure which dies with:
/home/ubuntu/sellcey/glibc-patched/src/glibc/malloc/tst-mallocstate.c:493: undefined reference to `malloc_get_state@GLIBC_2.25'
/home/ubuntu/sellcey/glibc-patched/obj-glibc32/malloc/tst-mallocstate.o: In function `init_heap':
/home/ubuntu/sellcey/glibc-patched/src/glibc/malloc/tst-mallocstate.c:315: undefined reference to `malloc_set_state@GLIBC_2.25'
Do I need to create a dummy version of this routine somewhere? Or should
this test not be run since I don't have the function that it is trying to
test. I am not sure what needs to be done to resolve this test failure.
Steve Ellcey
sellcey@caviumnetworks.com