This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
bootstrap failure, gcc HEAD, --disable-shared, gnatlib-plain
- From: mec dot gnu at mindspring dot com (Michael Elizabeth Chastain)
- To: neroden at gcc dot gnu dot org
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 23 Apr 2004 17:22:27 -0400 (EDT)
- Subject: bootstrap failure, gcc HEAD, --disable-shared, gnatlib-plain
I'm getting a bootstrap failure with gcc HEAD. I'm building on native
i686-pc-linux-gnu, red hat 8.0, with Ada installed.
I configure with:
/berman/fsf/_current_/source/gcc/HEAD/gcc/configure --prefix=/berman/fsf/_current_/z/install --disable-shared
And build with:
make bootstrap
The build error is:
make[2]: Entering directory `/berman/fsf/_current_/z/build/i686-pc-linux-gnu/libada'
make -C ../../gcc/ada "MAKEOVERRIDES=" "LDFLAGS=" "LN_S=ln -s" "SHELL=/bin/sh" "exeext=" "objext=.o" "prefix=/berman/fsf/_current_/z/install" "STAGE_PREFIX=" "CC=/berman/fsf/_current_/z/build/gcc/xgcc -B/berman/fsf/_current_/z/build/gcc/ -B/berman/fsf/_current_/z/install/i686-pc-linux-gnu/bin/ -B/berman/fsf/_current_/z/install/i686-pc-linux-gnu/lib/ -isystem /berman/fsf/_current_/z/install/i686-pc-linux-gnu/include -isystem /berman/fsf/_current_/z/install/i686-pc-linux-gnu/sys-include" "CFLAGS=-O2 -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -fno-common" \
GNATLIBFLAGS="-W -Wall -gnatpg" \
GNATLIBCFLAGS="-g -O2" \
TARGET_LIBGCC2_CFLAGS="-fPIC" \
THREAD_KIND="native" \
TRACE="no" gnatlib-plain
make[3]: Entering directory `/berman/fsf/_current_/z/build/gcc/ada'
make[3]: *** No rule to make target `gnatlib-plain'. Stop.
make[3]: Leaving directory `/berman/fsf/_current_/z/build/gcc/ada'
make[2]: *** [gnatlib-plain] Error 2
make[2]: Leaving directory `/berman/fsf/_current_/z/build/i686-pc-linux-gnu/libada'
make[1]: *** [all-target-libada] Error 2
make[1]: Leaving directory `/berman/fsf/_current_/z/build'
make: *** [bootstrap] Error 2
Recent changes in the libada makefiles are responsible. libada has a
gnatlib-plain target, but it's calling gcc/ada as an inferior makefile,
and gcc/ada does not know about gnatlib-plain.
If I leave out the '--disable-shared', then the build log says
"gnatlib-shared" instead of "gnatlib-plain", and it just works.
I'll be happy to file a PR with all the details if you want one.
Michael C