[adding ptxdist to Cc:]

On Wed, Dec 17, 2008 at 09:55:16AM +0100, Erwin Rol wrote:
> I am not sure this is the correct fix. The problem seems that ptxdist 
> uses ac_cv_sizeof_long_double with a value of 8, and that is where the 
> problem is, because that should be 12 on x86 and 16 on x86_64. That 
> error results in double and long double to have the same size and 
> configure to conclude there is no long double. And since that is never 
> true on x86 with gcc, there was no need for the ifdef with 
> HAVE_LONGDOUBLE in the x86 case.

Hmm, sounds reasonable. Nevertheless, the fix should be correct anyway,
because if the test detects *no* long_double, it shouldn't fail
compiling.

rsc
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

--
ptxdist mailing list
[email protected]

Reply via email to