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: libsanitizer merge from upstream r208536


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


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