This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH/RFC,libgcc/dfp/bid] Omit exception-related functions from libbid when fenv.h not present [was Re: Broken bootstrap on Cygwin]
- From: Dave Korn <dave dot korn dot cygwin at gmail dot com>
- To: Angelo Graziosi <angelo dot graziosi at alice dot it>
- Cc: "H.J. Lu" <hjl dot tools at gmail dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, FX <fxcoudert at gmail dot com>, cygwin at cwilson dot fastmail dot fm, Richard Guenther <richard dot guenther at gmail dot com>
- Date: Thu, 17 Feb 2011 12:36:33 +0000
- Subject: Re: [PATCH/RFC,libgcc/dfp/bid] Omit exception-related functions from libbid when fenv.h not present [was Re: Broken bootstrap on Cygwin]
- References: <7EB9F5D3-8C37-410B-99A9-9D27C62A45AE@gmail.com> <AANLkTikG4MpV8VGEDSjrarL8XciHR+nRXjbnm7gdRJXz@mail.gmail.com> <4D516AB2.4020809@gmail.com> <4D52D522.1040804@gmail.com> <AANLkTiksm5aj1j1=BmhaU=n88kT_Rq8sfJuaDX7ZxGiE@mail.gmail.com> <4D52E0B6.9000603@gmail.com> <4D5AC919.30001@alice.it>
On 15/02/2011 18:42, Angelo Graziosi wrote:
> Current trunk, r170184, is still broken, in the same way:
>
> /tmp/gcc-4.6-r170184/libgcc/config/libbid/bid_decimal_globals.c:47:18:
> fatal error: fenv.h: No such file or directory
> compilation terminated.
> make[2]: *** [bid_decimal_globals.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[2]: Leaving directory
> `/tmp/gcc-4.6-r170184/Work/i686-pc-cygwin/libgcc'
> make[1]: *** [all-target-libgcc] Error 2
> make[1]: Leaving directory `/tmp/gcc-4.6-r170184/Work'
> make: *** [all] Error 2
>
> I would be grateful if you could tell me how to revert your change, at
> least on my local repository. I doubt that 1.7.8 will be released soon.
Any one of these approaches should work:
1) Temporarily add "--disable-decimal-float" to your configure options for
the duration.
2) Remove "t-dfprules" from tmake_files in the i?86-*-cygwin stanza of
gcc/config.gcc
3) Install latest cygwin snapshot.
cheers,
DaveK