This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

problem on x86_64 while Building runtime libraries


For some reason on my x86_64 system gcov, gcov-dump and sometimes gnat1drv
are relinked while building libraries but with the base compiler
which does not work for gnat1drv because of version issues

I suspect things could go wrong for gcov and gcov-dump as well
in some cases since we're using the base compiler.

On my x86 system this doesn't happen: gcov and gcov-dump are
never relinked, same thing for gnat1drv.

I checked older build logs, and on x86_64 gcov and gcov-dump
seem to be always relinked, but gnat1drv not all the times,
when the build chooses to do so it fails, it happened
to me with LAST_UPDATED:

Mon Nov 29 08:13:01 UTC 2004
Wed Dec  1 21:40:02 UTC 2004

But between 20041121 and now it didn't happen 7 times
and the build then succeeded.

Did someone else observe this kind of failure? 
Any idea of what could be causing this?

Thanks in advance for any help,

Laurent

* Not working: 
Building runtime libraries
[...]
echo timestamp > full-stamp
srcdir="/home/guerby/work/gcc/version-head/fixincludes" /bin/sh /home/guerby/work/gcc/version-head/fixincludes/mkfixinc.sh x86_64-unknown-linux-gnu
make[2]: Leaving directory `/home/guerby/work/gcc/build/build-20041201T224303/fixincludes'
make[2]: Entering directory `/home/guerby/work/gcc/build/build-20041201T224303/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/guerby/work/gcc/build/build-20041201T224303/intl'
make[2]: Entering directory `/home/guerby/work/gcc/build/build-20041201T224303/build-x86_64-unknown-linux-gnu/libiberty'
make[3]: Entering directory `/home/guerby/work/gcc/build/build-20041201T224303/build-x86_64-unknown-linux-gnu/libiberty/testsuite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/guerby/work/gcc/build/build-20041201T224303/build-x86_64-unknown-linux-gnu/libiberty/testsuite'
make[2]: Leaving directory `/home/guerby/work/gcc/build/build-20041201T224303/build-x86_64-unknown-linux-gnu/libiberty'
make[2]: Entering directory `/home/guerby/work/gcc/build/build-20041201T224303/build-x86_64-unknown-linux-gnu/fixincludes'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/guerby/work/gcc/build/build-20041201T224303/build-x86_64-unknown-linux-gnu/fixincludes'
make[2]: Entering directory `/home/guerby/work/gcc/build/build-20041201T224303/libcpp'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/guerby/work/gcc/build/build-20041201T224303/libcpp'
make[2]: Entering directory `/home/guerby/work/gcc/build/build-20041201T224303/gcc'
gcc   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes  -fno-common   -DHAVE_CONFIG_H  gcov.o intl.o version.o errors.o ../libcpp/libcpp.a   ../libiberty/libiberty.a -o gcov
gcc   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes  -fno-common   -DHAVE_CONFIG_H  gcov-dump.o version.o errors.o ../libcpp/libcpp.a   ../libiberty/libiberty.a -o gcov-dump
gnatbind -C -I- -I. -Iada -I/home/guerby/work/gcc/version-head/gcc/ada -o ada/b_gnat1.c -n ada/gnat1drv.ali
fatal error: file gnat1drv.ali is incorrectly formatted
make sure you are using consistent versions of gcc/gnatbind
9.   P SS
        |
make[2]: *** [ada/b_gnat1.c] Error 4
make[2]: Leaving directory `/home/guerby/work/gcc/build/build-20041201T224303/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/home/guerby/work/gcc/build/build-20041201T224303'
make: *** [bootstrap] Error 2

* working
...
make[2]: Entering directory `/home/guerby/work/gcc/build/build-20041201T092041/gcc'
gcc   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes  -fno-common   -DHAVE_CONFIG_H  gcov.o intl.o version.o errors.o ../libcpp/libcpp.a   ../libiberty/libiberty.a -o gcov
gcc   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes  -fno-common   -DHAVE_CONFIG_H  gcov-dump.o version.o errors.o ../libcpp/libcpp.a   ../libiberty/libiberty.a -o gcov-dump
make \
  CFLAGS="-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes  -fno-common " \
  CONFIG_H="config.h  auto-host.h /home/guerby/work/gcc/version-head/gcc/../include/ansidecl.h" \
  MAKEOVERRIDES= \
  -f libgcc.mk all
make[3]: Entering directory `/home/guerby/work/gcc/build/build-20041201T092041/gcc'
./xgcc -B./ -B/home/guerby/work/gcc/install/install-20041201T092041/x86_64-unknown-linux-gnu/bin/ -isystem /home/guerby/work/gcc/install/install-20041201T092041/x86_64-unknown-linux-gnu/include -isystem /home/guerby/work/gcc/install/install-20041201T092041/x86_64-unknown-linux-gnu/sys-include -L/home/guerby/work/gcc/build/build-20041201T092041/gcc/../ld -O2  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -shared -nodefaultlibs -Wl,--soname=libgcc_s.so.1 -Wl,--version-script=libgcc/32/libgcc.map -o 32/libgcc_s.so.1.tmp  -m32 libgcc/32/_muldi3_s.o libgcc/32/_negdi2_s.o libgcc/32/_lshrdi3_s.o libgcc/32/_ashldi3_s.o libgcc/32/_ashrdi3_s.o libgcc/32/_cmpdi2_s.o libgcc/32/_ucmpdi2_s.o libgcc/32/_floatdidf_s.o libgcc/32/_floatdisf_s.o libgcc/32/_fixunsdfsi_s.o libgcc/32/_fixunssfsi_s.o libgcc/32/_fixunsdfdi_s.o libgcc/32/_fixdfdi_s.o libgcc/32/_fixunssfdi_s.o libgcc/32/_fixsfdi_s.o libgcc/32/_fixxfdi_s.o libgcc/32/_fixunsxfdi_s.o libgcc/32/_floatdixf_s.o libgcc/32/_fixunsxfsi_s.o libgcc/32/_fixtfdi_s.o libgcc/32/_fixunstfdi_s.o libgcc/32/_floatditf_s.o libgcc/32/_clear_cache_s.o libgcc/32/_enable_execute_stack_s.o libgcc/32/_trampoline_s.o libgcc/32/__main_s.o libgcc/32/_absvsi2_s.o libgcc/32/_absvdi2_s.o libgcc/32/_addvsi3_s.o libgcc/32/_addvdi3_s.o libgcc/32/_subvsi3_s.o libgcc/32/_subvdi3_s.o libgcc/32/_mulvsi3_s.o libgcc/32/_mulvdi3_s.o libgcc/32/_negvsi2_s.o libgcc/32/_negvdi2_s.o libgcc/32/_ctors_s.o libgcc/32/_ffssi2_s.o libgcc/32/_ffsdi2_s.o libgcc/32/_clz_s.o libgcc/32/_clzsi2_s.o libgcc/32/_clzdi2_s.o libgcc/32/_ctzsi2_s.o libgcc/32/_ctzdi2_s.o libgcc/32/_popcount_tab_s.o libgcc/32/_popcountsi2_s.o libgcc/32/_popcountdi2_s.o libgcc/32/_paritysi2_s.o libgcc/32/_paritydi2_s.o libgcc/32/_divdi3_s.o libgcc/32/_moddi3_s.o libgcc/32/_udivdi3_s.o libgcc/32/_umoddi3_s.o libgcc/32/_udiv_w_sdiv_s.o libgcc/32/_udivmoddi4_s.o libgcc/32/unwind-dw2_s.o libgcc/32/unwind-dw2-fde-glibc_s.o libgcc/32/unwind-sjlj_s.o libgcc/32/gthr-gnat_s.o libgcc/32/unwind-c_s.o -lc && rm -f 32/libgcc_s_32.so && if [ -f 32/libgcc_s.so.1 ]; then mv -f 32/libgcc_s.so.1 32/libgcc_s.so.1.`basename stage2/`; else true; fi && mv 32/libgcc_s.so.1.tmp 32/libgcc_s.so.1 && ln -s 32/libgcc_s.so.1 32/libgcc_s_32.so
make[3]: Leaving directory `/home/guerby/work/gcc/build/build-20041201T092041/gcc'
echo timestamp > stmp-multilib
make[2]: Leaving directory `/home/guerby/work/gcc/build/build-20041201T092041/gcc'
Checking multilib configuration...
...

* working on x86:
make[2]: Entering directory `/home/guerby/work/gcc/build/build-20041201T224249/gcc'
make \
  CFLAGS="-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes  -fno-common " \
  CONFIG_H="tconfig.h /home/guerby/work/gcc/version-head/gcc/../include/ansidecl.h" TM_H="tm.h      /home/guerby/work/gcc/version-head/gcc/config/i386/i386.h /home/guerby/work/gcc/version-head/gcc/config/i386/unix.h /home/guerby/work/gcc/version-head/gcc/config/i386/att.h /home/guerby/work/gcc/version-head/gcc/config/dbxelf.h /home/guerby/work/gcc/version-head/gcc/config/elfos.h /home/guerby/work/gcc/version-head/gcc/config/svr4.h /home/guerby/work/gcc/version-head/gcc/config/linux.h /home/guerby/work/gcc/version-head/gcc/config/i386/linux.h /home/guerby/work/gcc/version-head/gcc/defaults.h insn-constants.h insn-flags.h" \
  INCLUDES="-I. -I. -I/home/guerby/work/gcc/version-head/gcc -I/home/guerby/work/gcc/version-head/gcc/. -I/home/guerby/work/gcc/version-head/gcc/../include -I/home/guerby/work/gcc/version-head/gcc/../libcpp/include " \
  MAKEOVERRIDES= \
  -f libgcc.mk all
make[3]: Entering directory `/home/guerby/work/gcc/build/build-20041201T224249/gcc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/guerby/work/gcc/build/build-20041201T224249/gcc'
make[2]: Leaving directory `/home/guerby/work/gcc/build/build-20041201T224249/gcc'
Checking multilib configuration...
...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]