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: Status of build bots?


On 19/08/2019 21:49, Carlos O'Donell wrote:
> Community,
> 
> The buildbots look red across the board.
> 
> Do we know what's up with them?
> 
> http://glibc-buildbot.reserved-bit.com/waterfall
> 
> Do we have an "ownership" page on the wiki so I can
> reach out and offer support in some way to the owners
> of that hardware?
> 

i do look at the aarch64 and armhf build bots, but i
was away on holiday for a week.

(aarch64 buildbot is supposed to be green, except for
occasional FAIL: malloc/tst-malloc-thread-exit, same as
https://sourceware.org/bugzilla/show_bug.cgi?id=24537
i might move that test to xtest too. armhf unfortunately
suffers from an arm64 kernel bug that applies aarch64
signal stack limits to aarch32 processes, it should be
fixed in new kernels but i cannot update that machine)

now i see

FAIL: elf/tst-dlopen-aout
FAIL: elf/tst-dlopen-aout-container

$ elf/ld-linux-aarch64.so.1 --library-path nptl:dlfcn:. elf/tst-dlopen-aout
error: tst-dlopen-aout.c:48: dlopen succeeded unexpectedly: elf/tst-dlopen-aout
error: 1 test failures

since

Change #4160
Category 	None
Changed by 	Florian Weimer <fweimer@redhat.com>
Changed at 	Thu 15 Aug 2019 16:53:32
Repository 	git://sourceware.org/git/glibc.git
Branch 	master
Revision 	23d2e5faf0bca6d9b31bef4aa162b95ee64cbfc6
Comments

elf: Self-dlopen failure with explict loader invocation [BZ #24900]
In case of an explicit loader invocation, ld.so essentially performs
a dlopen call to load the main executable.  Since the pathname of
the executable is known at this point, it gets stored in the link
map.  In regular mode, the pathname is not known and "" is used
instead.

As a result, if a program calls dlopen on the pathname of the main
program, the dlopen call succeeds and returns a handle for the main
map.  This results in an unnecessary difference between glibc
testing (without --enable-hardcoded-path-in-tests) and production
usage.

This commit discards the names when building the link map in
_dl_new_object for the main executable, but it still determines
the origin at this point in case of an explict loader invocation.
The reason is that the specified pathname has to be used; the kernel
has a different notion of the main executable.


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