lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GUB build failure: odcctools -Wno-long-double


From: Reinhold Kainhofer
Subject: Re: GUB build failure: odcctools -Wno-long-double
Date: Tue, 30 Dec 2008 01:17:40 +0100
User-agent: KMail/1.10.3 (Linux/2.6.27-9-generic; KDE/4.1.3; i686; ; )

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Dienstag, 30. Dezember 2008 00:42:42 schrieb Graham Percival:
> Lilypond itself builds on native, but the darwin-ppc
> cross-platform build is dying:

1) The problem is that -Wno-long-double is only supported by gcc on the darwin 
platform, not on Linux. 

This alone would not be a problem (there should be a configure check for this 
option), but there are two more issues, so that all three combined make the 
build fail:

2) The error about an unrecognized command-line option is only triggered if 
the file prints out any other warning. Unfortunately, many configure test 
cases don't print any warnings, so this error is not detected by configure and 
it happily inserts -Wno-long-double to the command-line arguments.

3) The message about unrecognized command-line options was accidentally 
implemented as an error rather than a warning... This was changed/fixed in 
July (in the GCC codebase), but has probably not yet propagated to all the 
distro's releases...

A solution (it seems this is the recommended solution) is to patch the 
configure script to create a warning, which then causes -Wno-long-double to 
fail, similar the the patch posted at
http://www.telesphoreo.org/pipermail/iphone-gcc/2008-August/000094.html


Other pointers:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35797
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28322
http://gcc.gnu.org/viewcvs?view=rev&revision=137687
http://www.telesphoreo.org/pipermail/iphone-gcc/2008-August/000090.html

Cheers,
Reinhold
- -- 
- ------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFJWWilTqjEwhXvPN0RAqYGAKCz5X0grxFe8+tb2tx9leMstvX2dgCfaHie
0KvrtdRIIFCWoVrDJyH/q7s=
=6xdm
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]