bug-gsl
[Top][All Lists]
Advanced

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

Re: [Bug-gsl] `fprnd_t' undeclared - can't this be solved with autoconf?


From: Dr. David Kirkby
Subject: Re: [Bug-gsl] `fprnd_t' undeclared - can't this be solved with autoconf?
Date: Tue, 26 Oct 2010 21:58:39 +0100
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.1.7) Gecko/20100214 Thunderbird/3.0.1

On 10/12/10 03:05 PM, Brian Gough wrote:
At Tue, 28 Sep 2010 02:27:10 +0100,
Dr. David Kirkby wrote:
That is enough to get the code to compile on AIX 5.3, but it is not building the
library properly - see below. I'm pretty new to AIX, so don't have a lot of
experience in knowing what these errors might be.

I'm happy to apply a patch for that if you have one. If it is mostly
in fp-aix.c it shouldn't affect anything else.

I was unable to download the latest copy of your source code from your respository, as you don't use one of hte tools I have (git, cvs, mecurial etc). As such, I have created this patch against your version 1.14


Given there is only a single line added to configure.ac, and the rest is in fp-aix.c, I doubt it will be hard to integrate.

I am still getting a linker error, but that is unrelated and probably more related to my setup, as I'm hitting a similar problem on other packages.

Personally I think this GSL/AIX issue is a gcc bug. One of the gcc developers asked me to submit it to the gcc bug tracker as a bug. But someone else has replied it is not a gcc bug.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46155

It would appear that the float.h header file used by GCC is the same on every single platform, so it completely ignores anything that might have been put there by IBM, Sun, HP or whoever else. That seems wrong to me, but that's the way it is.

Let me know if these patches look ok to you. If you can integrate them to the next GSL release, it would be good.

As I say, I personally think it's a gcc bug, but I doubt I'll convince the gcc developers to fix it.

Dave

Attachment: fp-aix.c.patch
Description: Text Data

Attachment: configure.ac.patch
Description: Text Data


reply via email to

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