This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fix aix build error with math.h in gcc/sreal.c


On Dec 17, 2014, at 1:34 AM, Richard Biener <richard.guenther@gmail.com> wrote:
> Do we even link GCC with libm …?

Yes.  :-)  If you grew up on C++, you would realize, -lm as you call it, is just there in C++, always.  If you compile with g++ -v, you will even see it.

> Also we don't require a C99 runtime,

With the major version bump, and considering the age of a system that runs an OS from that era, I think these are mainly museum pieces.  I think it would be reasonable to add that requirement.  I think we should accept any patches from folks that want gcc to still work for whatever reason in such an environment, but, they can use libliberty, autoconfg, gnulib or some other advanced technique to make things work.  For exp2, gnulib states:

  This function is missing on some platforms: MacOS X 10.3, FreeBSD 5.2.1, NetBSD 3.0, OpenBSD 3.8, AIX 5.1, IRIX 6.5, OSF/1 4.0, Solaris 9, Interix 3.5.

to put a specific context of which systems are affected by this.  These tend to be 10 year old systems.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]