pg.ddx.io  pgsql-ports@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Seneca Cunningham <scunning@ca.afilias.info>
To: Riccardo Mottola <multix@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-ports@postgresql.org
Subject: Re: fails to compile with undefined symbol (FP_PLUS_INF)
Date: Thu, 16 Mar 2006 14:52:48 -0500
Message-ID: <4419C210.4030609@ca.afilias.info> (raw)
In-Reply-To: <259a55900603161040n4c90781fg5722ce14536c3804@mail.gmail.com>
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>

Riccardo Mottola wrote:
> Hello,
> 
> On 3/16/06, *Seneca Cunningham* <scunning@ca.afilias.info 
> <mailto:scunning@ca.afilias.info>> 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



view thread (14+ messages)  latest in thread

Message-ID: <4419C210.4030609@ca.afilias.info>
Permalink:  ../4419C210.4030609@ca.afilias.info/
Also on:    postgresql.org/message-id/4419C210.4030609@ca.afilias.info

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-ports@postgresql.org
  Cc: scunning@ca.afilias.info, multix@gmail.com, tgl@sss.pgh.pa.us
  Subject: Re: fails to compile with undefined symbol (FP_PLUS_INF)
  In-Reply-To: <4419C210.4030609@ca.afilias.info>
  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> <4419C210.4030609@ca.afilias.info>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox