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]

compiling libio under glibc-2.2


Debian unstable has upgraded to glic-2.2 and now libio doesn't
compile.  (I'm blaming glibc right now... )

Anybody else seen this?  Is there a fix?

make[1]: Entering directory `/build/tools/egcs-linux/libiberty'
make[2]: Entering directory `/build/tools/egcs-linux/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/build/tools/egcs-linux/libiberty/testsuite'
make[1]: Leaving directory `/build/tools/egcs-linux/libiberty'
make[1]: Entering directory `/build/tools/egcs-linux/texinfo'
make all-recursive
make[2]: Entering directory `/build/tools/egcs-linux/texinfo'
Making all in intl
make[3]: Entering directory `/build/tools/egcs-linux/texinfo/intl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/build/tools/egcs-linux/texinfo/intl'
Making all in lib
make[3]: Entering directory `/build/tools/egcs-linux/texinfo/lib'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/build/tools/egcs-linux/texinfo/lib'
Making all in makeinfo
make[3]: Entering directory `/build/tools/egcs-linux/texinfo/makeinfo'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/build/tools/egcs-linux/texinfo/makeinfo'
Making all in util
make[3]: Entering directory `/build/tools/egcs-linux/texinfo/util'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/build/tools/egcs-linux/texinfo/util'
make[2]: Leaving directory `/build/tools/egcs-linux/texinfo'
make[1]: Leaving directory `/build/tools/egcs-linux/texinfo'
make[1]: Entering directory `/build/tools/egcs-linux/zlib'
true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2"
"CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=-g -O2" "INSTALL=/bin/sh
/home/build/tools/egcs/install-sh -c" "INSTALL_DATA=/bin/sh
/home/build/tools/egcs/install-sh -c -m 644" "INSTALL_PROGRAM=/bin/sh
/home/build/tools/egcs/install-sh -c " "INSTALL_SCRIPT=/bin/sh
/home/build/tools/egcs/install-sh -c" "LDFLAGS=" "LIBCFLAGS=-g -O2"
"LIBCFLAGS_FOR_TARGET=-g -O2" "MAKE=make"
"MAKEINFO=/home/build/tools/egcs-linux/texinfo/makeinfo/makeinfo  "
"PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expect"
"RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/usr/local"
"infodir=/usr/local/info" "libdir=/usr/local/lib" "prefix=/usr/local"
"tooldir=/usr/local/i686-pc-linux-gnu" "AR=ar" "AS=as" "CC=gcc" "CXX=c++"
"LD=ld" "LIBCFLAGS=-g -O2" "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR="
DO=all multi-do
make[1]: Leaving directory `/build/tools/egcs-linux/zlib'
make[1]: Entering directory `/build/tools/egcs-linux/gcc'
(cd intl && make all)
make[2]: Entering directory `/build/tools/egcs-linux/gcc/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/build/tools/egcs-linux/gcc/intl'
(cd po && make all)
make[2]: Entering directory `/build/tools/egcs-linux/gcc/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/build/tools/egcs-linux/gcc/po'
if [ -f specs.ready ] ; then \
	true; \
else \
	touch specs.ready; \
fi
make
GCC_FOR_TARGET="/home/build/tools/egcs-linux/gcc/xgcc -B/home/build/tools/eg
cs-linux/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux
-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include" \
  HOST_PREFIX="" HOST_PREFIX_1="loser-" \
  AR_FOR_TARGET="ar" \
  AR_CREATE_FOR_TARGET="ar  rc" \
  AR_FLAGS_FOR_TARGET="" \
  OLDCC="cc" CCLIBFLAGS="-O" \


CFLAGS="-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-protot
ypes -Wtraditional -pedantic -Wno-long-long" \
  RANLIB_FOR_TARGET="ranlib" \
  RANLIB_TEST_FOR_TARGET="[ -f ranlib ] || ( [ "i686-pc-linux-gnu" =
"i686-pc-linux-gnu" ] && [ -f /usr/bin/ranlib -o -f /bin/ranlib ] )" \
  NM_FOR_TARGET="nm" AWK="mawk" \


LIBGCC2_CFLAGS="-O2   -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototyp
es -Wmissing-prototypes -isystem
./include  -fPIC -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED " \


INCLUDES="-I. -I. -I../../egcs/gcc -I../../egcs/gcc/. -I../../egcs/gcc/confi
g -I../../egcs/gcc/../include" MAYBE_USE_COLLECT2="" \
  CONFIG_H="" MACHMODE_H="machmode.h machmode.def" \
  LIB1ASMSRC='' \
  -f libgcc.mk all
make[2]: Entering directory `/build/tools/egcs-linux/gcc'
for d in libgcc; do \
  if [ -d $d ]; then true; else mkdir $d; fi \
done
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
make[2]: Leaving directory `/build/tools/egcs-linux/gcc'
make[1]: Leaving directory `/build/tools/egcs-linux/gcc'
make[1]: Entering directory
`/build/tools/egcs-linux/i686-pc-linux-gnu/libiberty'
make[2]: Entering directory
`/build/tools/egcs-linux/i686-pc-linux-gnu/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/build/tools/egcs-linux/i686-pc-linux-gnu/libiberty/testsuite'
make[2]: Entering directory
`/build/tools/egcs-linux/i686-pc-linux-gnu/libiberty'
if [ -z "" ]; then \
  true; \
else \
  rootpre=`pwd`/; export rootpre; \
  srcrootpre=`cd ../../../egcs/libiberty; pwd`/; export srcrootpre; \
  lib=`echo ${rootpre} | sed -e 's,^.*/\([^/][^/]*\)/$,\1,'`; \


compiler="/home/build/tools/egcs-linux/gcc/xgcc -B/home/build/tools/egcs-lin
ux/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/l
ib/ -isystem /usr/local/i686-pc-linux-gnu/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}; make "AR=ar" "AR_FLAGS=rc"
"CC=/home/build/tools/egcs-linux/gcc/xgcc -B/home/build/tools/egcs-linux/gcc
/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -i
system /usr/local/i686-pc-linux-gnu/include" "CFLAGS=-g -O2"
"LIBCFLAGS=-g -O2" "EXTRA_OFILES=" "HDEFINES=" "INSTALL=/bin/sh
/home/build/tools/egcs/install-sh -c" "INSTALL_DATA=/bin/sh
/home/build/tools/egcs/install-sh -c -m 644" "INSTALL_PROGRAM=/bin/sh
/home/build/tools/egcs/install-sh -c " "LDFLAGS=" "LOADLIBES="
"RANLIB=ranlib" "SHELL=/bin/sh" "prefix=/usr/local" "exec_prefix=/usr/local"
"libdir=/usr/local/lib"
"libsubdir=/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.97"
"tooldir=/usr/local/i686-pc-linux-gnu" \
			CFLAGS="-g -O2 ${flags}" \
			prefix="/usr/local" \
			exec_prefix="/usr/local" \
			CXXFLAGS="-g -O2 -fvtable-thunks -D_GNU_SOURCE ${flags}" \
			LIBCFLAGS="-g -O2 ${flags}" \
			LIBCXXFLAGS="-g -O2 -fvtable-thunks -D_GNU_SOURCE -fno-implicit-templates
${flags}" \
			LDFLAGS=" ${flags}" \
			all); then \
	  true; \
	else \
	  exit 1; \
	fi; \
      else true; \
      fi; \
    fi; \
  done; \
fi
make[2]: Leaving directory
`/build/tools/egcs-linux/i686-pc-linux-gnu/libiberty'
make[1]: Leaving directory
`/build/tools/egcs-linux/i686-pc-linux-gnu/libiberty'
make[1]: Entering directory
`/build/tools/egcs-linux/i686-pc-linux-gnu/libio'
if [ x"" != x ]; then \


/home/build/tools/egcs-linux/gcc/xgcc -B/home/build/tools/egcs-linux/gcc/ -B
/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isyst
em /usr/local/i686-pc-linux-gnu/include -c -g -O2 -I. -I../../../egcs/libio
../../../egcs/libio/filedoalloc.c -o pic/filedoalloc.o; \
else true; fi
/home/build/tools/egcs-linux/gcc/xgcc -B/home/build/tools/egcs-linux/gcc/ -B
/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isyst
em /usr/local/i686-pc-linux-gnu/include -c -g -O2 -I. -I../../../egcs/libio
../../../egcs/libio/filedoalloc.c
_G_config.h:34: parse error before "_G_fpos_t"
_G_config.h:34: warning: data definition has no type or storage class
_G_config.h:45: parse error before "_G_sigset_t"
_G_config.h:45: warning: data definition has no type or storage class
../../../egcs/libio/iolibio.h:13: parse error before "_G_fpos_t"
../../../egcs/libio/iolibio.h:18: parse error before '*' token
make[1]: *** [filedoalloc.o] Error 1
make[1]: Leaving directory `/build/tools/egcs-linux/i686-pc-linux-gnu/libio'
make: *** [all-target-libio] Error 2


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