Thread: compiler error with 7.3

compiler error with 7.3

From
Björn Metzdorf
Date:
Hi,

sorry if this has been handled before, but I get a compiler error during
making of 7.3:

----------------------SNIP----------------------
make[3]: Entering directory `/usr/src/postgresql-7.3/src/backend/commands'
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/inc
lude   -c -o aggregatecmds.o aggregatecmds.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/inc
lude   -c -o analyze.o analyze.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/inc
lude   -c -o async.o async.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/inc
lude   -c -o cluster.o cluster.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/inc
lude   -c -o comment.o comment.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/inc
lude   -c -o conversioncmds.o conversioncmds.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/inc
lude   -c -o copy.o copy.c
copy.c: In function `CopyTo':
copy.c:733: Internal compiler error:
copy.c:733: Internal compiler error in `count_pseudo', at reload1.c:4088
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[3]: *** [copy.o] Error 1
make[3]: Leaving directory `/usr/src/postgresql-7.3/src/backend/commands'
make[2]: *** [commands-recursive] Error 2
make[2]: Leaving directory `/usr/src/postgresql-7.3/src/backend'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/postgresql-7.3/src'
----------------------SNAP----------------------

Specs:
Debian 3.0 on x86
./configure --prefix=/usr/local/postgresql-7.3 --with-gnu-ld
gcc version 2.95.4 20011002
/lib/libc.so.6 -> libc-2.2.5.so

Thanks for your help.

Regards,
Bjoern


Re: compiler error with 7.3

From
Neil Conway
Date:
On Thu, 2002-11-28 at 11:24, Björn Metzdorf wrote:
> gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/inc
> lude   -c -o copy.o copy.c
> copy.c: In function `CopyTo':
> copy.c:733: Internal compiler error:
> copy.c:733: Internal compiler error in `count_pseudo', at reload1.c:4088
> Please submit a full bug report.
> See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
> make[3]: *** [copy.o] Error 1

Naturally, this seems more a GCC problem than a PostgreSQL one (FWIW,
7.3 compiles fine with Debian unstable on x86, gcc 2.95.4-15). Have you
reported the bug to Debian?

Cheers,

Neil


Re: compiler error with 7.3

From
Tom Lane
Date:
=?iso-8859-1?Q?Bj=F6rn_Metzdorf?= <bm@turtle-entertainment.de> writes:
> copy.c:733: Internal compiler error:
> copy.c:733: Internal compiler error in `count_pseudo', at reload1.c:4088
> Please submit a full bug report.
> See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

You are reporting this to the wrong place...

            regards, tom lane