rune_t: build failure on i386-unknown-freebsdelf3.4 of 20000203

Axel Thimm Axel.Thimm@physik.fu-berlin.de
Fri Feb 4 10:04:00 GMT 2000


Latest snapshot (and perhaps earlier snapshots I haven't tested) on FreeBSD
fail on a doubly defined rune_t. The relevant section of /usr/include/stdlib.h
reads:

#if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
#ifdef  _BSD_RUNE_T_
typedef _BSD_RUNE_T_    rune_t;
#undef  _BSD_RUNE_T_
#endif
#endif

The error log follows:
for name in _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2 _lshrdi3 _ashldi3 _ashrdi3 _ffsdi2 _udiv_w_sdiv _udivmoddi4 _cmpdi2 _ucmpdi2 _floatdidf _floatdisf _fixunsdfsi _fixunssfsi _fixunsdfdi _fixdfdi _fixunssfdi _fixsfdi _fixxfdi _fixunsxfdi _floatdixf _fixunsxfsi _fixtfdi _fixunstfdi _floatditf __gcc_bcmp _varargs __dummy _eprintf _bb _shtab _clear_cache _trampoline __main _exit _ctors _pure; \
do \
  echo ${name}; \
  /amd/titania/0/data/thimm/work/build/egcs/i386-unknown-freebsdelf3.4/gcc/xgcc -B/amd/titania/0/data/thimm/work/build/egcs/i386-unknown-freebsdelf3.4/gcc/ -B/home/thimm/public/gcc-2.96_20000203/i386-unknown-freebsdelf3.4/i386-unknown-freebsdelf3.4/bin/ -I/home/thimm/public/gcc-2.96_20000203/i386-unknown-freebsdelf3.4/i386-unknown-freebsdelf3.4/include -O2   -DIN_GCC    -g -O2 -I./include   -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I/home/thimm/work/src/egcs/gcc -I/home/thimm/work/src/egcs/gcc/config -I/home/thimm/work/src/egcs/gcc/../include -c -DL${name} \
       /home/thimm/work/src/egcs/gcc/libgcc2.c -o ${name}.o; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  ar rc tmplibgcc2.a ${name}.o; \
  rm -f ${name}.o; \
done
_muldi3
In file included from /home/thimm/work/src/egcs/gcc/tsystem.h:69,
                 from /home/thimm/work/src/egcs/gcc/libgcc2.c:35:
/usr/include/stdlib.h:45: redefinition of `rune_t'
include/stddef.h:271: `rune_t' previously declared here
-- 
Axel.Thimm@physik.fu-berlin.de Axel.Thimm@ifh.de


More information about the Gcc mailing list