[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1019535: gcc-12: please change the default hash style to both



On 2022-10-10 12:43, Matthias Klose wrote:
> Control: tags -1 + moreinfo
> 
> the change to use the gnu style instead of the both style was done in 2013.
> Why do we want to change that again nine years later?

As said in my initial mail, the point is that it has been found nine
years after that removing the DT_HASH table makes Debian and a few other
distribution incompatible with the Generic System V Application Binary
Interface [1].

This has been found to break the "Easy Anti-Cheat" system [2] on
distributions that have their toolchain differing from the upstream
default --hash-style=both, as since version 2.36 glibc uses the system
defaults instead of enforcing it. Distributions which use the toolchain
default have been unaffected.

With this new data points, we should at least think again about the
change that was done nine years ago, and see if it is still the correct
one.

Regards
Aurelien

[1] https://groups.google.com/g/generic-abi/c/th5919osPAQ
[2] https://sourceware.org/git/?p=glibc.git;a=patch;h=e47de5cb2d4dbecb58f569ed241e8e95c568f03c

> gcc-4.8 (4.8.1-4) unstable; urgency=low
> 
> 
> 
>   * Update to SVN 20130619 (r200219) from the gcc-4_8-branch.
> 
>     - Bump the libgo soname (change in type layout for functions that take
> 
>       function arguments).
> 
>     - Fix finding the liblto_plugin.so without x permissions set (see
> 
>       PR driver/57651). Closes: #712704.
> 
>   * Update maintainer list.
> 
>   * Fall back to the binutils version of the binutils build dependency
> 
>     if the binutils version used for the build cannot be determined.
> 
>   * For ARM multilib builds, use libsf/libhf system directories to lookup
> 
>     files for the non-default multilib (for now, only for the cross compilers).
> 
>   * Split out a gcj-4.8 package, allow to build a gcj cross compiler.
> 
>   * Allow one to cross build gcj.
> 
>   * Don't include object.di in the D cross compiler, but depend on gdc instead.
> 
>   * Allow one to cross build gdc.
> 
>   * Pass --hash-style=gnu instead of --hash-style=both to the linker.
> 
> 
> 
>  -- Matthias Klose <doko@debian.org>  Wed, 19 Jun 2013 23:48:02 +0200
> 
> 

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net


Reply to: