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

Bug#565862: FTBFS [hppa]: C compiler cannot create executables



Source: gcc-snapshot
Version: 20100117-1
Severity: serious
User: debian-hppa@lists.debian.org
Usertags: hppa

gcc-snapshot fails to build on hppa. From the most recent build attempt:
[...]
mv -f .deps/time.Tpo .deps/time.Plo
/bin/bash ./libtool --tag=CC   --mode=compile /build/buildd-gcc-snapshot_20100117-1-hppa-8pg21G/gcc-snapshot-20100117/build/./gcc/xgcc -B/build/buildd-gcc-snapshot_20100117-1-hppa-8pg21G/gcc-snapshot-20100117/build/./gcc/ -B/usr/lib/gcc-snapshot/hppa-linux-gnu/bin/ -B/usr/lib/gcc-snapshot/hppa-linux-gnu/lib/ -isystem /usr/lib/gcc-snapshot/hppa-linux-gnu/include -isystem /usr/lib/gcc-snapshot/hppa-linux-gnu/sys-include    -DHAVE_CONFIG_H -I. -I../../../src/libgomp  -I../../../src/libgomp/config/posix -I../../../src/libgomp  -Wall -Werror -ftls-model=initial-exec -Wc,-pthread -g -O2 -MT fortran.lo -MD -MP -MF .deps/fortran.Tpo -c -o fortran.lo ../../../src/libgomp/fortran.c
libtool: compile:  /build/buildd-gcc-snapshot_20100117-1-hppa-8pg21G/gcc-snapshot-20100117/build/./gcc/xgcc -B/build/buildd-gcc-snapshot_20100117-1-hppa-8pg21G/gcc-snapshot-20100117/build/./gcc/ -B/usr/lib/gcc-snapshot/hppa-linux-gnu/bin/ -B/usr/lib/gcc-snapshot/hppa-linux-gnu/lib/ -isystem /usr/lib/gcc-snapshot/hppa-linux-gnu/include -isystem /usr/lib/gcc-snapshot/hppa-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I../../../src/libgomp -I../../../src/libgomp/config/posix -I../../../src/libgomp -Wall -Werror -pthread -ftls-model=initial-exec -g -O2 -MT fortran.lo -MD -MP -MF .deps/fortran.Tpo -c ../../../src/libgomp/fortran.c  -fPIC -DPIC -o .libs/fortran.o
libtool: compile:  /build/buildd-gcc-snapshot_20100117-1-hppa-8pg21G/gcc-snapshot-20100117/build/./gcc/xgcc -B/build/buildd-gcc-snapshot_20100117-1-hppa-8pg21G/gcc-snapshot-20100117/build/./gcc/ -B/usr/lib/gcc-snapshot/hppa-linux-gnu/bin/ -B/usr/lib/gcc-snapshot/hppa-linux-gnu/lib/ -isystem /usr/lib/gcc-snapshot/hppa-linux-gnu/include -isystem /usr/lib/gcc-snapshot/hppa-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I../../../src/libgomp -I../../../src/libgomp/config/posix -I../../../src/libgomp -Wall -Werror -pthread -ftls-model=initial-exec -g -O2 -MT fortran.lo -MD -MP -MF .deps/fortran.Tpo -c ../../../src/libgomp/fortran.c -o fortran.o >/dev/null 2>&1
mv -f .deps/fortran.Tpo .deps/fortran.Plo
/bin/bash ./libtool --tag=CC   --mode=compile /build/buildd-gcc-snapshot_20100117-1-hppa-8pg21G/gcc-snapshot-20100117/build/./gcc/xgcc -B/build/buildd-gcc-snapshot_20100117-1-hppa-8pg21G/gcc-snapshot-20100117/build/./gcc/ -B/usr/lib/gcc-snapshot/hppa-linux-gnu/bin/ -B/usr/lib/gcc-snapshot/hppa-linux-gnu/lib/ -isystem /usr/lib/gcc-snapshot/hppa-linux-gnu/include -isystem /usr/lib/gcc-snapshot/hppa-linux-gnu/sys-include    -DHAVE_CONFIG_H -I. -I../../../src/libgomp  -I../../../src/libgomp/config/posix -I../../../src/libgomp  -Wall -Werror -ftls-model=initial-exec -Wc,-pthread -g -O2 -MT affinity.lo -MD -MP -MF .deps/affinity.Tpo -c -o affinity.lo ../../../src/libgomp/config/posix/affinity.c
libtool: compile:  /build/buildd-gcc-snapshot_20100117-1-hppa-8pg21G/gcc-snapshot-20100117/build/./gcc/xgcc -B/build/buildd-gcc-snapshot_20100117-1-hppa-8pg21G/gcc-snapshot-20100117/build/./gcc/ -B/usr/lib/gcc-snapshot/hppa-linux-gnu/bin/ -B/usr/lib/gcc-snapshot/hppa-linux-gnu/lib/ -isystem /usr/lib/gcc-snapshot/hppa-linux-gnu/include -isystem /usr/lib/gcc-snapshot/hppa-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I../../../src/libgomp -I../../../src/libgomp/config/posix -I../../../src/libgomp -Wall -Werror -pthread -ftls-model=initial-exec -g -O2 -MT affinity.lo -MD -MP -MF .deps/affinity.Tpo -c ../../../src/libgomp/config/posix/affinity.c  -fPIC -DPIC -o .libs/affinity.o
libtool: compile:  /build/buildd-gcc-snapshot_20100117-1-hppa-8pg21G/gcc-snapshot-20100117/build/./gcc/xgcc -B/build/buildd-gcc-snapshot_20100117-1-hppa-8pg21G/gcc-snapshot-20100117/build/./gcc/ -B/usr/lib/gcc-snapshot/hppa-linux-gnu/bin/ -B/usr/lib/gcc-snapshot/hppa-linux-gnu/lib/ -isystem /usr/lib/gcc-snapshot/hppa-linux-gnu/include -isystem /usr/lib/gcc-snapshot/hppa-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I../../../src/libgomp -I../../../src/libgomp/config/posix -I../../../src/libgomp -Wall -Werror -pthread -ftls-model=initial-exec -g -O2 -MT affinity.lo -MD -MP -MF .deps/affinity.Tpo -c ../../../src/libgomp/config/posix/affinity.c -o affinity.o >/dev/null 2>&1
mv -f .deps/affinity.Tpo .deps/affinity.Plo
/bin/bash ./libtool --tag CC   --mode=link /build/buildd-gcc-snapshot_20100117-1-hppa-8pg21G/gcc-snapshot-20100117/build/./gcc/xgcc -B/build/buildd-gcc-snapshot_20100117-1-hppa-8pg21G/gcc-snapshot-20100117/build/./gcc/ -B/usr/lib/gcc-snapshot/hppa-linux-gnu/bin/ -B/usr/lib/gcc-snapshot/hppa-linux-gnu/lib/ -isystem /usr/lib/gcc-snapshot/hppa-linux-gnu/include -isystem /usr/lib/gcc-snapshot/hppa-linux-gnu/sys-include    -Wall -Werror -ftls-model=initial-exec -Wc,-pthread -g -O2   -Wl,-O1   -o libgomp.la -version-info 1:0:0 -Wl,--version-script,../../../src/libgomp/libgomp.map -no-undefined -bindir "/usr/lib/gcc-snapshot/bin" -rpath /usr/lib/gcc-snapshot/lib alloc.lo barrier.lo critical.lo env.lo error.lo iter.lo iter_ull.lo loop.lo loop_ull.lo ordered.lo parallel.lo sections.lo single.lo task.lo team.lo work.lo lock.lo mutex.lo proc.lo sem.lo bar.lo ptrlock.lo time.lo fortran.lo affinity.lo  -lrt 
libtool: link: /build/buildd-gcc-snapshot_20100117-1-hppa-8pg21G/gcc-snapshot-20100117/build/./gcc/xgcc -B/build/buildd-gcc-snapshot_20100117-1-hppa-8pg21G/gcc-snapshot-20100117/build/./gcc/ -B/usr/lib/gcc-snapshot/hppa-linux-gnu/bin/ -B/usr/lib/gcc-snapshot/hppa-linux-gnu/lib/ -isystem /usr/lib/gcc-snapshot/hppa-linux-gnu/include -isystem /usr/lib/gcc-snapshot/hppa-linux-gnu/sys-include    -shared  .libs/alloc.o .libs/barrier.o .libs/critical.o .libs/env.o .libs/error.o .libs/iter.o .libs/iter_ull.o .libs/loop.o .libs/loop_ull.o .libs/ordered.o .libs/parallel.o .libs/sections.o .libs/single.o .libs/task.o .libs/team.o .libs/work.o .libs/lock.o .libs/mutex.o .libs/proc.o .libs/sem.o .libs/bar.o .libs/ptrlock.o .libs/time.o .libs/fortran.o .libs/affinity.o   -lrt  -pthread -Wl,-O1 -Wl,--version-script -Wl,../../../src/libgomp/libgomp.map   -Wl,-soname -Wl,libgomp.so.1 -o .libs/libgomp.so.1.0.0
libtool: link: (cd ".libs" && rm -f "libgomp.so.1" && ln -s "libgomp.so.1.0.0" "libgomp.so.1")
libtool: link: (cd ".libs" && rm -f "libgomp.so" && ln -s "libgomp.so.1.0.0" "libgomp.so")
libtool: link: ar rc .libs/libgomp.a  alloc.o barrier.o critical.o env.o error.o iter.o iter_ull.o loop.o loop_ull.o ordered.o parallel.o sections.o single.o task.o team.o work.o lock.o mutex.o proc.o sem.o bar.o ptrlock.o time.o fortran.o affinity.o
libtool: link: ranlib .libs/libgomp.a
libtool: link: ( cd ".libs" && rm -f "libgomp.la" && ln -s "../libgomp.la" "libgomp.la" )
/usr/bin/make  DO=all multi-do # /usr/bin/make
make[7]: Entering directory `/build/buildd-gcc-snapshot_20100117-1-hppa-8pg21G/gcc-snapshot-20100117/build/hppa-linux-gnu/libgomp'
if [ -z "" ]; then \
	  true; \
	else \
	  rootpre=`${PWDCMD-pwd}`/; export rootpre; \
	  srcrootpre=`cd ../../../src/libgomp; ${PWDCMD-pwd}`/; export srcrootpre; \
	  lib=`echo "${rootpre}" | sed -e 's,^.*/\([^/][^/]*\)/$,\1,'`; \
	  compiler="/build/buildd-gcc-snapshot_20100117-1-hppa-8pg21G/gcc-snapshot-20100117/build/./gcc/xgcc -B/build/buildd-gcc-snapshot_20100117-1-hppa-8pg21G/gcc-snapshot-20100117/build/./gcc/ -B/usr/lib/gcc-snapshot/hppa-linux-gnu/bin/ -B/usr/lib/gcc-snapshot/hppa-linux-gnu/lib/ -isystem /usr/lib/gcc-snapshot/hppa-linux-gnu/include -isystem /usr/lib/gcc-snapshot/hppa-linux-gnu/sys-include   "; \
	  for i in `${compiler} --print-multi-lib 2>/dev/null`; do \
	    dir=`echo $i | sed -e 's/;.*$//'`; \
	    if [ "${dir}" = "." ]; then \
	      true; \
	    else \
	      if [ -d ../${dir}/${lib} ]; then \
		flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
		if (cd ../${dir}/${lib}; /usr/bin/make  \
				CFLAGS="-g -O2 ${flags}" \
				CCASFLAGS=" ${flags}" \
				FCFLAGS="-g -O2 -Wall ${flags}" \
				FFLAGS=" ${flags}" \
				ADAFLAGS=" ${flags}" \
				prefix="/usr/lib/gcc-snapshot" \
				exec_prefix="/usr/lib/gcc-snapshot" \
				GCJFLAGS=" ${flags}" \
				CXXFLAGS="-g -O2 -D_GNU_SOURCE ${flags}" \
				LIBCFLAGS="-g -O2 ${flags}" \
				LIBCXXFLAGS="-g -O2 -D_GNU_SOURCE -fno-implicit-templates ${flags}" \
				LDFLAGS=" ${flags}" \
				MULTIFLAGS="${flags}" \
				DESTDIR="" \
				INSTALL="/usr/bin/install -c" \
				INSTALL_DATA="/usr/bin/install -c -m 644" \
				INSTALL_PROGRAM="/usr/bin/install -c" \
				INSTALL_SCRIPT="/usr/bin/install -c" \
				all); then \
		  true; \
		else \
		  exit 1; \
		fi; \
	      else true; \
	      fi; \
	    fi; \
	  done; \
	fi
make[7]: Leaving directory `/build/buildd-gcc-snapshot_20100117-1-hppa-8pg21G/gcc-snapshot-20100117/build/hppa-linux-gnu/libgomp'
/build/buildd-gcc-snapshot_20100117-1-hppa-8pg21G/gcc-snapshot-20100117/build/./gcc/gfortran -B/build/buildd-gcc-snapshot_20100117-1-hppa-8pg21G/gcc-snapshot-20100117/build/./gcc/ -B/usr/lib/gcc-snapshot/hppa-linux-gnu/bin/ -B/usr/lib/gcc-snapshot/hppa-linux-gnu/lib/ -isystem /usr/lib/gcc-snapshot/hppa-linux-gnu/include -isystem /usr/lib/gcc-snapshot/hppa-linux-gnu/sys-include    -g -O2 -Wall -fsyntax-only omp_lib.f90
make[6]: Leaving directory `/build/buildd-gcc-snapshot_20100117-1-hppa-8pg21G/gcc-snapshot-20100117/build/hppa-linux-gnu/libgomp'
make[5]: Leaving directory `/build/buildd-gcc-snapshot_20100117-1-hppa-8pg21G/gcc-snapshot-20100117/build/hppa-linux-gnu/libgomp'
make[4]: Leaving directory `/build/buildd-gcc-snapshot_20100117-1-hppa-8pg21G/gcc-snapshot-20100117/build/hppa-linux-gnu/libgomp'
make[3]: Leaving directory `/build/buildd-gcc-snapshot_20100117-1-hppa-8pg21G/gcc-snapshot-20100117/build'
make[2]: Leaving directory `/build/buildd-gcc-snapshot_20100117-1-hppa-8pg21G/gcc-snapshot-20100117/build'
s=`cat status`; rm -f status; test $s -eq 0
chmod 755 /build/buildd-gcc-snapshot_20100117-1-hppa-8pg21G/gcc-snapshot-20100117/src/contrib/warn_summary
if [ -x /build/buildd-gcc-snapshot_20100117-1-hppa-8pg21G/gcc-snapshot-20100117/src/contrib/warn_summary ]; then \
	  rm -f bootstrap-summary; \
	  /build/buildd-gcc-snapshot_20100117-1-hppa-8pg21G/gcc-snapshot-20100117/src/contrib/warn_summary bootstrap-protocol \
	    > bootstrap-summary; \
	fi
touch stamps/05-build-stamp
make[1]: Leaving directory `/build/buildd-gcc-snapshot_20100117-1-hppa-8pg21G/gcc-snapshot-20100117'
/usr/bin/make -f debian/rules2 stamps/04-configure-hppa64-stamp
make[1]: Entering directory `/build/buildd-gcc-snapshot_20100117-1-hppa-8pg21G/gcc-snapshot-20100117'
dh_testdir
rm -f stamps/04-configure-hppa64-stamp stamps/05-build-hppa64-stamp
rm -rf /build/buildd-gcc-snapshot_20100117-1-hppa-8pg21G/gcc-snapshot-20100117/build-hppa64
mkdir /build/buildd-gcc-snapshot_20100117-1-hppa-8pg21G/gcc-snapshot-20100117/build-hppa64
: # configure
cd /build/buildd-gcc-snapshot_20100117-1-hppa-8pg21G/gcc-snapshot-20100117/build-hppa64 && \
	  PATH=/build/buildd-gcc-snapshot_20100117-1-hppa-8pg21G/gcc-snapshot-20100117/bin:/usr/lib/gcc/bin:$PATH \
	   \
	  CC="/build/buildd-gcc-snapshot_20100117-1-hppa-8pg21G/gcc-snapshot-20100117/build/gcc/xgcc -B/build/buildd-gcc-snapshot_20100117-1-hppa-8pg21G/gcc-snapshot-20100117/build/gcc/" \
	     ../src/configure \
		--enable-languages=c \
		--prefix=/usr/lib/gcc-snapshot \
		--libexecdir=/usr/lib/gcc-snapshot/libexec \
		--enable-multiarch \
		--disable-shared \
		--disable-nls \
		--disable-threads \
		--disable-libgomp \
		--disable-libmudflap \
		--disable-libssp \
		--with-system-zlib \
		--with-as=/usr/bin/hppa64-linux-gnu-as \
		--with-ld=/usr/bin/hppa64-linux-gnu-ld \
		--includedir=/usr/hppa64-linux-gnu/include \
		--host=hppa-linux-gnu \
		--build=hppa-linux-gnu \
		--target=hppa64-linux-gnu
checking build system type... hppa-unknown-linux-gnu
checking host system type... hppa-unknown-linux-gnu
checking target system type... hppa64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for gawk... gawk
checking for hppa-linux-gnu-gcc... /build/buildd-gcc-snapshot_20100117-1-hppa-8pg21G/gcc-snapshot-20100117/build/gcc/xgcc -B/build/buildd-gcc-snapshot_20100117-1-hppa-8pg21G/gcc-snapshot-20100117/build/gcc/
checking for C compiler default output file name... 
configure: error: in `/build/buildd-gcc-snapshot_20100117-1-hppa-8pg21G/gcc-snapshot-20100117/build-hppa64':
configure: error: C compiler cannot create executables
See `config.log' for more details.
make[1]: *** [stamps/04-configure-hppa64-stamp] Error 77
make[1]: Leaving directory `/build/buildd-gcc-snapshot_20100117-1-hppa-8pg21G/gcc-snapshot-20100117'
make: *** [stamps/04-configure-hppa64-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2



Reply to: