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-testresu...@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


-- 
           Summary: Default configure options for i686 OpenBSD produce gcc
                    that FAILs too many Tests
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rob1weld at aol dot com
 GCC build triplet: x86_64-unknown-openbsd4.5
  GCC host triplet: x86_64-unknown-openbsd4.5
GCC target triplet: i686-unknown-openbsd4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39584

Reply via email to