pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/gcc47



Module Name:    pkgsrc
Committed By:   marino
Date:           Thu Jul 12 13:47:23 UTC 2012

Modified Files:
        pkgsrc/lang/gcc47: Makefile distinfo
        pkgsrc/lang/gcc47/patches: patch-gcc_config_i386_dragonfly.h

Log Message:
lang/gcc47: Fix DragonFly32 floating point handling

Like i386-FreeBSD, the i386-DragonFly floating point unit uses a 53-bit
mantissa.  GCC uses the TARGET_96_ROUND_53_LONG_DOUBLE macro to know
which platforms behave this way.

Unfortunately, setting this macro to 1 breaks precision on Ada, and
leaving it at 0 breaks precision on c/c++ long double handling.  However
lang/gcc47 likely will never support Ada, so we'll favor c/c++.  This
is only an issue for i386; the setting on x86_64 should be zero as it
uses 64-bit precision.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/gcc47/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/gcc47/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/lang/gcc47/patches/patch-gcc_config_i386_dragonfly.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index