[Bug ada/88429] Ada bootstrap fails with --disable-shared
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88429 --- Comment #3 from Eric Botcazou --- Author: ebotcazou Date: Tue Dec 11 23:04:39 2018 New Revision: 267034 URL: https://gcc.gnu.org/viewcvs?rev=267034=gcc=rev Log: libada/ PR ada/88429 * configure.ac (default_gnatlib_target): Set to gnatlib instead of gnatlib-plain if --disable-shared. * configure: Regenerate. * Makefile.in (all): Replace gnatlib prerequisite with libada. (ADA_RTS_SUBDIR): Delete. (libada): New target, renamed from... (gnatlib): ...this. Merge with other library targets. (gnatlib-plain): Delete. (install-gnatlib): Rename to... (install-libada): ...this. (install): Replace install-gnatlib prerequisite with install-libada. gcc/ada/ PR ada/88429 * gcc-interface/Makefile.in (./stamp-gnatlib1-$(RTSDIR)): Also pass MULTISUBDIR to sub-make and add quotes around $(THREAD_KIND). (gnatlib-shared-dual): Also pass PICFLAG_FOR_TARGET to sub-make. (gnatlib-sjlj): Also pass MULTISUBDIR to sub-make, but do not pass PICFLAG_FOR_TARGET. (gnatlib-zcx): Likewise. Modified: trunk/gcc/ChangeLog trunk/gcc/ada/ChangeLog trunk/gcc/ada/gcc-interface/Makefile.in trunk/libada/ChangeLog trunk/libada/Makefile.in trunk/libada/configure trunk/libada/configure.ac
[Bug ada/88429] Ada bootstrap fails with --disable-shared
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88429 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed||2018-12-11 CC||ebotcazou at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Eric Botcazou --- > Unlike the default (--enable-shared) case, it seems that the rts directory > for the non-default multilib is created incorrectly: with --enable-shared, I > see > > make THREAD_KIND=native setup-rts > make[9]: Entering directory > '/var/scratch/gcc/regression/trunk/4.17.3-gcc-gas-gld/build/gcc/ada' > rm -rf rts_32 > mkdir -p rts_32 > chmod u+w rts_32 > > while with --disable-shared, I get the creation of rts twice. > > This may be related to libada/configure.ac referencing a gnatlib-plain > target for --disable-shared, which I couldn't find elsewhere. Yes, but I don't understand why this doesn't fail in the default case too...
[Bug ada/88429] Ada bootstrap fails with --disable-shared
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88429 Eric Botcazou changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |ebotcazou at gcc dot gnu.org --- Comment #2 from Eric Botcazou --- Fixing.