X-Original-To: pgsql-ports-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id B6F7B9DC854 for ; Thu, 16 Mar 2006 15:51:57 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 92461-03 for ; Thu, 16 Mar 2006 15:51:57 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.libertyrms.com (vgateway.libertyrms.info [207.219.45.62]) by postgresql.org (Postfix) with ESMTP id 26B3F9DC810 for ; Thu, 16 Mar 2006 15:51:52 -0400 (AST) Received: from dev5.int.libertyrms.com ([10.1.3.42]) by mail.libertyrms.com with esmtp (Exim 4.22) id 1FJyVj-00061D-0U; Thu, 16 Mar 2006 14:51:51 -0500 Message-ID: <4419C210.4030609@ca.afilias.info> Date: Thu, 16 Mar 2006 14:52:48 -0500 From: Seneca Cunningham User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: Riccardo Mottola CC: Tom Lane , pgsql-ports@postgresql.org Subject: Re: fails to compile with undefined symbol (FP_PLUS_INF) References: <259a55900603160748v2646acd4l2909650eab5a4737@mail.gmail.com> <44198CBB.9070608@ca.afilias.info> <259a55900603160811h6d797ddeud9efb0b91c22a51f@mail.gmail.com> <4419912A.1070903@ca.afilias.info> <259a55900603160838p4a529a4l590a9baa444a5575@mail.gmail.com> <18237.1142531886@sss.pgh.pa.us> <4419AD22.4020108@ca.afilias.info> <259a55900603161040n4c90781fg5722ce14536c3804@mail.gmail.com> In-Reply-To: <259a55900603161040n4c90781fg5722ce14536c3804@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SA-Exim-Mail-From: scunning@ca.afilias.info X-SA-Exim-Scanned: No; SAEximRunCond expanded to false X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.961 required=5 tests=[AWL=0.148, INFO_TLD=0.813] X-Spam-Score: 0.961 X-Spam-Level: X-Archive-Number: 200603/26 X-Sequence-Number: 2350 Riccardo Mottola wrote: > Hello, > > On 3/16/06, *Seneca Cunningham* > wrote: > My gcc build is like that and I was the one who built it to replace > another build of gcc. gcc doesn't seem to like float.h on AIX and just > uses its own as part of fixincludes; math.h comes out in a more intact > state. This means that on AIX versions where math.h also contains > FP_PLUS_INF (and the rest of that block of defines), the defines do > occur. It would appear that 4.2 doesn't also contain the necessary > defines as part of math.h (protected by an #ifndef on 5.3). > > > yes, that seems to be it: float.h gets replaced and I don't have the > defines in math.h too thus you have more redundancy. I might just hack > the gcc include at this point. > fixinclude b0rked it. I took a quick look at gcc 4.0.1's build scripts (what I'm running). It would appear that gcc blindly replaces limits.h, float.h, iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h, and unwind.h. Of these, limits.h is the only one that then includes the native header. They aren't modified by fixincludes. fixincludes takes a hack at the other headers that end up in gcc's include directory. -- Seneca Cunningham scunning@ca.afilias.info