Thread: Bug #623: Compling 7.2 on a Tru64 V5.1 UNIX

Bug #623: Compling 7.2 on a Tru64 V5.1 UNIX

From
pgsql-bugs@postgresql.org
Date:
Jerry Thompson (jthomp_mp@accessus.net) reports a bug with a severity of 1
The lower the number the more severe it is.

Short Description
Compling 7.2 on a Tru64 V5.1 UNIX

Long Description
I am using V5.1 with gnu gcc compiler ver 2.9. I am running configure with these options: --with-perl --enable-odbc
--enable-syslog
I am using gmake v3.79.  When I run make it breaks in the down in the below location. It almost seems like it can't get
tothe tmp file, but I've even moved it around and the error follows it.  The files are all there (e.g. the includes
haststratand so on).
 

p.s. I can get it to compile on an Alpha run version 4.0e and using the generic c compiler on that box

Any clues would be greatly appreciated.

Jerry

Sample Code
make[4]: Entering directory
`/usr/test/postgresql-7.2/src/backend/access/gist'
make[4]: `SUBSYS.o' is up to date.
make[4]: Leaving directory
`/usr/test/postgresql-7.2/src/backend/access/gist'
/usr/test/postgresql-7.2/../make -C hash SUBSYS.o
make[4]: Entering directory
`/usr/test/postgresql-7.2/src/backend/access/hash'
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations
-I../../../../src/include   -c -o hashstrat.o hashstrat.c
mips-tfile, /usr/local/tmp/ccIdlVTM.s:7 Segmentation fault
line:           .file   1 "hashstrat.c"

make[4]: *** [hashstrat.o] Error 1
make[4]: Leaving directory
`/usr/test/postgresql-7.2/src/backend/access/hash'
make[3]: *** [hash-recursive] Error 2
make[3]: Leaving directory `/usr/test/postgresql-7.2/src/backend/access'
make[2]: *** [access-recursive] Error 2
make[2]: Leaving directory `/usr/test/postgresql-7.2/src/backend'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/test/postgresql-7.2/src'
make: *** [all] Error 2

No file was uploaded with this report

Re: Bug #623: Compling 7.2 on a Tru64 V5.1 UNIX

From
Peter Eisentraut
Date:
pgsql-bugs@postgresql.org writes:

> I am using V5.1 with gnu gcc compiler ver 2.9.

There is no release of GCC with the version number 2.9.

> gcc  -Wall -Wmissing-prototypes -Wmissing-declarations
> -I../../../../src/include   -c -o hashstrat.o hashstrat.c
> mips-tfile, /usr/local/tmp/ccIdlVTM.s:7 Segmentation fault
> line:           .file   1 "hashstrat.c"
>
> make[4]: *** [hashstrat.o] Error 1

If the compiler crashes then that's a bug in your compiler.

--
Peter Eisentraut   peter_e@gmx.net