[PATCH] Configure GCC with --enable-initfini-array [BZ #27945]

Adhemerval Zanella adhemerval.zanella@linaro.org
Wed Jun 9 18:13:11 GMT 2021



On 09/06/2021 15:02, Joseph Myers wrote:
> On Wed, 9 Jun 2021, H.J. Lu via Libc-alpha wrote:
> 
>> I disagree.  The behavior of the cross compiler should be as close to the native
>> Linux system compiler, not other versions of cross compilers, as possible.
> 
> But fixing that was the point of your GCC patch.  I don't think working 
> around deficiencies in previous versions of GCC, that aren't necessary to 
> work around for building glibc, is within scope for build-many-glibcs.py; 
> it's enough that the bug (cross compiler different from native) was fixed 
> in the logically correct place (in GCC, for future GCC releases).

But this also does not have any really drawback, correct?

I thinking for the possible support to add a way to build a specific 
gcc/binutins/glibc version with build-many-glibcs.py.




More information about the Libc-alpha mailing list