delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/03/10/04:32:11

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Thu, 10 Mar 2011 10:31:47 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Bug? LLVM builds fail on 1.7.8 (fenv.h)
Message-ID: <20110310093147.GX12899@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <AANLkTi=WbQujm3y7eVKnqR8y+_cuDwaCE3q+aAjMT7am AT mail DOT gmail DOT com> <20110310092613 DOT GW12899 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
In-Reply-To: <20110310092613.GW12899@calimero.vinschen.de>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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
ASAP?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019