On Sat, Nov 17, 2012 at 4:04 PM, David Miller <da...@davemloft.net> wrote: > From: Eric Botcazou <ebotca...@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.