public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/19481] New: libgfortran doesn't build -- configure doesn't handle cabs() well
@ 2005-01-17 13:24 coudert at clipper dot ens dot fr
  2005-01-17 15:15 ` [Bug libfortran/19481] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: coudert at clipper dot ens dot fr @ 2005-01-17 13:24 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-09-07 14:10 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-17 13:24 [Bug bootstrap/19481] New: libgfortran doesn't build -- configure doesn't handle cabs() well coudert at clipper dot ens dot fr
2005-01-17 15:15 ` [Bug libfortran/19481] " pinskia at gcc dot gnu dot org
2005-01-17 15:55 ` pinskia at gcc dot gnu dot org
2005-01-17 17:10 ` coudert at clipper dot ens dot fr
2005-05-01 14:33 ` pinskia at gcc dot gnu dot org
2005-05-02  7:42 ` fxcoudert at gcc dot gnu dot org
2005-05-31 17:06 ` giovannibajo at libero dot it
2005-09-05 10:37 ` fxcoudert at gcc dot gnu dot org
2005-09-07 14:10 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).