Build and Check Problems with gcc 4.5.1: Bugs to Be Reported?

Tom Browder tom.browder@gmail.com
Thu Aug 12 01:42:00 GMT 2010


I've just installed gcc 4.5.1 on 2 64-bit (Ubuntu 10.04) and one
32-bit (Centos 5.3) machine. I could not get the build method to work
where you are supposed to be able to put the source directories of
gmp, mpfr, and mpc in the gcc source directory (although I have had
success in the past with earlier versions of gcc).

Using a more conventional means, I used gcc-4.5.0 for the build and
installed the following packages (into /usr/local):

gmp-4.3.2.tar.bz2  [--configure]
mpfr-3.0.0.tar.bz2  [--configure --with-gmp=/usr/local]
mpc-0.8.2.tar.gz    [--configure --with-gmp=/usr/local --with-mpfr=/usr/local]

before proceeding with the gcc configuration and build.

On each pre-req I did the conventional:

tar -xv[jz]f <arch>
cd <src dir>
./configure <args as show in square brackets above>
make -j3
make check
sudo make install

Configuration step:

../gcc-4.5.1/configure  \
       --program-suffix=-4.5.1 \
       --enable-languages=c,c++,fortran,objc,obj-c++ \
       --disable-multilib \
       --enable-version-specific-runtime-libs \
       --disable-nls

Build step:

  make -j3 BOOT_CFLAGS='-O' bootstrap-lean

Then I did the gcc config, build, check, and install.

The check was:

make -k check

I did get some "FAIL:" results but, according to some gcc
instructions, they are not too significant.  However, I have repeated
them here:

FAIL: gcc.dg/guality/vla-1.c  -O0  line 17 sizeof (a) == 6
FAIL: gcc.dg/guality/vla-1.c  -O0  line 24 sizeof (a) == 17 * sizeof (short)
FAIL: gcc.dg/guality/vla-1.c  -O1  line 17 sizeof (a) == 6
FAIL: gcc.dg/guality/vla-1.c  -O1  line 24 sizeof (a) == 17 * sizeof (short)
FAIL: gcc.dg/guality/vla-1.c  -O2  line 17 sizeof (a) == 6
FAIL: gcc.dg/guality/vla-1.c  -O2  line 24 sizeof (a) == 17 * sizeof (short)
FAIL: gcc.dg/guality/vla-1.c  -O3 -fomit-frame-pointer  line 17 sizeof (a) == 6
FAIL: gcc.dg/guality/vla-1.c  -O3 -fomit-frame-pointer  line 24 sizeof
(a) == 17 * sizeof (short)
FAIL: gcc.dg/guality/vla-1.c  -O3 -g  line 17 sizeof (a) == 6
FAIL: gcc.dg/guality/vla-1.c  -O3 -g  line 24 sizeof (a) == 17 * sizeof (short)
FAIL: gcc.dg/guality/vla-1.c  -Os  line 17 sizeof (a) == 6
FAIL: gcc.dg/guality/vla-1.c  -Os  line 24 sizeof (a) == 17 * sizeof (short)
FAIL: libmudflap.c/pass46-frag.c (-O2) (test for excess errors)
FAIL: libmudflap.c/pass46-frag.c (-O2) (test for excess errors)
FAIL: libmudflap.c/fail31-frag.c (-O3) output pattern test
FAIL: libmudflap.c/pass45-frag.c (-O3) execution test
FAIL: libmudflap.c/pass45-frag.c (-O3) output pattern test
FAIL: libmudflap.c/pass45-frag.c (-O3) execution test
FAIL: libmudflap.c/pass45-frag.c (-O3) output pattern test
FAIL: libmudflap.c/pass46-frag.c (-O3) (test for excess errors)
FAIL: libmudflap.c/pass46-frag.c (-O3) (test for excess errors)
FAIL: libmudflap.c++/pass41-frag.cxx execution test
FAIL: libmudflap.c++/pass41-frag.cxx ( -O) execution test
FAIL: libmudflap.c++/pass41-frag.cxx (-O2) execution test
FAIL: libmudflap.c++/pass41-frag.cxx (-O3) execution test
FAIL: abi_check

My concerns are two:

1.  Should I be worried about the check results?

2.  Should I file a bug report for any or all of these problems?

Explanations, questions, suggestions, comments, or questions solicited.

Thanks,

-Tom

Thomas M. Browder, Jr.
Niceville, Florida
USA



More information about the Gcc-help mailing list