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 libstdc++/13814] New: Bootstrap failure compiling libmath/[nan,copysign,signbit].c


After a generic configure, bootstrap fails with the same message for nan.c,
copysign.c, and signbit.c:

/homes/lucier/programs/gcc/3.4/objdir/gcc/xgcc
-B/homes/lucier/programs/gcc/3.4/objdir/gcc/
-B/usr/local/sparc-sun-solaris2.8/bin/ -B/usr/local/sparc-sun-solaris2.8/lib/
-isystem /usr/local/sparc-sun-solaris2.8/include -isystem
/usr/local/sparc-sun-solaris2.8/sys-include -m64 -DHAVE_CONFIG_H -I.
-I../../../../../libstdc++-v3/libmath -I.. -O2 -g -O2 -O2 -g -O2 -m64 -c
../../../../../libstdc++-v3/libmath/signbit.c  -fPIC -DPIC -o .libs/signbit.o

In file included from ../../../../../libstdc++-v3/libmath/copysignf.c:32:
../../../../../libstdc++-v3/libmath/mathconf.h:84: warning: conflicting types
for built-in function 'nan'
In file included from ../../../../../libstdc++-v3/libmath/signbit.c:32:
../../../../../libstdc++-v3/libmath/mathconf.h:84: warning: conflicting types
for built-in function 'nan'
../../../../../libstdc++-v3/libmath/nan.c: In function `nan':
../../../../../libstdc++-v3/libmath/nan.c:36: error: number of arguments doesn't
match prototype

-- 
           Summary: Bootstrap failure compiling
                    libmath/[nan,copysign,signbit].c
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: lucier at math dot purdue dot edu
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: sparc-sun-solaris2.8
  GCC host triplet: sparc-sun-solaris2.8
GCC target triplet: sparc-sun-solaris2.8


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


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