[Bug bootstrap/110467] Bootstrap with Ada enabled fails with --enable-host-pie

2023-07-05 Thread simon at pushface dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110467

simon at pushface dot org changed:

   What|Removed |Added

 CC||simon at pushface dot org

--- Comment #6 from simon at pushface dot org ---
I hadn't spotted this, so attempted an Ada build with gcc-14-20230702 and got
this:

make[3]: *** No rule to make target `../libiberty/pic/libiberty.a', needed by
`cc1-checksum.cc'.  Stop.
make[3]: Leaving directory
`/Volumes/Miscellaneous3/x86_64/gcc-14-20230702/gcc/gcc'

gcc-14-20230702/gcc/ is automatically configured with --enable-host-pie, should
libliberty/ be also?

[Bug bootstrap/110467] Bootstrap with Ada enabled fails with --enable-host-pie

2023-07-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110467

--- Comment #5 from Marek Polacek  ---
(In reply to Eric Botcazou from comment #4)
> > You were CC'd here:
> > , FWIW.
> 
> I totally missed it, sorry about that. :-(

No problem, sorry for not pinging you about it.  I'll make sure to CC you when
I post a fix for this PR.

[Bug bootstrap/110467] Bootstrap with Ada enabled fails with --enable-host-pie

2023-06-30 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110467

--- Comment #4 from Eric Botcazou  ---
> You were CC'd here:
> , FWIW.

I totally missed it, sorry about that. :-(

[Bug bootstrap/110467] Bootstrap with Ada enabled fails with --enable-host-pie

2023-06-30 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110467

--- Comment #3 from Marek Polacek  ---
(In reply to Eric Botcazou from comment #2)
> Confirmed, but
> 
> Author: Marek Polacek 
> Date:   Wed May 3 17:06:13 2023 -0400
> 
> configure: Implement --enable-host-pie
> ada/
>  * gcc-interface/Make-lang.in (ALL_ADAFLAGS): Remove NO_PIE_CFLAGS.  Add
>  PICFLAG.  Use PICFLAG when building ada/b_gnat1.o and ada/b_gnatb.o.
>  * gcc-interface/Makefile.in: Use pic/libiberty.a if PICFLAG is set.
>  Remove NO_PIE_FLAG.
> 
> had first broken --enable-default-pie (and AFAICS was not approved by an Ada
> maintainer), so the aforementioned change restored the previous working
> state.

You were CC'd here:
, FWIW.

[Bug bootstrap/110467] Bootstrap with Ada enabled fails with --enable-host-pie

2023-06-30 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110467

Eric Botcazou  changed:

   What|Removed |Added

 CC||ebotcazou at gcc dot gnu.org
 Ever confirmed|0   |1
   Last reconfirmed||2023-06-30
 Status|UNCONFIRMED |NEW

--- Comment #2 from Eric Botcazou  ---
Confirmed, but

Author: Marek Polacek 
Date:   Wed May 3 17:06:13 2023 -0400

configure: Implement --enable-host-pie
ada/
 * gcc-interface/Make-lang.in (ALL_ADAFLAGS): Remove NO_PIE_CFLAGS.  Add
 PICFLAG.  Use PICFLAG when building ada/b_gnat1.o and ada/b_gnatb.o.
 * gcc-interface/Makefile.in: Use pic/libiberty.a if PICFLAG is set.
 Remove NO_PIE_FLAG.

had first broken --enable-default-pie (and AFAICS was not approved by an Ada
maintainer), so the aforementioned change restored the previous working state.

[Bug bootstrap/110467] Bootstrap with Ada enabled fails with --enable-host-pie

2023-06-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110467

--- Comment #1 from Marek Polacek  ---
Further context:
https://gcc.gnu.org/pipermail/gcc-patches/2023-June/622981.html