Re: [PORTS] Port Bug Report: Would not build with -O2 flags set

From: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
To: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
Cc: Ritch Azocar <admin(at)dqu(dot)cc(dot)ca(dot)us>, pgsql-ports(at)postgreSQL(dot)org
Subject: Re: [PORTS] Port Bug Report: Would not build with -O2 flags set
Date: 1999-06-05 01:41:52
Message-ID: 37588060.67F37B50@alumni.caltech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

> This is not a suprise, and something we have been looking at in 6.5beta.
> egcs does some optimization of function calls with short int parameters,
> and calling the adt functions through function pointers triggers a
> problem.
> Only certain platforms do this optimization. I don't think we can fix
> it for 6.5, but it is good to know.

It is most likely a 64bit issue, since my RH-5.2/egcs-1.1.2 machine
does not show a problem (other than floating point funny business with
rounding).

- Thomas

> > Summary: Would not build with -O2 flags set
> > Operating System : Linux 2.2.3 ELF RedHat 5.1
> > PostgreSQL version : 6.4.2
> > Compiler used : gcc 2.7.3
> > DEC Multia 21066A, 64M RAM
> > egcs 1.0.3
> > make 3.7.6

--
Thomas Lockhart lockhart(at)alumni(dot)caltech(dot)edu
South Pasadena, California

In response to

Responses

Browse pgsql-ports by date

  From Date Subject
Next Message Bruce Momjian 1999-06-05 02:03:48 Re: [PORTS] Port Bug Report: Would not build with -O2 flags set
Previous Message Mark Dalphin 1999-06-04 22:16:00 IRIX 6.5 meets Postgresql 6.5 (June 4 Snapshot)