Re: error on build from source

Lists: pgsql-admin
From: kdyke(at)keycomputerconsultants(dot)com
To: pgsql-admin(at)postgresql(dot)org
Subject: error on build from source
Date: 2004-01-18 00:52:28
Message-ID: 20040118005228.GM3362@hyper
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin


Hi,

Postgres will not build on a Slackware-9.1 system.

make[3]: *** [utf8_and_gb18030.o] Error 1
make[3]: Leaving directory `/usr/src/postgresql-7.4.1/src/backend/utils/mb/conversion_procs/utf8_and_gb18030'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/postgresql-7.4.1/src/backend/utils/mb/conversion_procs'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/postgresql-7.4.1/src'
make: *** [all] Error 2

At this point I am looking suspiciously at gcc, which is...

gcc (GCC) 3.2.3

Have others run into this? Or do I need to look elsewhere to get it to
build?
--
Ken Dyke,
406.581.0495


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: kdyke(at)keycomputerconsultants(dot)com
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: error on build from source
Date: 2004-01-18 03:30:13
Message-ID: 1661.1074396613@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

kdyke(at)keycomputerconsultants(dot)com writes:
> Postgres will not build on a Slackware-9.1 system.

> make[3]: *** [utf8_and_gb18030.o] Error 1
> make[3]: Leaving directory `/usr/src/postgresql-7.4.1/src/backend/utils/mb/conversion_procs/utf8_and_gb18030'

You have omitted all trace of what the actual problem is :-(

regards, tom lane


From: kdyke(at)keycomputerconsultants(dot)com
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: error on build from source
Date: 2004-01-18 06:59:22
Message-ID: 20040118065922.GN3362@hyper
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

On Sat, Jan 17, 2004 at 10:30:13PM -0500, Tom Lane (tgl(at)sss(dot)pgh(dot)pa(dot)us) wrote:
> You have omitted all trace of what the actual problem is :-(

[snip many screenfuls of compiler output]
make[3]: Entering directory `/usr/src/postgresql-7.4.1/src/backend/utils/mb/conversion_procs/utf8_and_cyrillic'
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -I../../../../../../src/include -D_GNU_SOURCE -c -o utf8_and_cyrillic.o utf8_and_cyrillic.c
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -shared -Wl,-soname,libutf8_and_cyrillic.so.0 utf8_and_cyrillic.o -L../../../../../../src/port -o libutf8_and_cyrillic.so.0.0
rm -f libutf8_and_cyrillic.so.0
ln -s libutf8_and_cyrillic.so.0.0 libutf8_and_cyrillic.so.0
rm -f libutf8_and_cyrillic.so
ln -s libutf8_and_cyrillic.so.0.0 libutf8_and_cyrillic.so
make[3]: Leaving directory `/usr/src/postgresql-7.4.1/src/backend/utils/mb/conversion_procs/utf8_and_cyrillic'
make[3]: Entering directory `/usr/src/postgresql-7.4.1/src/backend/utils/mb/conversion_procs/utf8_and_euc_cn'
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -I../../../../../../src/include -D_GNU_SOURCE -c -o utf8_and_euc_cn.o utf8_and_euc_cn.c
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -shared -Wl,-soname,libutf8_and_euc_cn.so.0 utf8_and_euc_cn.o -L../../../../../../src/port -o libutf8_and_euc_cn.so.0.0
rm -f libutf8_and_euc_cn.so.0
ln -s libutf8_and_euc_cn.so.0.0 libutf8_and_euc_cn.so.0
rm -f libutf8_and_euc_cn.so
ln -s libutf8_and_euc_cn.so.0.0 libutf8_and_euc_cn.so
make[3]: Leaving directory `/usr/src/postgresql-7.4.1/src/backend/utils/mb/conversion_procs/utf8_and_euc_cn'
make[3]: Entering directory `/usr/src/postgresql-7.4.1/src/backend/utils/mb/conversion_procs/utf8_and_euc_jp'
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -I../../../../../../src/include -D_GNU_SOURCE -c -o utf8_and_euc_jp.o utf8_and_euc_jp.c
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -shared -Wl,-soname,libutf8_and_euc_jp.so.0 utf8_and_euc_jp.o -L../../../../../../src/port -o libutf8_and_euc_jp.so.0.0
rm -f libutf8_and_euc_jp.so.0
ln -s libutf8_and_euc_jp.so.0.0 libutf8_and_euc_jp.so.0
rm -f libutf8_and_euc_jp.so
ln -s libutf8_and_euc_jp.so.0.0 libutf8_and_euc_jp.so
make[3]: Leaving directory `/usr/src/postgresql-7.4.1/src/backend/utils/mb/conversion_procs/utf8_and_euc_jp'
make[3]: Entering directory `/usr/src/postgresql-7.4.1/src/backend/utils/mb/conversion_procs/utf8_and_euc_kr'
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -I../../../../../../src/include -D_GNU_SOURCE -c -o utf8_and_euc_kr.o utf8_and_euc_kr.c
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -shared -Wl,-soname,libutf8_and_euc_kr.so.0 utf8_and_euc_kr.o -L../../../../../../src/port -o libutf8_and_euc_kr.so.0.0
rm -f libutf8_and_euc_kr.so.0
ln -s libutf8_and_euc_kr.so.0.0 libutf8_and_euc_kr.so.0
rm -f libutf8_and_euc_kr.so
ln -s libutf8_and_euc_kr.so.0.0 libutf8_and_euc_kr.so
make[3]: Leaving directory `/usr/src/postgresql-7.4.1/src/backend/utils/mb/conversion_procs/utf8_and_euc_kr'
make[3]: Entering directory `/usr/src/postgresql-7.4.1/src/backend/utils/mb/conversion_procs/utf8_and_euc_tw'
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -I../../../../../../src/include -D_GNU_SOURCE -c -o utf8_and_euc_tw.o utf8_and_euc_tw.c
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -shared -Wl,-soname,libutf8_and_euc_tw.so.0 utf8_and_euc_tw.o -L../../../../../../src/port -o libutf8_and_euc_tw.so.0.0
rm -f libutf8_and_euc_tw.so.0
ln -s libutf8_and_euc_tw.so.0.0 libutf8_and_euc_tw.so.0
rm -f libutf8_and_euc_tw.so
ln -s libutf8_and_euc_tw.so.0.0 libutf8_and_euc_tw.so
make[3]: Leaving directory `/usr/src/postgresql-7.4.1/src/backend/utils/mb/conversion_procs/utf8_and_euc_tw'
make[3]: Entering directory `/usr/src/postgresql-7.4.1/src/backend/utils/mb/conversion_procs/utf8_and_gb18030'
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -I../../../../../../src/include -D_GNU_SOURCE -c -o utf8_and_gb18030.o utf8_and_gb18030.c
gcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [utf8_and_gb18030.o] Error 1
make[3]: Leaving directory `/usr/src/postgresql-7.4.1/src/backend/utils/mb/conversion_procs/utf8_and_gb18030'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/postgresql-7.4.1/src/backend/utils/mb/conversion_procs'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/postgresql-7.4.1/src'
make: *** [all] Error 2

Looking closer at the tail of the make output it looks like it is going
through support for a bunch of character sets which are not install.

I recall nothing about turning off character support from my reading of
the INSTALL file (or the README or any of the other docs I read).
--
Ken Dyke,
406.581.0495


From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: kdyke(at)keycomputerconsultants(dot)com, pgsql-admin(at)postgresql(dot)org
Subject: Re: error on build from source
Date: 2004-01-18 10:10:58
Message-ID: 200401181110.58312.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

kdyke(at)keycomputerconsultants(dot)com wrote:
> Internal error: Killed (program cc1)
> Please submit a full bug report.
> See <URL:http://gcc.gnu.org/bugs.html> for instructions.

There you go.


From: kdyke(at)keycomputerconsultants(dot)com
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: error on build from source
Date: 2004-01-18 10:44:45
Message-ID: 20040118104445.GP3362@hyper
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

On Sun, Jan 18, 2004 at 11:10:58AM +0100, Peter Eisentraut (peter_e(at)gmx(dot)net) wrote:
> kdyke(at)keycomputerconsultants(dot)com wrote:
> > Internal error: Killed (program cc1)
> > Please submit a full bug report.
> > See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>
> There you go.

Postgres killed it. I'm in the final stages of building a new server. I
have built a new kernel, postfix, and numerous system utilities with this
same gcc. Make check and testing all came out OK.

My initial post was in hopes that others had seen this and had a workaround
for this issue.

I am running further tests including building an upgraded gcc.
--
Ken Dyke,
406.581.0495


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: kdyke(at)keycomputerconsultants(dot)com
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: error on build from source
Date: 2004-01-18 18:54:12
Message-ID: 5000.1074452052@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

kdyke(at)keycomputerconsultants(dot)com writes:
> On Sun, Jan 18, 2004 at 11:10:58AM +0100, Peter Eisentraut (peter_e(at)gmx(dot)net) wrote:
>> kdyke(at)keycomputerconsultants(dot)com wrote:
>>> Internal error: Killed (program cc1)
>>> Please submit a full bug report.
>>> See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>>
>> There you go.

> Postgres killed it.

No, you have a buggy version of gcc. We are not the people to report
the bug to.

regards, tom lane