From d330f31af68f96dde82840d1e9343b479a8c179e Mon Sep 17 00:00:00 2001 From: Carlos O'Donell Date: Thu, 30 Aug 2018 11:01:33 -0400 Subject: Fix test failure with -DNDEBUG. The elf/tst-dlopen-aout.c test uses asserts to verify properties of the test execution. Instead of using assert it should use xpthread_create and xpthread_join to catch errors starting the threads and fail the test. This shows up in Fedora 28 when building for i686-pc-linux-gnu and using gcc 8.1.1. Tested on i686, and fixes a check failure with -DNDEBUG. Signed-off-by: Carlos O'Donell --- ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index b3689a68c9..21d914141c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2018-08-30 Carlos O'Donell + + * elf/tst-dlopen-aout.c: Include support/xthread.h. Use + xpthread_create and xpthread_join. + 2018-08-30 Florian Weimer * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC. -- cgit v1.2.3