[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#667184: gnat-4.6: ftbfs with GCC-4.7



Package: gnat-4.6
Version: 4.6.3-2
Severity: important
Tags: sid wheezy
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-4.7

The package fails to build in a test rebuild on at least amd64 with
gcc-4.7/g++-4.7, but succeeds to build with gcc-4.6/g++-4.6. The
severity of this report may be raised before the wheezy release.

collect2: ld returned 1 exit status

The full build log can be found at:
http://people.debian.org/~lucas/logs/2012/03/29-clang-gcc47/unstable-gcc47/gnat-4.6_4.6.3-2_unstable-gcc47.log
The last lines of the build log are at the end of this report.

Some hints on fixing these issues can be found at
http://gcc.gnu.org/gcc-4.7/porting_to.html

To build with GCC 4.7, either set CC=gcc-4.7 CXX=g++-4.7 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

[...]
../gcc/xgcc -c -nostdinc -I. -I../gcc/ada/rts-shared-zcx -I../libgnatvsn -I../libgnatprj -B../gcc/ -I- /«PKGBUILDDIR»/build/gnattools/vms_cmds.ads
../gcc/gnatbind -nostdinc -I. -I../gcc/ada/rts-shared-zcx -I../libgnatvsn -I../libgnatprj -x /«PKGBUILDDIR»/build/gnattools/gnatbind.ali
../gcc/xgcc -c -nostdinc -I. -I../gcc/ada/rts-shared-zcx -I../libgnatvsn -I../libgnatprj -B../gcc/ -I- /«PKGBUILDDIR»/build/gnattools/vms_conv.adb
./gnatlink-static -o gnatbind gnatbind.ali  -nostdinc -I- -I. -I../gcc/ada/rts-shared-zcx -I../libgnatvsn -I../libgnatprj -L../gcc/ada/rts-shared-zcx -lgnat-4.6 -L../libgnatvsn -lgnatvsn -L../libgnatprj -lgnatprj \
	   ../libiberty/libiberty.a \
	   --GCC="../gcc/xgcc -B../gcc/ -nostdinc -I- -I. -I../gcc/ada/rts-shared-zcx -I../libgnatvsn -I../libgnatprj"
/«PKGBUILDDIR»/build/gnattools/xref_lib.o: file not recognized: File truncated
collect2: ld returned 1 exit status
gnatlink-static: error when calling /«PKGBUILDDIR»/build/gcc/xgcc
make[4]: *** [gnatfind] Error 4
make[4]: *** Waiting for unfinished jobs....
../gcc/gnatbind -nostdinc -I. -I../gcc/ada/rts-shared-zcx -I../libgnatvsn -I../libgnatprj -x /«PKGBUILDDIR»/build/gnattools/gnatxref.ali
./gnatlink-static -o gnatxref gnatxref.ali  -nostdinc -I- -I. -I../gcc/ada/rts-shared-zcx -I../libgnatvsn -I../libgnatprj -L../gcc/ada/rts-shared-zcx -lgnat-4.6 -L../libgnatvsn -lgnatvsn -L../libgnatprj -lgnatprj \
	   ../libiberty/libiberty.a \
	   --GCC="../gcc/xgcc -B../gcc/ -nostdinc -I- -I. -I../gcc/ada/rts-shared-zcx -I../libgnatvsn -I../libgnatprj"
../gcc/xgcc -c -nostdinc -I. -I../gcc/ada/rts-shared-zcx -I../libgnatvsn -I../libgnatprj -B../gcc/ -I- /«PKGBUILDDIR»/build/gnattools/vms_data.ads
../gcc/gnatbind -nostdinc -I. -I../gcc/ada/rts-shared-zcx -I../libgnatvsn -I../libgnatprj -x /«PKGBUILDDIR»/build/gnattools/gnatcmd.ali
./gnatlink-static -o gnatcmd gnatcmd.ali  -nostdinc -I- -I. -I../gcc/ada/rts-shared-zcx -I../libgnatvsn -I../libgnatprj -L../gcc/ada/rts-shared-zcx -lgnat-4.6 -L../libgnatvsn -lgnatvsn -L../libgnatprj -lgnatprj \
	   ../libiberty/libiberty.a \
	   --GCC="../gcc/xgcc -B../gcc/ -nostdinc -I- -I. -I../gcc/ada/rts-shared-zcx -I../libgnatvsn -I../libgnatprj"
make[4]: Leaving directory `/«PKGBUILDDIR»/build/gnattools'
make[3]: *** [all-gnattools] Error 2
make[3]: Leaving directory `/«PKGBUILDDIR»/build'
make[2]: *** [bootstrap-lean] Error 2
make[2]: Leaving directory `/«PKGBUILDDIR»/build'
s=`cat status`; rm -f status; test $s -eq 0
make[1]: *** [stamps/05-build-stamp] Error 1
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [stamps/05-build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2



Reply to: