This is the mail archive of the
mailing list for the Cygwin project.
Re: Bug? LLVM builds fail on 1.7.8 (fenv.h)
On Mar 10 10:26, Corinna Vinschen wrote:
> On Mar 9 17:47, Magnus Reftel wrote:
> > Hi all,
> > it seems that the fenv.h introduction may have caused some problems.
> > LLVM fails to build now, and fit seems to me that it could be because
> > #define _GLIBCXX_HAVE_FENV_H 1
> > is missing in
> > /usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/i686-pc-cygwin/bits/c++config.h
> > For the analysis, please see LLVM bug 9436 at
> > http://llvm.org/bugs/show_bug.cgi?id=9436
> This isn't a Cygwin bug, but a bug in LLVM.
> How on earth can anybody expect that a define _GLIBCXX_HAVE_FENV_H is
> set on a system which doesn't even *use* glibc?
> The right thing to do for LLVM would be to add a autoconf test to
> check for fenv.h and then use HAVE_FENV_H instead of realying on a
> system-dependent define in one of the compiler headers.
Hang on, I take that back. I just realized that this is actually all
in the GCC header files and that GCC actually uses _GLIBC prefixed
macros, even on systems not using glibc. Oh well.
Dave? Any chance we can get a new gcc 4.3.4 package with this change
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple