This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: PATCH: Add x32 support to dynamic linker audit
On Thu, Mar 22, 2012 at 1:38 PM, Roland McGrath <roland@hack.frob.com> wrote:
>> Something like this?
>
> It's certainly better to have the definitions just in one place.
> Actually, I'm confused as to why there is a problem.
> sysdeps/generic/ldsodefs.h already has #include <link.h>.
> That ought to get <bits/link.h> so that the definitions there
> are already available. ?Why isn't that happening?
It is happening, but when compiling for x86 the x32 for x86-64 bits
aren't enabled by default.
The alternative fix is to just enable them no matter what, since
ldsodefs.h is going to use *all* the audit interfaces.
Cheers,
Carlos.