Re: [PORTS] Anyone working on linux Alpha?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [PORTS] Anyone working on linux Alpha?
Дата
Msg-id 199906081735.NAA27067@candle.pha.pa.us
обсуждение исходный текст
Ответ на Anyone working on linux Alpha?  ("Oliver Elphick" <olly@lfix.co.uk>)
Ответы Re: [PORTS] Anyone working on linux Alpha?  (Christopher C Chimelis <chris@beezer.med.miami.edu>)
Список pgsql-hackers
 diff -ruN pgsql/src/template/linux_alpha postgresql-patched/src/template/linux_alpha
> --- pgsql/src/template/linux_alpha    Tue Jun 16 06:04:00 1998
> +++ postgresql-patched/src/template/linux_alpha    Tue Jun  8 17:21:32 1999
> @@ -1,5 +1,5 @@
>  AROPT:crs
> -CFLAGS:-O2 -mieee
> +CFLAGS:-mieee
>  SHARED_LIB:-fpic
>  ALL:
>  SRCH_INC:
>


> ======================================================================
>
> This is required because of problems with egcs:
>
> >> Is this patch suitable for forwarding upstream?  Do all linux Alphas
> >> have to disable -O2?
> >
> > Yes.  At least all that use egcs as a primary compiler (gcc 2.7.x never
> > worked for us, so unless they're using gcc 2.8.x, it won't work with -O2).
>
> ...and...
>
> > The patch I mailed you DEFINITELY needs to be included upstream if
> > possible.  All Alphas running linux and using egcs REQUIRE it to be
> > compiled without optimisation since it hoses the spinlock code (I'm
> > looking into it with the guy that wrote the spinlock code for Alphas).
> > And the alphapca56,7 machines are fairly common now.  Mention to them that
> > it might be helpful to use a config.sub from a more recent autoconf or
> > libtool since it includes another two or three new Alpha types (at least
> > the Debian sources do...I make sure of that :-)


I have just removed optimization on linux/alpha for this reason.  Can I
use -O optimization on this platform instead of -O2?


--
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Jackson, DeJuan"
Дата:
Сообщение: RE: [HACKERS] 6.6 items
Следующее
От: "Oliver Elphick"
Дата:
Сообщение: contrib/spi/preprocessor