Thread: Internal compiler error in `layout_type' at stor-layout.c

Internal compiler error in `layout_type' at stor-layout.c

From
"Guoben Li"
Date:
(Solaris2.7, gcc2.95)

1. cd postgresql-7.2.2

2. ./configure --with-java --with-perl -enable-odbc
(got two warnings:)

checking for flex... no
configure: warning:=20
*** Without Flex you will not be able to build PostgreSQL from CVS or
*** change any of the scanner definition files.  You can obtain Flex from
*** a GNU mirror site.  (If you are using the official distribution of
*** PostgreSQL then you do not need to worry about this because the Flex
*** output is pre-generated.)

checking for bison... no
configure: warning:=20
*** Without Bison you will not be able to build PostgreSQL from CVS or
*** change any of the parser definition files.  You can obtain Bison from
*** a GNU mirror site.  (If you are using the official distribution of
*** PostgreSQL then you do not need to worry about this because the Bison
*** output is pre-generated.)  To use a different yacc program (possible,
*** but not recommended), set the environment variable YACC before running
*** 'configure'.


3. gmake
gmake -C doc all
gmake[1]: Entering directory `/export/local/postgresql-7.2.2/doc'
gzip -d -c man.tar.gz | /bin/tar xf -
for file in man1/*.1; do \
  mv $file $file.bak && \
  sed -e 's/\\fR(l)/\\fR(5)/' $file.bak >$file && \
  rm $file.bak || exit; \
done
/bin/sh ../config/mkinstalldirs man5
mkdir man5
for file in manl/*.l; do \
  sed -e '/^\.TH/s/"l"/"5sql"/'   \
              -e 's/\\fR(l)/\\fR(5)/' \
      $file >man5/`basename $file | sed 's/.l$/.5sql/'` || exit; \
done
gmake[1]: Leaving directory `/export/local/postgresql-7.2.2/doc'
gmake -C src all
gmake[1]: Entering directory `/export/local/postgresql-7.2.2/src'
gmake -C backend all
gmake[2]: Entering directory `/export/local/postgresql-7.2.2/src/backend'
prereqdir=3D`cd parser/ >/dev/null && pwd` && \
  cd ../../src/include/parser/ && rm -f parse.h && \
  ln -s "$prereqdir/parse.h" .
gmake -C utils fmgroids.h
gmake[3]: Entering directory `/export/local/postgresql-7.2.2/src/backend/ut=
ils'
CPP=3D'gcc -E' AWK=3D'nawk' /bin/sh Gen_fmgrtab.sh ../../../src/include/cat=
alog/pg_proc.h
gmake[3]: Leaving directory `/export/local/postgresql-7.2.2/src/backend/uti=
ls'
cd ../../src/include/utils/ && rm -f fmgroids.h && \
    ln -s ../../../src/backend/utils/fmgroids.h .
gmake -C access all
gmake[3]: Entering directory `/export/local/postgresql-7.2.2/src/backend/ac=
cess'
gmake -C common SUBSYS.o
gmake[4]: Entering directory `/export/local/postgresql-7.2.2/src/backend/ac=
cess/common'
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/in=
clude   -c heaptuple.c -o heaptuple.o
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/in=
clude   -c indextuple.c -o indextuple.o
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/in=
clude   -c indexvalid.c -o indexvalid.o
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/in=
clude   -c printtup.c -o printtup.o
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/in=
clude   -c scankey.c -o scankey.o
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/in=
clude   -c tupdesc.c -o tupdesc.o
/usr/ccs/bin/ld -r -o SUBSYS.o heaptuple.o indextuple.o indexvalid.o printt=
up.o scankey.o tupdesc.o=20=20
gmake[4]: Leaving directory `/export/local/postgresql-7.2.2/src/backend/acc=
ess/common'
gmake -C gist SUBSYS.o
gmake[4]: Entering directory `/export/local/postgresql-7.2.2/src/backend/ac=
cess/gist'
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/in=
clude   -c gist.c -o gist.o
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/in=
clude   -c gistget.c -o gistget.o
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/in=
clude   -c gistscan.c -o gistscan.o
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/in=
clude   -c giststrat.c -o giststrat.o
/usr/ccs/bin/ld -r -o SUBSYS.o gist.o gistget.o gistscan.o giststrat.o
gmake[4]: Leaving directory `/export/local/postgresql-7.2.2/src/backend/acc=
ess/gist'
gmake -C hash SUBSYS.o
gmake[4]: Entering directory `/export/local/postgresql-7.2.2/src/backend/ac=
cess/hash'
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/in=
clude   -c hash.c -o hash.o
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/in=
clude   -c hashfunc.c -o hashfunc.o
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/in=
clude   -c hashinsert.c -o hashinsert.o
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/in=
clude   -c hashovfl.c -o hashovfl.o
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/in=
clude   -c hashpage.c -o hashpage.o
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/in=
clude   -c hashscan.c -o hashscan.o
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/in=
clude   -c hashsearch.c -o hashsearch.o
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/in=
clude   -c hashstrat.c -o hashstrat.o
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/in=
clude   -c hashutil.c -o hashutil.o
/usr/ccs/bin/ld -r -o SUBSYS.o hash.o hashfunc.o hashinsert.o hashovfl.o ha=
shpage.o hashscan.o hashsearch.o hashstrat.o hashutil.o
gmake[4]: Leaving directory `/export/local/postgresql-7.2.2/src/backend/acc=
ess/hash'
gmake -C heap SUBSYS.o
gmake[4]: Entering directory `/export/local/postgresql-7.2.2/src/backend/ac=
cess/heap'
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/in=
clude   -c heapam.c -o heapam.o
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/in=
clude   -c hio.c -o hio.o
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/in=
clude   -c tuptoaster.c -o tuptoaster.o
/usr/ccs/bin/ld -r -o SUBSYS.o heapam.o hio.o tuptoaster.o
gmake[4]: Leaving directory `/export/local/postgresql-7.2.2/src/backend/acc=
ess/heap'
gmake -C index SUBSYS.o
gmake[4]: Entering directory `/export/local/postgresql-7.2.2/src/backend/ac=
cess/index'
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/in=
clude   -c genam.c -o genam.o
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/in=
clude   -c indexam.c -o indexam.o
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/in=
clude   -c istrat.c -o istrat.o
/usr/ccs/bin/ld -r -o SUBSYS.o genam.o indexam.o istrat.o
gmake[4]: Leaving directory `/export/local/postgresql-7.2.2/src/backend/acc=
ess/index'
gmake -C nbtree SUBSYS.o
gmake[4]: Entering directory `/export/local/postgresql-7.2.2/src/backend/ac=
cess/nbtree'
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/in=
clude   -c nbtcompare.c -o nbtcompare.o
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/in=
clude   -c nbtinsert.c -o nbtinsert.o
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/in=
clude   -c nbtpage.c -o nbtpage.o
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/in=
clude   -c nbtree.c -o nbtree.o
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/in=
clude   -c nbtsearch.c -o nbtsearch.o
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/in=
clude   -c nbtstrat.c -o nbtstrat.o
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/in=
clude   -c nbtutils.c -o nbtutils.o
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/in=
clude   -c nbtsort.c -o nbtsort.o
/usr/ccs/bin/ld -r -o SUBSYS.o nbtcompare.o nbtinsert.o nbtpage.o nbtree.o =
nbtsearch.o nbtstrat.o nbtutils.o nbtsort.o
gmake[4]: Leaving directory `/export/local/postgresql-7.2.2/src/backend/acc=
ess/nbtree'
gmake -C rtree SUBSYS.o
gmake[4]: Entering directory `/export/local/postgresql-7.2.2/src/backend/ac=
cess/rtree'
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/in=
clude   -c rtget.c -o rtget.o
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/in=
clude   -c rtproc.c -o rtproc.o
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/in=
clude   -c rtree.c -o rtree.o
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/in=
clude   -c rtscan.c -o rtscan.o
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/in=
clude   -c rtstrat.c -o rtstrat.o
/usr/ccs/bin/ld -r -o SUBSYS.o rtget.o rtproc.o rtree.o rtscan.o rtstrat.o
gmake[4]: Leaving directory `/export/local/postgresql-7.2.2/src/backend/acc=
ess/rtree'
gmake -C transam SUBSYS.o
gmake[4]: Entering directory `/export/local/postgresql-7.2.2/src/backend/ac=
cess/transam'
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/in=
clude   -c clog.c -o clog.o
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/in=
clude   -c transam.c -o transam.o
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/in=
clude   -c varsup.c -o varsup.o
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/in=
clude   -c xact.c -o xact.o
In file included from ../../../../src/include/access/hash.h:20,
                 from xact.c:161:
../../../../src/include/access/itup.h:61: Internal compiler error in `layou=
t_type', at stor-layout.c:1071
Please submit a full bug report.
See <URL:http://egcs.cygnus.com/faq.html#bugreport> for instructions.
gmake[4]: *** [xact.o] Error 1
gmake[4]: Leaving directory `/export/local/postgresql-7.2.2/src/backend/acc=
ess/transam'
gmake[3]: *** [transam-recursive] Error 2
gmake[3]: Leaving directory `/export/local/postgresql-7.2.2/src/backend/acc=
ess'
gmake[2]: *** [access-recursive] Error 2
gmake[2]: Leaving directory `/export/local/postgresql-7.2.2/src/backend'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/export/local/postgresql-7.2.2/src'
gmake: *** [all] Error 2