Port Bug Report: Would not build with -O2 flags set

Поиск
Список
Период
Сортировка
От Unprivileged user
Тема Port Bug Report: Would not build with -O2 flags set
Дата
Msg-id 199906042108.RAA29473@hub.org
обсуждение исходный текст
Ответы Re: [PORTS] Port Bug Report: Would not build with -O2 flags set  (Bruce Momjian <maillist@candle.pha.pa.us>)
Список pgsql-ports
============================================================================
                        POSTGRESQL BUG REPORT TEMPLATE
============================================================================


Your name               : Ritch Azocar
Your email address      : admin@dqu.cc.ca.us

Category                : install: compile
Severity                : serious

Summary: Would not build with -O2 flags set

System Configuration
--------------------
  Operating System   : Linux 2.2.3 ELF RedHat 5.1

  PostgreSQL version : 6.4.2

  Compiler used      : gcc 2.7.3

Hardware:
---------
DEC Multia 21066A, 64M RAM

Versions of other tools:
------------------------
egcs 1.0.3
make 3.7.6

--------------------------------------------------------------------------

Problem Description:
--------------------
Several targets in the backend/utils/adt directory could not be built with the optimize more (-O2) flags set.
datetime.cand dt.c I'm sure about, I don't know about any others because I removed -O2 from CFLAGS in Makefile.global
andwas able to build.  I don't relly care about optimum performance (I'm running on a 166MHz Alpha 21066A) so I didin't
spendthe time to compile individual targets with and without optimization.  I couldn't build the ODBC interface (-O2
flagnot set) at all.  I haven't tried to build it independently of the postgresql build yet.  TCL & Perl worked fine. 

--------------------------------------------------------------------------

Test Case:
----------


--------------------------------------------------------------------------

Solution:
---------
Turn off -O2 in CFLAGS

--------------------------------------------------------------------------


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

Предыдущее
От: Unprivileged user
Дата:
Сообщение: Port Bug Report: Include file mismatch: stdio.h, stdlib.h, unistd.h
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [PORTS] Port Bug Report: Would not build with -O2 flags set