Subject: pkg/26674: Postgresql-8 Beta Fails on NetBSD/Alpha 2.0G
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <stefan@net-tex.de>
List: pkgsrc-bugs
Date: 08/15/2004 18:20:50
>Number:         26674
>Category:       pkg
>Synopsis:       Postgresql-8 Beta Fails on NetBSD/Alpha 2.0G
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 15 20:48:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Stefan Schumacher
>Release:        NetBSD  2.0G Alpha / releng snapshot 20040715
>Organization:
>Environment:
NetBSD  2.0G NetBSD 2.0G (GENERIC) #0: Fri Jul 16 02:53:09 UTC 2004
autobuild@b1.urc.uninett.no:/usr/users/autobuild/autobuild/HEAD/alpha/OBJ/uss
r/users/autobuild/autobuild/HEAD/src/sys/arch/alpha/compile/GENERIC
alpha

>Description:
I tried to build the new PostgreSQL 8.0 Beta on a AXPpci33 Alpha with 2.0G Snapshot. 
Compiling failed with:

gmake[3]: Leaving directory `/usr/home/postgresql-8.0.0beta1/src/backend/commands'
gmake -C executor all
gmake[3]: Entering directory `/usr/home/postgresql-8.0.0beta1/src/backend/executor'
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/include   -c -o execAmi.o execAmi.c
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/include   -c -o execGrouping.o execGrouping.c
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/include   -c -o execJunk.o execJunk.c
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/include   -c -o execMain.o execMain.c
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/include   -c -o execProcnode.o execProcnode.c
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/include   -c -o execQual.o execQual.c
execQual.c: In function `ExecInitExpr':
execQual.c:2896: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.netbsd.org/Misc/send-pr.html> for instructions.
gmake[3]: *** [execQual.o] Error 1
gmake[3]: Leaving directory `/usr/home/postgresql-8.0.0beta1/src/backend/executor'
gmake[2]: *** [executor-recursive] Error 2
gmake[2]: Leaving directory `/usr/home/postgresql-8.0.0beta1/src/backend'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/home/postgresql-8.0.0beta1/src'
gmake: *** [all] Error 2
----
# gcc -v
Using built-in specs.
Configured with: /home/nick/work/netbsd/src/tools/gcc/../../gnu/dist/gcc/configure --enable-long-long --disable-multilib --enable-threads --disable-symvers --build=i386-unknown-netbsdelf2.0. --host=alpha--netbsd --target=alpha--netbsd
Thread SE.
model: po
----
# gmake -v
GNU Make 3.80
Copyright (C) 2002  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
----

a complete typescript can be found at:
http://www-e.uni-magdeburg.de/steschum/postgresql8-netbsd-alpha-fail.bz2

I mailed to the PostgreSQL bug-smailinglist, too.

I built postgresql from the same sources successfully on my i386 with 2.0G.
>How-To-Repeat:
Get the PostgreSQL 8.0 Beta sources (http://www.postgresql.org/news/216.html), unzip them and run:
configure && gmake && gmake install
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: