This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [PATCH] Enable building of libsanitizer on sparc linux again.


On Sat, Nov 17, 2012 at 4:04 PM, David Miller <davem@davemloft.net> wrote:
> From: Eric Botcazou <ebotcazou@adacore.com>
> Date: Sun, 18 Nov 2012 00:18:15 +0100
>
>> error: '__NR_mmap2' was not declared in this scope
>>    return (void *)syscall(__NR_mmap2, addr, length, prot, flags, fd, offset);
>
> The people making libsanitizer changes are really going to have to
> stop making i386 specific changes to these generic files.
>
> Specifically, in this case, they are checking for whether mmap2 is
> available using __x86_64__ cpp tests.  A more appropriate test is
> necessary.
>
> Oh nevermind, H.J. Liu added this build regression, I should have
> known.
>
> H.J., either fix or revert this code back to using __WORDSIZE if you
> cannot come up with an appropriate test.

Please follow:

http://gcc.gnu.org/ml/gcc-patches/2012-11/msg00951.html


-- 
H.J.


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