This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/20105] New: Compilation fails on math.h
- From: "jeffcorbets at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Feb 2005 15:19:16 -0000
- Subject: [Bug libfortran/20105] New: Compilation fails on math.h
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Error Messages:
/disk2/gcc/gcc/libgfortran/generated/exp_c8.c:38: error: conflicting types for
'cabs'
/disk2/gcc/gcc/libgfortran/generated/exp_c8.c:38:: Too many arguments.
/disk2/gcc/gcc-obj/gcc/include/math.h:676: error: previous declaration of 'cabs'
was here
/disk2/gcc/gcc-obj/gcc/include/math.h:676:: Too many arguments.
gmake[6]: *** [exp_c8.lo] Error 1
gmake[6]: Leaving directory `/disk2/gcc/gcc-obj/mips-sgi-irix6.5/32/libgfortran'
gmake[5]: *** [all] Error 2
gmake[5]: Leaving directory `/disk2/gcc/gcc-obj/mips-sgi-irix6.5/32/libgfortran'
gmake[4]: *** [multi-do] Error 1
gmake[4]: Leaving directory `/disk2/gcc/gcc-obj/mips-sgi-irix6.5/libgfortran'
gmake[3]: *** [all-multi] Error 2
gmake[3]: Leaving directory `/disk2/gcc/gcc-obj/mips-sgi-irix6.5/libgfortran'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/disk2/gcc/gcc-obj/mips-sgi-irix6.5/libgfortran'
gmake[1]: *** [all-target-libgfortran] Error 2
gmake[1]: Leaving directory `/disk2/gcc/gcc-obj'
gmake: *** [bootstrap] Error 2
Command to Configure:
/disk2/gcc/gcc/configure --with-as=/usr/local/mips-sgi-irix6.5/bin/as
--enable-languages=c,c++,f95,objc --with-gmp=/usr/local --with-mpfr=/usr/local
Command to Compile:
gmake bootstrap
Output of gcc -v:
Reading specs from /usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.3/specs
Configured with: ../configure --prefix=/usr/freeware
--enable-version-specific-runtime-libs --disable-shared --enable-threads
--enable-haifa --enable-libgcj --disable-c-mbchar
Thread model: single
gcc version 3.3
--
Summary: Compilation fails on math.h
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libfortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jeffcorbets at gmail dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: mips-sgi-irix6.5
GCC host triplet: mips-sgi-irix6.5
GCC target triplet: mips-sgi-irix6.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20105