From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manfred Hollstein To: egcs@cygnus.com Cc: hjl@lucon.org, Manfred.Hollstein@ks.sel.alcatel.de Subject: CVS egcs-980214: results on i586-linux-gnulibc1 haifa disabled Date: Sun, 15 Feb 1998 05:30:00 -0000 Message-id: <199802151320.OAA31475@saturn.s-direktnet.de> X-SW-Source: 1998-02/msg00686.html Sources: - egcs from CVS last updated on 1998/02/15 10:20:28 MET - libg++-2.8.1-980201 Configuration: - i586-linux-gnulibc1 Environment: - Debian Linux 1.3.1 - Kernel 2.0.33 - GNU binutils-2.8.1.0.15 - dejagnu-971028 - libc-5.4.39 - ld.so-1.9.6 Patches applied: [1]: Final patch for `Re: [971016]: PICFLAG vs. multilib - solution' patch from [2]: patch to /usr/include/huge_val.h - see below. WOW, got my egcs patch count down to 1 ;-) config env: CC=gcc CFLAGS=-O9 -march=pentium -mcpu=pentium -malign-loops=0 -malign-jumps=0 \ -malign-functions=0 -fomit-frame-pointer LDFLAGS=-s config flags: --enable-shared --with-gnu-as --with-gnu-ld --prefix=/tools/gnu --with-gxx-include-dir=/tools/gnu/lib/gcc-lib/i586-linux-gnulibc1/egcs-2.91.08/include/g++ --with-local-prefix=/tools/gnu BOOT_CFLAGS: -O9 -march=pentium -mcpu=pentium -malign-loops=0 -malign-jumps=0 \ -malign-functions=0 -fomit-frame-pointer gcc used for bootstrapping: gcc version 2.8.0 The recent change to `disable labeled initializers since they do not work' broke building libg++ on i?86-linux-gnulibc1 successfully. The include file /usr/include/huge_val.h still uses this extension :-( I used the patch below to be able to compile. H.J., this is still in libc-5.4.44 - do you know a proper way to deal with this? Perhaps we should simply remove the use of this _not working_ extension?!? diff -u -p /usr/include/huge_val.h.orig /usr/include/huge_val.h --- /usr/include/huge_val.h.orig Sun Apr 13 01:28:41 1997 +++ /usr/include/huge_val.h Sun Feb 15 11:46:35 1998 @@ -43,7 +43,7 @@ extern const double __huge_val; #endif #define __huge_val_t union { unsigned char __c[8]; double __d; } -#ifdef __GNUC__ +#if defined (__GNUC__) && defined (__GNUC_MINOR__) && (__GNUC_MINOR__ < 91) #define HUGE_VAL (__extension__ \ ((__huge_val_t) { __c: __HUGE_VAL_bytes }).__d) #else /* Not GCC. */ @@ -65,7 +65,7 @@ static __huge_val_t __huge_val = { __HUG #endif #define __huge_valf_t union { unsigned char __c[4]; float __f; } -#ifdef __GNUC__ +#if defined (__GNUC__) && defined (__GNUC_MINOR__) && (__GNUC_MINOR__ < 91) #define HUGE_VALf (__extension__ \ ((__huge_valf_t) { __c: __HUGE_VALf_bytes }).__f) #else /* Not GCC. */ @@ -81,7 +81,7 @@ static __huge_valf_t __huge_valf = { __H #endif #define __huge_vall_t union { unsigned char __c[12]; long double __ld; } -#ifdef __GNUC__ +#if defined (__GNUC__) && defined (__GNUC_MINOR__) && (__GNUC_MINOR__ < 91) #define HUGE_VALl (__extension__ \ ((__huge_vall_t) { __c: __HUGE_VALl_bytes }).__ld) #else /* Not GCC. */ Results: -------- Test Run By manfred on Sun Feb 15 11:48:41 1998 Native configuration is i586-pc-linux-gnulibc1 === libio Summary === # of expected passes 40 Test Run By manfred on Sun Feb 15 11:49:33 1998 Native configuration is i586-pc-linux-gnulibc1 === libstdc++ Summary === # of expected passes 30 Test Run By manfred on Sun Feb 15 11:57:33 1998 Native configuration is i586-pc-linux-gnulibc1 === gcc Summary === # of expected passes 5994 # of expected failures 7 # of unsupported tests 7 /home/manfred/work/GNU/egcs-980214-i586-linux-gnulibc1/gcc/xgcc version egcs-2.91.08 980214 (gcc-2.8.0 release) Test Run By manfred on Sun Feb 15 12:18:07 1998 Native configuration is i586-pc-linux-gnulibc1 === g++ Summary === # of expected passes 3677 # of expected failures 79 # of untested testcases 6 /home/manfred/work/GNU/egcs-980214-i586-linux-gnulibc1/gcc/testsuite/../xgcc version egcs-2.91.08 980214 (gcc-2.8.0 release)