Bug 39584 - Default configure options for i686 OpenBSD produce gcc that FAILs too many Tests
Summary: Default configure options for i686 OpenBSD produce gcc that FAILs too many Tests
Status: UNCONFIRMED
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 4.5.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords: testsuite-fail
Depends on:
Blocks:
 
Reported: 2009-03-30 03:18 UTC by Rob
Modified: 2021-12-27 22:35 UTC (History)
1 user (show)

See Also:
Host: x86_64-unknown-openbsd4.5
Target: i686-unknown-openbsd4.5
Build: x86_64-unknown-openbsd4.5
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rob 2009-03-30 03:18:49 UTC
When configuring gcc for OpenBSD 4.5 with 'normal' (default? / simple)
configure options the resulting compiler FAILs so many Tests that it is 
likely that the email to "gcc-testresults@gcc.gnu.org" would bounce.


Many of the Testsuite Tests require the Header File "stdbool.h"
or the Test will FAIL. Here is one of _many_ errors from gcc.log :

PASS: gcc.c-torture/compile/20010114-1.c (test for excess errors)
Executing on host: /home/user/gcc_build/gcc/xgcc -B/home/user/gcc_build/gcc/   -O0  -w -c  -o 20010114-2.o /usr/src/gcc_trunk/gcc/testsuite/gcc.c-torture/compile/20010114-2.c    (timeout = 300)
/usr/src/gcc_trunk/gcc/testsuite/gcc.c-torture/compile/20010114-2.c:4:21: error: stdbool.h: No such file or directory
/usr/src/gcc_trunk/gcc/testsuite/gcc.c-torture/compile/20010114-2.c:6: error: expected specifier-qualifier-list before 'bool'
/usr/src/gcc_trunk/gcc/testsuite/gcc.c-torture/compile/20010114-2.c:6: error: 'false' undeclared here (not in a function)
compiler exited with status 1
output is:
/usr/src/gcc_trunk/gcc/testsuite/gcc.c-torture/compile/20010114-2.c:4:21: error: stdbool.h: No such file or directory
/usr/src/gcc_trunk/gcc/testsuite/gcc.c-torture/compile/20010114-2.c:6: error: expected specifier-qualifier-list before 'bool'
/usr/src/gcc_trunk/gcc/testsuite/gcc.c-torture/compile/20010114-2.c:6: error: 'false' undeclared here (not in a function)
FAIL: gcc.c-torture/compile/20010114-2.c (test for excess errors)



I do have the stdbool.h Header File as part of my Operating System and 
gcc does have that file also but neither does "make install" cause the
file to be installed (in the --prefix= directory) nor does the Testsuite
refer to either stdbool.h (by using a correct Include Path ("-I")).


# uname -a
OpenBSD openbsd.localdomain 4.5 GENERIC#5 amd64


(Host Compiler) # gcc -v
Reading specs from /usr/lib/gcc-lib/amd64-unknown-openbsd4.5/3.3.5/specs
Configured with:
Thread model: single
gcc version 3.3.5 (propolice)


# updatedb
# locate stdbool.h
/usr/include/stdbool.h
/usr/src/gcc_trunk/gcc/ginclude/.svn/text-base/stdbool.h.svn-base
/usr/src/gcc_trunk/gcc/ginclude/stdbool.h
/usr/src/gcc_trunk/libstdc++-v3/include/c_compatibility/.svn/text-base/stdbool.h.svn-base
/usr/src/gcc_trunk/libstdc++-v3/include/c_compatibility/stdbool.h
/usr/src/gcc_trunk/libstdc++-v3/include/tr1/.svn/text-base/stdbool.h.svn-base
/usr/src/gcc_trunk/libstdc++-v3/include/tr1/stdbool.h


# /home/usr/gcc_installed/bin/i686-unknown-openbsd4.5-gcc -v
Using built-in specs.
Target: i686-unknown-openbsd4.5
Configured with: /usr/src/gcc_trunk/configure --prefix=/home/usr/gcc_installed --build=x86_64-unknown-openbsd4.5 --host=x86_64-unknown-openbsd4.5 --target=i686-unknown-openbsd4.5 --enable-languages=c,c++,fortran,java,objc,obj-c++ --enable-multilib --disable-stage1-checking --enable-checking=release --with-gmp=/usr/local --with-mpfr=/usr/local
Thread model: single
gcc version 4.5.0 20090328 (experimental) [trunk revision 145157] (GCC)


Thanks,
Rob
Comment 1 Rob 2009-04-18 12:49:53 UTC
Thanks for adjusting the "Severity" for me Andrew. There have 
been _small_ improvements in the Testsuite Results recently.

The "C" compiler has gone from 828 errors a couple of months ago to a 
new low of only 742, but the "C++" compiler went from 53 to 2198 errors.


Results for 4.5.0 20090417 (experimental) [trunk revision 146277] (GCC) testsuite on i386-unknown-openbsd4.5
http://gcc.gnu.org/ml/gcc-testresults/2009-04/msg01867.html

Results for 4.5.0 20090407 (experimental) [trunk revision 145649] (GCC) testsuite on i686-unknown-linux-gnu
http://gcc.gnu.org/ml/gcc-testresults/2009-04/msg00745.html

Results for 4.4.0 20090224 (experimental) [trunk revision 144400] (GCC) testsuite on i386-unknown-openbsd4.5
http://gcc.gnu.org/ml/gcc-testresults/2009-04/msg00420.html

Rob