On 2016.04.02 at 12:57 +0200, Samuel Thibault wrote:
> Systems without HAVE_AUX_VECTOR have GLRO(dl_auxv) == NULL, and
> getauxval would thus crash.

Your commit 0cdc5e930a breaks the build for me:

In file included from ../sysdeps/x86_64/ldsodefs.h:54:0,
                 from ../sysdeps/gnu/ldsodefs.h:46,
                 from ../sysdeps/unix/sysv/linux/ldsodefs.h:22,
                 from getauxval.c:20:
getauxval.c: In function ‘__getauxval’:
../sysdeps/generic/ldsodefs.h:439:21: error: ‘_dl_auxv’ undeclared (first use 
in this function)
 # define GLRO(name) _##name
                     ^
getauxval.c:34:12: note: in expansion of macro ‘GLRO’
   for (p = GLRO(dl_auxv); p->a_type != AT_NULL; p++)
            ^~~~
../sysdeps/generic/ldsodefs.h:439:21: note: each undeclared identifier is 
reported only once for each function it appears in
 # define GLRO(name) _##name
                     ^
getauxval.c:34:12: note: in expansion of macro ‘GLRO’
   for (p = GLRO(dl_auxv); p->a_type != AT_NULL; p++)
            ^~~~
../o-iterator.mk:9: recipe for target '/var/tmp/glibc-build/misc/getauxval.o' 
failed


-- 
Markus

Reply via email to