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

Bug#163234: gcc-2.95.4-12 won't build on native hurd-i386



Package: gcc-2.95
Version: 1:2.95.4-12

Hi,

I can't build gcc-2.95_2.95.4-12 (or gcc-2.95_2.95.4-11woody1)
natively on a hurd-i386 system.  The package build fails with
an error coming from some header files that come with the source,
I believe, namely _G_config.h and iolibio.h.  Details:

System: Debian GNU/Hurd 0.3 (hurd_20020918-1), gnumach 0.2
        (gnumach_20020421-1), libc0.3 (libc0.3_2.2.5-13),
        gcc 3.2 (gcc-3.2_3.2-0pre3 and related tools).

Output of errors when dpkg-buildpackage dies:
------------------------------------------------------------------------
make[4]: Leaving directory
`/root/deb_src/gcc-2.95-2.95.4.ds14/build-native/i386-gnu/libiberty'
make[4]: Entering directory
`/root/deb_src/gcc-2.95-2.95.4.ds14/build-native/i386-gnu/libio'
if [ x"yes" = xyes ] && [ ! -d pic ]; then \
  mkdir pic; \
else true; fi
touch stamp-picdir
rootme=`pwd`/ ; export rootme; \
CC="/root/deb_src/gcc-2.95-2.95.4.ds14/build-native/gcc/xgcc
-B/root/deb_src/gcc-2.95-2.95.4.ds14/build-native/gcc/
-B/usr/i386-gnu/bin/ -I.
-I/root/deb_src/gcc-2.95-2.95.4.ds14/src-native/libio"; export CC; \
CXX="/root/deb_src/gcc-2.95-2.95.4.ds14/build-native/gcc/xgcc
-B/root/deb_src/gcc-2.95-2.95.4.ds14/build-native/gcc/
-B/usr/i386-gnu/bin/ -I.
-I/root/deb_src/gcc-2.95-2.95.4.ds14/src-native/libio -nostdinc++
-nostdinc++ -g -O2"; export CXX; \
CONFIG_NM="nm"; export CONFIG_NM; \
/bin/sh /root/deb_src/gcc-2.95-2.95.4.ds14/src-native/libio/gen-params
LIB_VERSION=2.8.0  >tmp-params.h
mv tmp-params.h _G_config.h
test x"yes" != xyes ||\
  /root/deb_src/gcc-2.95-2.95.4.ds14/build-native/gcc/xgcc
-B/root/deb_src/gcc-2.95-2.95.4.ds14/build-native/gcc/
-B/usr/i386-gnu/bin/ -c  -I.
-I/root/deb_src/gcc-2.95-2.95.4.ds14/src-native/libio  -fpic
/root/deb_src/gcc-2.95-2.95.4.ds14/src-native/libio/filedoalloc.c -o
pic/filedoalloc.o
In file included from
/root/deb_src/gcc-2.95-2.95.4.ds14/src-native/libio/libio.h:30,
                 from
/root/deb_src/gcc-2.95-2.95.4.ds14/src-native/libio/iolibio.h:1,
                 from
/root/deb_src/gcc-2.95-2.95.4.ds14/src-native/libio/libioP.h:47,
                 from
/root/deb_src/gcc-2.95-2.95.4.ds14/src-native/libio/filedoalloc.c:45:
_G_config.h:34: parse error before `_G_fpos_t'
_G_config.h:34: warning: data definition has no type or storage class
In file included from
/root/deb_src/gcc-2.95-2.95.4.ds14/src-native/libio/libioP.h:47,
                 from
/root/deb_src/gcc-2.95-2.95.4.ds14/src-native/libio/filedoalloc.c:45:
/root/deb_src/gcc-2.95-2.95.4.ds14/src-native/libio/iolibio.h:13: parse
error before `_G_fpos_t'
/root/deb_src/gcc-2.95-2.95.4.ds14/src-native/libio/iolibio.h:18: parse
error before `*'
make[4]: *** [filedoalloc.o] Error 1
make[4]: Leaving directory
`/root/deb_src/gcc-2.95-2.95.4.ds14/build-native/i386-gnu/libio'
make[3]: *** [all-target-libio] Error 2
make[3]: Leaving directory
`/root/deb_src/gcc-2.95-2.95.4.ds14/build-native'
make[2]: *** [bootstrap-lean] Error 2
make[2]: Leaving directory
`/root/deb_src/gcc-2.95-2.95.4.ds14/build-native'
s=`cat status`; rm -f status; test $s -eq 0
make[1]: *** [stamps/05-build-stamp-native] Error 1
make[1]: Leaving directory `/root/deb_src/gcc-2.95-2.95.4.ds14'
make: *** [stamps/05-build-stamp-native] Error 2
------------------------------------------------------------------------

Errors from these header files look "strange" to me so I thought I'd
report them.  Please feel free to e-mail me at csigler@vt.edu with any
questions or problems.  Thanks :^)

					Clemmitt Sigler




Reply to: