This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: libsanitizer merge from upstream r208536
- From: Christophe Lyon <christophe dot lyon at linaro dot org>
- To: Evgeniy Stepanov <eugeni dot stepanov at gmail dot com>
- Cc: Konstantin Serebryany <konstantin dot s dot serebryany at gmail dot com>, Marek Polacek <polacek at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Jakub Jelinek <jakub at redhat dot com>, Dodji Seketeli <dodji at redhat dot com>, Dmitry Vyukov <dvyukov at google dot com>, "H.J. Lu" <hjl dot tools at gmail dot com>, Yuri Gribov <tetra2005 at gmail dot com>, Peter Bergner <bergner at vnet dot ibm dot com>
- Date: Mon, 26 May 2014 12:43:55 +0200
- Subject: Re: libsanitizer merge from upstream r208536
- Authentication-results: sourceware.org; auth=none
- References: <CAGQ9bdxH9rh0Cz8LBYZsuHKEFpkVosNkX2qrX10RGwK5hFEEqg at mail dot gmail dot com> <20140523134107 dot GC17600 at redhat dot com> <CAGQ9bdyPk5MmNDvpdkqkx=bXjSM6wO76dUwyPa0Krrp_OTjXfw at mail dot gmail dot com> <CAKdteOYwGTR0ee_ex6=M4RBu4DX=8_wgnL1sdCeNOZRXWoG48A at mail dot gmail dot com> <CABMLtrjjTH0vRnNcUtwWPkNonEt0rZizTnz_7r2Yw+nC-OcBEA at mail dot gmail dot com>
On 23 May 2014 17:01, Evgeniy Stepanov <eugeni.stepanov@gmail.com> wrote:
> Hi Christophe,
>
> is there anything special about your setup? We've seen it build on
> arm/linux and arm/android correctly.
>
>
Hi,
As Kugan said, I needed to add --enable-obsolete-rpc when configuring glibc.
Thanks,
Christophe.
> On Fri, May 23, 2014 at 6:06 PM, Christophe Lyon
> <christophe.lyon@linaro.org> wrote:
>> Hi,
>> Since merge from upstream r209283 (210743 in GCC), my build fails on
>> ARM, because rpc/xdr.h is not found.
>> Is this expected?
>>
>> Thanks,
>>
>> Christophe.
>>
>>
>> On 23 May 2014 15:45, Konstantin Serebryany
>> <konstantin.s.serebryany@gmail.com> wrote:
>>> On Fri, May 23, 2014 at 5:41 PM, Marek Polacek <polacek@redhat.com> wrote:
>>>> On Mon, May 12, 2014 at 03:20:37PM +0400, Konstantin Serebryany wrote:
>>>>> 5 months' worth of changes may break any platform we are not testing ourselves
>>>>> (that includes Ubuntu 12.04, 13.10, 14.04, Mac 10.9, Windows 7, Android ARM),
>>>>> please help us test this patch on your favorite platform.
>>>>
>>>> On powerpc64 I hit
>>>> /home/polacek/gcc/libsanitizer/asan/asan_linux.cc:209:3: error: #error "Unsupported arch"
>>>> # error "Unsupported arch"
>>>>
>>>> because the merge (aka clang's r196802) removed ppc64 hunk of code:
>>>>
>>>> -# elif defined(__powerpc__) || defined(__powerpc64__)
>>>> - ucontext_t *ucontext = (ucontext_t*)context;
>>>> - *pc = ucontext->uc_mcontext.regs->nip;
>>>> - *sp = ucontext->uc_mcontext.regs->gpr[PT_R1];
>>>> - // The powerpc{,64}-linux ABIs do not specify r31 as the frame
>>>> - // pointer, but GCC always uses r31 when we need a frame pointer.
>>>> - *bp = ucontext->uc_mcontext.regs->gpr[PT_R31];
>>>> -# elif defined(__sparc__)
>>>
>>> Someone will have to send this patch via llvm-commits :(
>>> (I've pinged Peter Bergner once with no luck).
>>>
>>>>
>>>> Marek