Re: libpq++ build problems

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: libpq++ build problems
Date: 2002-07-03 15:46:12
Message-ID: 200207031546.g63FkCE11198@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


And the problem is, what? Except for the -O2 warnings, looks fine to
me.

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

Christopher Kings-Lynne wrote:
> OK, this is what I'm seeing on FreeBSD/Alpha for libpq++. I haven't figured
> out how to build libpqxx yet.:
>
> gmake[3]: Entering directory
> `/home/chriskl/pgsql-head/src/interfaces/libpq++'
> g++ -O2 -g -Wall -fpic -DPIC -I../../../src/interfaces/libpq -I../../../src/
> include -c -o pgconnection.o pgconnection.cc -MMD
> cc1plus: warning:
> ***
> *** The -O2 flag TRIGGERS KNOWN OPTIMIZER BUGS ON THIS PLATFORM
> ***
>
> g++ -O2 -g -Wall -fpic -DPIC -I../../../src/interfaces/libpq -I../../../src/
> include -c -o pgdatabase.o pgdatabase.cc -MMD
> cc1plus: warning:
> ***
> *** The -O2 flag TRIGGERS KNOWN OPTIMIZER BUGS ON THIS PLATFORM
> ***
>
> g++ -O2 -g -Wall -fpic -DPIC -I../../../src/interfaces/libpq -I../../../src/
> include -c -o pgtransdb.o pgtransdb.cc -MMD
> cc1plus: warning:
> ***
> *** The -O2 flag TRIGGERS KNOWN OPTIMIZER BUGS ON THIS PLATFORM
> ***
>
> g++ -O2 -g -Wall -fpic -DPIC -I../../../src/interfaces/libpq -I../../../src/
> include -c -o pgcursordb.o pgcursordb.cc -MMD
> cc1plus: warning:
> ***
> *** The -O2 flag TRIGGERS KNOWN OPTIMIZER BUGS ON THIS PLATFORM
> ***
>
> g++ -O2 -g -Wall -fpic -DPIC -I../../../src/interfaces/libpq -I../../../src/
> include -c -o pglobject.o pglobject.cc -MMD
> cc1plus: warning:
> ***
> *** The -O2 flag TRIGGERS KNOWN OPTIMIZER BUGS ON THIS PLATFORM
> ***
>
> ar cr libpq++.a `lorder pgconnection.o pgdatabase.o pgtransdb.o pgcursordb.o
> pglobject.o | tsort`
> ranlib libpq++.a
> g++ -O2 -g -Wall -fpic -DPIC -shared -Wl,-x,-soname,libpq++.so.4
> pgconnection.o pgdatabase.o pgtransdb.o pgcursordb.o
> lobject.o -L../../../src/interfaces/libpq -lpq -R/home/chriskl/local/lib -
> o libpq++.so.4
> rm -f libpq++.so
> ln -s libpq++.so.4 libpq++.so
> gmake[3]: Leaving directory
> `/home/chriskl/pgsql-head/src/interfaces/libpq++'
>
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>
>
>

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-07-03 15:48:02 Re: listen/notify argument (old topic revisited)
Previous Message Bruce Momjian 2002-07-03 15:32:15 Re: Integrating libpqxx