This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Make linknamespace tests check only relevant libraries
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Carlos O'Donell <carlos at redhat dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Sat, 29 Nov 2014 09:29:14 +0000
- Subject: Re: Make linknamespace tests check only relevant libraries
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot DEB dot 2 dot 10 dot 1411290147140 dot 30652 at digraph dot polyomino dot org dot uk> <547948BB dot 1080107 at redhat dot com>
On Fri, 28 Nov 2014, Carlos O'Donell wrote:
> Some of them are the `profil_counter` failure you noted, but
> others remain the __pointer_chk_guard_local inclusion and
> subsequent libpthread analysis, which I think is not correct,
> but haven't reviewed in detail.
>
> FAIL: conform/POSIX/assert.h/linknamespace
> ~~~
> [initial] __assert_fail -> [libc.a(assert.o)] __fxprintf -> [libc.a(fxprintf.o)] __vfwprintf -> [libc.a(vfwprintf.o)] _IO_fwide -> [libc.a(iofwide.o)] __pointer_chk_guard_local -> [libc.a(libc-start.o)] __pthread_initialize_minimal -> [libpthread.a(nptl-init.o)] __nptl_setxid_error -> [libpthread.a(pthread_create.o)] __resp -> [libc.a(res_libc.o)] __res_iclose -> [libc.a(res_init.o)] fgets_unlocked
You'll note the pthread.h tests (for example) are XFAILed for all
standards with pthreads at present. So naturally when pthreads code is
brought in, even without any explicit use of pthreads in the program,
you'll get lots of failures that are logically the same as those already
XFAILed.
--
Joseph S. Myers
joseph@codesourcery.com