Thread: build on unixware 713

build on unixware 713

From
ohp@pyrenet.fr
Date:
Hi Tom, Hi Larry

After updating from cvs I'm going a little further. But still have
problems:

UX:acomp: ERROR: "fe-protocol3.c", line 1402: internal compiler error:  can't deal with op BMOVE
gmake[3]: *** [fe-protocol3.o] Error 1
gmake[2]: *** [all] Error 2
gmake[1]: *** [all] Error 2
gmake: *** [all] Error 2
UX:make: ERROR: fatal error.

-- 
Olivier PRENANT                    Tel: +33-5-61-50-97-00 (Work)
6, Chemin d'Harraud Turrou           +33-5-61-50-97-01 (Fax)
31190 AUTERIVE                       +33-6-07-63-80-64 (GSM)
FRANCE                          Email: ohp@pyrenet.fr
------------------------------------------------------------------------------
Make your life a dream, make your dream a reality. (St Exupery)


Re: build on unixware 713

From
Larry Rosenman
Date:
forwarded to the compiler guys at SCO.

LER


--On Thursday, August 07, 2003 19:10:04 +0200 ohp@pyrenet.fr wrote:

> Hi Tom, Hi Larry
>
> After updating from cvs I'm going a little further. But still have
> problems:
>
> UX:acomp: ERROR: "fe-protocol3.c", line 1402: internal compiler error:
> can't deal with op BMOVE gmake[3]: *** [fe-protocol3.o] Error 1
> gmake[2]: *** [all] Error 2
> gmake[1]: *** [all] Error 2
> gmake: *** [all] Error 2
> UX:make: ERROR: fatal error.



-- 
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



Re: build on unixware 713

From
ohp@pyrenet.fr
Date:
Did you find a work around?
On Thu, 7 Aug 2003, Larry Rosenman wrote:

> Date: Thu, 07 Aug 2003 12:28:52 -0500
> From: Larry Rosenman <ler@lerctr.org>
> To: ohp@pyrenet.fr, pgsql-hackers list <pgsql-hackers@postgresql.org>
> Subject: Re: [HACKERS] build on unixware 713
>
> forwarded to the compiler guys at SCO.
>
> LER
>
>
> --On Thursday, August 07, 2003 19:10:04 +0200 ohp@pyrenet.fr wrote:
>
> > Hi Tom, Hi Larry
> >
> > After updating from cvs I'm going a little further. But still have
> > problems:
> >
> > UX:acomp: ERROR: "fe-protocol3.c", line 1402: internal compiler error:
> > can't deal with op BMOVE gmake[3]: *** [fe-protocol3.o] Error 1
> > gmake[2]: *** [all] Error 2
> > gmake[1]: *** [all] Error 2
> > gmake: *** [all] Error 2
> > UX:make: ERROR: fatal error.
>
>
>
>

-- 
Olivier PRENANT                    Tel: +33-5-61-50-97-00 (Work)
6, Chemin d'Harraud Turrou           +33-5-61-50-97-01 (Fax)
31190 AUTERIVE                       +33-6-07-63-80-64 (GSM)
FRANCE                          Email: ohp@pyrenet.fr
------------------------------------------------------------------------------
Make your life a dream, make your dream a reality. (St Exupery)


Re: build on unixware 713

From
Larry Rosenman
Date:
Nope, but Tom is actively on my box :-)

LER


--On Thursday, August 07, 2003 19:35:05 +0200 ohp@pyrenet.fr wrote:

> Did you find a work around?
> On Thu, 7 Aug 2003, Larry Rosenman wrote:
>
>> Date: Thu, 07 Aug 2003 12:28:52 -0500
>> From: Larry Rosenman <ler@lerctr.org>
>> To: ohp@pyrenet.fr, pgsql-hackers list <pgsql-hackers@postgresql.org>
>> Subject: Re: [HACKERS] build on unixware 713
>>
>> forwarded to the compiler guys at SCO.
>>
>> LER
>>
>>
>> --On Thursday, August 07, 2003 19:10:04 +0200 ohp@pyrenet.fr wrote:
>>
>> > Hi Tom, Hi Larry
>> >
>> > After updating from cvs I'm going a little further. But still have
>> > problems:
>> >
>> > UX:acomp: ERROR: "fe-protocol3.c", line 1402: internal compiler error:
>> > can't deal with op BMOVE gmake[3]: *** [fe-protocol3.o] Error 1
>> > gmake[2]: *** [all] Error 2
>> > gmake[1]: *** [all] Error 2
>> > gmake: *** [all] Error 2
>> > UX:make: ERROR: fatal error.
>>
>>
>>



-- 
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



Re: build on unixware 713

From
Tom Lane
Date:
ohp@pyrenet.fr writes:
> UX:acomp: ERROR: "fe-protocol3.c", line 1402: internal compiler error:  can't deal with op BMOVE

I think you need a compiler with fewer internal errors ;-).  Is there an
update available?
        regards, tom lane


Re: build on unixware 713

From
ohp@pyrenet.fr
Date:
Larry just given me his own compiler and I still have the errors...
On Thu, 7 Aug 2003, Tom Lane wrote:

> Date: Thu, 07 Aug 2003 16:49:41 -0400
> From: Tom Lane <tgl@sss.pgh.pa.us>
> To: ohp@pyrenet.fr
> Cc: pgsql-hackers list <pgsql-hackers@postgresql.org>
> Subject: Re: [HACKERS] build on unixware 713
>
> ohp@pyrenet.fr writes:
> > UX:acomp: ERROR: "fe-protocol3.c", line 1402: internal compiler error:  can't deal with op BMOVE
>
> I think you need a compiler with fewer internal errors ;-).  Is there an
> update available?
>
>             regards, tom lane
>

-- 
Olivier PRENANT                    Tel: +33-5-61-50-97-00 (Work)
6, Chemin d'Harraud Turrou           +33-5-61-50-97-01 (Fax)
31190 AUTERIVE                       +33-6-07-63-80-64 (GSM)
FRANCE                          Email: ohp@pyrenet.fr
------------------------------------------------------------------------------
Make your life a dream, make your dream a reality. (St Exupery)


Re: build on unixware 713

From
Larry Rosenman
Date:
I passed him mine, and he still sees it.  Did either of you use -O without 
-g?

I'll play tonite.

LER


--On Thursday, August 07, 2003 16:49:41 -0400 Tom Lane <tgl@sss.pgh.pa.us> 
wrote:

> ohp@pyrenet.fr writes:
>> UX:acomp: ERROR: "fe-protocol3.c", line 1402: internal compiler error:
>> can't deal with op BMOVE
>
> I think you need a compiler with fewer internal errors ;-).  Is there an
> update available?
>
>             regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>



-- 
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



Re: build on unixware 713

From
Tom Lane
Date:
ohp@pyrenet.fr writes:
> Larry just given me his own compiler and I still have the errors...

[experiments a little...]  Hmm.  It works okay with -g, but fails with
-O.

I suggest filing a bug report.  I'm not planning to spend any time
looking for workarounds for SCO's compiler bugs.
        regards, tom lane


Re: build on unixware 713

From
ohp@pyrenet.fr
Date:
I don't use -g

I'm trying now on your machine Larrye,

If you want to have a look
On Thu, 7 Aug 2003, Larry Rosenman wrote:

> Date: Thu, 07 Aug 2003 15:56:58 -0500
> From: Larry Rosenman <ler@lerctr.org>
> To: Tom Lane <tgl@sss.pgh.pa.us>, ohp@pyrenet.fr
> Cc: pgsql-hackers list <pgsql-hackers@postgresql.org>
> Subject: Re: [HACKERS] build on unixware 713
>
> I passed him mine, and he still sees it.  Did either of you use -O without
> -g?
>
> I'll play tonite.
>
> LER
>
>
> --On Thursday, August 07, 2003 16:49:41 -0400 Tom Lane <tgl@sss.pgh.pa.us>
> wrote:
>
> > ohp@pyrenet.fr writes:
> >> UX:acomp: ERROR: "fe-protocol3.c", line 1402: internal compiler error:
> >> can't deal with op BMOVE
> >
> > I think you need a compiler with fewer internal errors ;-).  Is there an
> > update available?
> >
> >             regards, tom lane
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 4: Don't 'kill -9' the postmaster
> >
>
>
>
>

-- 
Olivier PRENANT                    Tel: +33-5-61-50-97-00 (Work)
6, Chemin d'Harraud Turrou           +33-5-61-50-97-01 (Fax)
31190 AUTERIVE                       +33-6-07-63-80-64 (GSM)
FRANCE                          Email: ohp@pyrenet.fr
------------------------------------------------------------------------------
Make your life a dream, make your dream a reality. (St Exupery)


Re: build on unixware 713

From
Larry Rosenman
Date:
Already done, but knowing that it's the same on the latest released 
compiler is interesting.

I'll pass it on.

LER


--On Thursday, August 07, 2003 16:59:50 -0400 Tom Lane <tgl@sss.pgh.pa.us> 
wrote:

> ohp@pyrenet.fr writes:
>> Larry just given me his own compiler and I still have the errors...
>
> [experiments a little...]  Hmm.  It works okay with -g, but fails with
> -O.
>
> I suggest filing a bug report.  I'm not planning to spend any time
> looking for workarounds for SCO's compiler bugs.
>
>             regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
>       subscribe-nomail command to majordomo@postgresql.org so that your
>       message can get through to the mailing list cleanly
>



-- 
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



Re: build on unixware 713

From
ohp@pyrenet.fr
Date:
Ok, you're right it works with -g until...
UX:cc: WARNING: debugging and optimization mutually exclusive; -O disabled
Undefined            first referenced
symbol                  in file
PQparameterStatus                   pg_backup_db.o
UX:ld: ERROR: Symbol referencing errors. No output written to pg_dump
gmake[3]: *** [pg_dump] Error 1
gmake[2]: *** [all] Error 2
gmake[1]: *** [all] Error 2
gmake: *** [all] Error 2
UX:make: ERROR: fatal error.

Enough for tonight

Good luck
On Thu, 7 Aug 2003, Larry Rosenman wrote:

> Date: Thu, 07 Aug 2003 16:10:13 -0500
> From: Larry Rosenman <ler@lerctr.org>
> To: Tom Lane <tgl@sss.pgh.pa.us>, ohp@pyrenet.fr
> Cc: pgsql-hackers list <pgsql-hackers@postgresql.org>
> Subject: Re: [HACKERS] build on unixware 713
>
> Already done, but knowing that it's the same on the latest released
> compiler is interesting.
>
> I'll pass it on.
>
> LER
>
>
> --On Thursday, August 07, 2003 16:59:50 -0400 Tom Lane <tgl@sss.pgh.pa.us>
> wrote:
>
> > ohp@pyrenet.fr writes:
> >> Larry just given me his own compiler and I still have the errors...
> >
> > [experiments a little...]  Hmm.  It works okay with -g, but fails with
> > -O.
> >
> > I suggest filing a bug report.  I'm not planning to spend any time
> > looking for workarounds for SCO's compiler bugs.
> >
> >             regards, tom lane
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 3: if posting/reading through Usenet, please send an appropriate
> >       subscribe-nomail command to majordomo@postgresql.org so that your
> >       message can get through to the mailing list cleanly
> >
>
>
>
>

-- 
Olivier PRENANT                    Tel: +33-5-61-50-97-00 (Work)
6, Chemin d'Harraud Turrou           +33-5-61-50-97-01 (Fax)
31190 AUTERIVE                       +33-6-07-63-80-64 (GSM)
FRANCE                          Email: ohp@pyrenet.fr
------------------------------------------------------------------------------
Make your life a dream, make your dream a reality. (St Exupery)


Re: build on unixware 713

From
Bruce Momjian
Date:
The SCO compilers are notoriously buggy for the past 10-15 years.

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

Tom Lane wrote:
> ohp@pyrenet.fr writes:
> > Larry just given me his own compiler and I still have the errors...
> 
> [experiments a little...]  Hmm.  It works okay with -g, but fails with
> -O.
> 
> I suggest filing a bug report.  I'm not planning to spend any time
> looking for workarounds for SCO's compiler bugs.
> 
>             regards, tom lane
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
>       subscribe-nomail command to majordomo@postgresql.org so that your
>       message can get through to the mailing list cleanly
> 

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


Re: build on unixware 713

From
Larry Rosenman
Date:
I've filed a bug with the folks I know that work on the compilers.

workaround for now is to --enable-debug.

LER


--On Thursday, August 07, 2003 19:50:21 -0400 Bruce Momjian 
<pgman@candle.pha.pa.us> wrote:

>
> The SCO compilers are notoriously buggy for the past 10-15 years.
>
> -------------------------------------------------------------------------
> --
>
> Tom Lane wrote:
>> ohp@pyrenet.fr writes:
>> > Larry just given me his own compiler and I still have the errors...
>>
>> [experiments a little...]  Hmm.  It works okay with -g, but fails with
>> -O.
>>
>> I suggest filing a bug report.  I'm not planning to spend any time
>> looking for workarounds for SCO's compiler bugs.
>>
>>             regards, tom lane
>>
>> ---------------------------(end of broadcast)---------------------------
>> TIP 3: if posting/reading through Usenet, please send an appropriate
>>       subscribe-nomail command to majordomo@postgresql.org so that your
>>       message can get through to the mailing list cleanly



-- 
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



Re: build on unixware 713

From
Larry Rosenman
Date:
To fix it, remove -K inline from src/port/unixware's CFLAGS.

Dave Prosser of SCO has a fix, but this is the most expedient fix for now.



--On Thursday, August 07, 2003 18:58:16 -0500 Larry Rosenman 
<ler@lerctr.org> wrote:

> I've filed a bug with the folks I know that work on the compilers.
>
> workaround for now is to --enable-debug.
>
> LER
>
>
> --On Thursday, August 07, 2003 19:50:21 -0400 Bruce Momjian
> <pgman@candle.pha.pa.us> wrote:
>
>>
>> The SCO compilers are notoriously buggy for the past 10-15 years.
>>
>> -------------------------------------------------------------------------
>> --
>>
>> Tom Lane wrote:
>>> ohp@pyrenet.fr writes:
>>> > Larry just given me his own compiler and I still have the errors...
>>>
>>> [experiments a little...]  Hmm.  It works okay with -g, but fails with
>>> -O.
>>>
>>> I suggest filing a bug report.  I'm not planning to spend any time
>>> looking for workarounds for SCO's compiler bugs.
>>>
>>>             regards, tom lane
>>>
>>> ---------------------------(end of broadcast)---------------------------
>>> TIP 3: if posting/reading through Usenet, please send an appropriate
>>>       subscribe-nomail command to majordomo@postgresql.org so that your
>>>       message can get through to the mailing list cleanly



-- 
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



Re: build on unixware 713

From
Andrew Dunstan
Date:
I'm curious to know what that will do to performance.

andrew

Larry Rosenman wrote:

> To fix it, remove -K inline from src/port/unixware's CFLAGS.
>
> Dave Prosser of SCO has a fix, but this is the most expedient fix for 
> now.
>



Re: build on unixware 713

From
Larry Rosenman
Date:

--On Friday, August 08, 2003 15:02:47 -0400 Andrew Dunstan 
<andrew@dunslane.net> wrote:

>
> I'm curious to know what that will do to performance.
It just removes the ability to inline some functions.  The other option is 
to
add -K no_host, which will prevent strcpy() and friends from being inlined, 
which is where
the issue comes from.

The problem is how to get a fixed compiler to the field.

LER

>
> andrew
>
> Larry Rosenman wrote:
>
>> To fix it, remove -K inline from src/port/unixware's CFLAGS.
>>
>> Dave Prosser of SCO has a fix, but this is the most expedient fix for
>> now.
>>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
>                http://www.postgresql.org/docs/faqs/FAQ.html
>



-- 
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



Re: build on unixware 713

From
Tom Lane
Date:
Larry Rosenman <ler@lerctr.org> writes:
> To fix it, remove -K inline from src/port/unixware's CFLAGS.
> Dave Prosser of SCO has a fix, but this is the most expedient fix for now.

Do you think we should make that change for 7.4?  Or will the workaround
be obsolete by the time 7.4 is released?
        regards, tom lane


Re: build on unixware 713

From
Larry Rosenman
Date:

--On Friday, August 08, 2003 16:04:47 -0400 Tom Lane <tgl@sss.pgh.pa.us> 
wrote:

> Larry Rosenman <ler@lerctr.org> writes:
>> To fix it, remove -K inline from src/port/unixware's CFLAGS.
>> Dave Prosser of SCO has a fix, but this is the most expedient fix for
>> now.
>
> Do you think we should make that change for 7.4?  Or will the workaround
> be obsolete by the time 7.4 is released?
I'd suggest making the change for 7.4, and we can do a version check for 
7.5.

LER

>
>             regards, tom lane



-- 
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