This one is strange. On i686-mingw, compiling gfortran fails with:
../../../gcc/libgfortran/generated/exp_c8.c:38: error: conflicting types for
'cabs'
/mingw/include/math.h:223: error: previous declaration of 'cabs' was here
make[2]: *** [exp_c8.lo] Error 1
make[2]: Leaving directory `/home/coudert/ibin/i686-pc-mingw32/libgfortran'
make[1]: *** [all] Error 2
I guess, somewhere in the configure process, the presence of cabs() in math.h
was not detected. This is not specific to i686-mingw, since the same thing
happens on mips-sgi-irix6.5 (which I reported as comment #7 in PR15266).
So, I submit a new PR (hope "component=bootstrap" was the right choice, not
sure) so that GNU build utils gurus can get this fixed. I am ready to give any
extra information needed, but I don't know what may be useful at that point.
PS: configure was a simple ../gcc/configure --prefix=/mingw
--enable-languages=c,f95
--
Summary: libgfortran doesn't build -- configure doesn't handle
cabs() well
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: coudert at clipper dot ens dot fr
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19481