Re: [COMMITTERS] 'pgsql/src/template linux-elf' - Mailing list pgsql-hackers

From Thomas G. Lockhart
Subject Re: [COMMITTERS] 'pgsql/src/template linux-elf'
Date
Msg-id 34E44C57.4696E0DB@alumni.caltech.edu
Whole thread Raw
List pgsql-hackers
> > Modified Files:
> >         linux-elf
> > Log Message:
> >
> > Remove -m486 option, since it is platform specific...this should technically
> > be removed everywhere, but so far linux-elf is the only platform that is
> > being reported a problem with...
>
> Hmm. I don't think there was a problem reported, only a complaint that the
> -m486 was suboptimal for 586 and 686 machines. The proposed solution was not in
> keeping with the Postgres philosophy of not requiring root privilege for an
> install, since it involved modifying or adding /usr/lib compiler settings
> files. With the flag removed, standard compiler settings will generate 386
> code. Yuck...

Andrew, could you put a new entry into the Linux FAQ suggesting that

  CFLAGS+= -m486

or (for the new compilers that most people are not yet running)

  CFLAGS+= -mpentium
or
  CFLAGS+= -mpentiumpro

be added to Makefile.custom? Otherwise people are going to get 386 code generation
for most installations...

                                                       - Tom


pgsql-hackers by date:

Previous
From: "Pedro J. Lobo"
Date:
Subject: Re: [HACKERS] PostGreSQL v6.2.1 for Linux Alpha (repost)
Next
From: "Thomas G. Lockhart"
Date:
Subject: Re: [HACKERS] CREATE FUNCTION broken