pgsql-server/src/template unixware

Started by Peter Eisentrautover 22 years ago4 messagescomitters
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: petere@svr1.postgresql.org 03/11/04 20:09:08

Modified files:
src/template : unixware

Log message:
Add detection of compiler bug.

#2Larry Rosenman
ler@lerctr.org
In reply to: Peter Eisentraut (#1)
Re: pgsql-server/src/template unixware

--On Tuesday, November 04, 2003 20:09:08 -0400 Peter Eisentraut -
PostgreSQL <petere@svr1.postgresql.org> wrote:

CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: petere@svr1.postgresql.org 03/11/04 20:09:08

Modified files:
src/template : unixware

Log message:
Add detection of compiler bug.

I think you need to add the -O flag to trip the bug....

LER

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

#3Larry Rosenman
ler@lerctr.org
In reply to: Larry Rosenman (#2)
Re: pgsql-server/src/template unixware

--On Tuesday, November 04, 2003 19:05:43 -0600 Larry Rosenman
<ler@lerctr.org> wrote:

--On Tuesday, November 04, 2003 20:09:08 -0400 Peter Eisentraut -
PostgreSQL <petere@svr1.postgresql.org> wrote:

CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: petere@svr1.postgresql.org 03/11/04 20:09:08

Modified files:
src/template : unixware

Log message:
Add detection of compiler bug.

I think you need to add the -O flag to trip the bug....

Info from SCO to back that up:
I've got a correction in hand, but it may be that the
simplest approach is to work around it from there instead
of doing some sort of special compiler handoff. If the
-Kinline option were not present, the problem goes away.
(The same's true for -O, but I'd think -Kinline'd be the
better removal choice.) You could also leave in the -O
and -Kinline and add -Kno_host instead, thus removing
routines like strcpy() from being rewrite candidates.

LER

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

#4Larry Rosenman
ler@lerctr.org
In reply to: Larry Rosenman (#3)
Re: pgsql-server/src/template unixware

--On Tuesday, November 04, 2003 19:08:41 -0600 Larry Rosenman
<ler@lerctr.org> wrote:

--On Tuesday, November 04, 2003 19:05:43 -0600 Larry Rosenman
<ler@lerctr.org> wrote:

--On Tuesday, November 04, 2003 20:09:08 -0400 Peter Eisentraut -
PostgreSQL <petere@svr1.postgresql.org> wrote:

CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: petere@svr1.postgresql.org 03/11/04 20:09:08

Modified files:
src/template : unixware

Log message:
Add detection of compiler bug.

I think you need to add the -O flag to trip the bug....

Info from SCO to back that up:
I've got a correction in hand, but it may be that the
simplest approach is to work around it from there instead
of doing some sort of special compiler handoff. If the
-Kinline option were not present, the problem goes away.
(The same's true for -O, but I'd think -Kinline'd be the
better removal choice.) You could also leave in the -O
and -Kinline and add -Kno_host instead, thus removing
routines like strcpy() from being rewrite candidates.

BTW, you, Peter, have an account on lerlsof.lerctr.org, which is a 7.1.2
(OpenUnix 8.0.0) system with the OLD compiler, if you want to test.

LER

LER

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749