Re: Scaling -fmacro-prefix-map= to thousands entries

2023-10-05 Thread Sergei Trofimovich via Gcc
On Thu, Oct 05, 2023 at 07:20:35AM -0400, Ben Boeckel wrote: > On Wed, Oct 04, 2023 at 22:19:32 +0100, Sergei Trofimovich via Gcc wrote: > > The prototype that creates equivalent of the following commands does > > work for smaller packages: > > > > > &

Re: Scaling -fmacro-prefix-map= to thousands entries

2023-10-05 Thread Sergei Trofimovich via Gcc
On Thu, Oct 05, 2023 at 09:19:15AM +0200, Richard Biener wrote: > On Wed, Oct 4, 2023 at 11:20 PM Sergei Trofimovich via Gcc > wrote: > > > > Hi gcc developers! > > > > Tl;DR: > > > > I would like to implement a scalable way to pass `-fmacro-prefix-m

Scaling -fmacro-prefix-map= to thousands entries

2023-10-04 Thread Sergei Trofimovich via Gcc
Hi gcc developers! Tl;DR: I would like to implement a scalable way to pass `-fmacro-prefix-map=` for `NixOS` distribution to avoid leaking build-time paths generated by `__FILE__` macros used by various libraries. I need some guidance what path to take to be acceptable for `gcc` upstream. I hav

Re: './configure --disable-multilib' and 'gcc -print-multi-os-directory' interaction

2020-03-28 Thread Sergei Trofimovich via Gcc
On Sat, 28 Mar 2020 11:35:36 +0100 Andreas Schwab wrote: > On Mär 28 2020, Sergei Trofimovich via Gcc wrote: > > > x86_64-linux-musl targets do not support multilib layout as-is > > and usually expects libdir=lib. glibc target usually uses libdir=lib64. > > If x

'./configure --disable-multilib' and 'gcc -print-multi-os-directory' interaction

2020-03-28 Thread Sergei Trofimovich via Gcc
x86_64-linux-musl targets do not support multilib layout as-is and usually expects libdir=lib. glibc target usually uses libdir=lib64. In https://bugs.gentoo.org/675954 (also touched on https://gcc.gnu.org/PR90077) Gentoo discovered the following discrepancy when gcc is built with --disable-multi

Re: -static-pie does not seem to work on alpha, hppa, m68k, sparc

2020-03-26 Thread Sergei Trofimovich via Gcc
On Thu, 26 Mar 2020 22:43:37 + Joseph Myers wrote: > On Thu, 26 Mar 2020, Sergei Trofimovich via Gcc wrote: > > > Hi all! > > > > Recently I attempted to build glibc-2.31 with --enable-static-pie > > (gcc-9.3.0). > > Some targets work just fine, some

-static-pie does not seem to work on alpha, hppa, m68k, sparc

2020-03-26 Thread Sergei Trofimovich via Gcc
Hi all! Recently I attempted to build glibc-2.31 with --enable-static-pie (gcc-9.3.0). Some targets work just fine, some don't. A few faulty ones so far are: - alpha-unknown-linux-gnu - hppa-unknown-linux-gnu - hppa2.0-unknown-linux-gnu - m68k-unknown-linux-gnu - sparc-unknown-linux-gnu - sparc64