This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: aarch64 crash with static PIE


On Fri, Jan 19, 2018 at 3:25 PM, Szabolcs Nagy <nsz@port70.net> wrote:
> * Carlos O'Donell <carlos@redhat.com> [2018-01-19 14:48:38 -0800]:
>> On 01/19/2018 12:40 PM, Szabolcs Nagy wrote:
>> > it currently says gcc-8 and does not mention binutils,
>> > even on x86 there is a minimum binutils requirement
>> > for this to work, on aarch64 the requirement is just
>> > higher: at least the fixes for ld/22263 and ld/22269
>> > are required which are in 2.30 now.
>> >
>> > i didnt write configure tests for the bugs thinking
>> > this is an experimental feature, may be i should have..
>>
>> The feature deserves a NEWS entry.
>>
>> We should say binutils 2.30 is required.
>>
>> We should strive to have configure checks for all things that could
>> go wrong with *default* configure options.
>>
>> For non-default configure options you have to know what you are
>> doing and understand the consequences. Once we stabilize the
>> feature a bit more we can *then* add configure checks IMO.
>>
>> In summary: Can you please add a binutils 2.30 requirement to the
>> NEWS entry?
>
> ok, i can do it on monday, but only for aarch64, on x86*
> the version is different and i don't know which.

X86-64 needs binutils 2.29 with a check in
sysdeps/x86_64/configure.ac:

dnl Check if linker supports static PIE with the fix for
dnl
dnl https://sourceware.org/bugzilla/show_bug.cgi?id=21782
dnl

-- 
H.J.


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