This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug preprocessor/12847] New: xxx.c:1:20: stdint.h: No such file or directory


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: xxx.c:1:20: stdint.h: No such file or directory
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: preprocessor
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: hppa2.0w-hp-hpux11.00
  GCC host triplet: hppa2.0w-hp-hpux11.00
GCC target triplet: hppa2.0w-hp-hpux11.00

# cat xxx.c
#include <stdint.h>
# ./xgcc -B./ -E xxx.c
# 1 "<built-in>"
# 1 "<command line>"
# 1 "xxx.c"
xxx.c:1:20: stdint.h: No such file or directory
# echo $?
0

stdint.h doesn't exist on hppa2.0-hp-hpux11.00.  The message is correct
but the exit value for gcc is wrong.  Adding "-Werror" doesn't affect the
exit value.

This causes configure checks in libiberty and libstdc++-v3 to break.  For
example,

configure:5490: checking for stdint.h
configure:5507: /xxx/gnu/gcc-3.3/objdir/gcc/xgcc -B/xxx/gnu/gcc-3.3/objdir/gcc/ 
-B/opt/gnu/hppa2.0w-hp-hpux11.00/bin/ -B/opt/gnu/hppa2.0w-hp-hpux11.00/lib/ -isy
stem /opt/gnu/hppa2.0w-hp-hpux11.00/include -isystem /opt/gnu/hppa2.0w-hp-hpux11
.00/sys-include -c -O2 -g -O2 -O2 -g -O2 conftest.c >&5
configure:5551:20: stdint.h: No such file or directory
configure:5510: $? = 0
configure:5513: test -s conftest.o
configure:5516: $? = 0
configure:5527: result: yes

The result is numerous regression in the g++ testsuite because stdint.h
gets included by the v3 headers.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]