Hi,
I have an OpenPKG 2.4 installation on sparc64-solaris9 that seems to
segfault on upgrading gcc to 2.5.0 (order of upgrade I did was: openpkg
-> 2.5.1, make, binutils):
[EMAIL PROTECTED] gcc]# openpkg rpm -qa |egrep "openpkg|gcc|binutils|make"
openpkg-registry-0.2.5-20051129
make-3.80-2.5.0 [upgraded from openpkg-2.4.0]
gcc-3.4.4-2.4.0
openpkg-2.5.1-2.5.1 [upgraded from openpkg-2.4.0]
binutils-2.16.1-2.5.0 [upgraded from openpkg-2.4.0]
[EMAIL PROTECTED] gcc]# openpkg rpm -bb gcc.spec
...[lots of stuff]...
/opt/openpkg/bin/cc -g -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING
-DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -DHAVE_CONFIG_H
-DGENERATOR_FILE -o build/genmodes \
build/genmodes.o build/errors.o
../build-sparc-sun-solaris2.9/libiberty/libiberty.a
/opt/openpkg/bin/ld: warning: sparc:v9 architecture of input file
`../build-sparc-sun-solaris2.9/libiberty/libiberty.a(hashtab.o)' is
incompatible with sparc output
/opt/openpkg/bin/ld: warning: sparc:v9 architecture of input file
`../build-sparc-sun-solaris2.9/libiberty/libiberty.a(xmalloc.o)' is
incompatible with sparc output
/opt/openpkg/bin/ld: warning: sparc:v9 architecture of input file
`../build-sparc-sun-solaris2.9/libiberty/libiberty.a(xstrdup.o)' is
incompatible with sparc output
/opt/openpkg/bin/ld: warning: sparc:v9 architecture of input file
`../build-sparc-sun-solaris2.9/libiberty/libiberty.a(xexit.o)' is
incompatible with sparc output
build/genmodes -h > tmp-modes.h
/opt/openpkg/lib/openpkg/bash: line 1: 22078 Segmentation Fault
(core dumped) build/genmodes -h >tmp-modes.h
make[2]: *** [s-modes] Error 139
make[1]: *** [stage1_build] Error 2
make: *** [bootstrap-lean] Error 2
error: Bad exit status from /opt/openpkg/RPM/TMP/rpm-tmp.17369 (%build)
RPM build errors:
Bad exit status from /opt/openpkg/RPM/TMP/rpm-tmp.17369 (%build)
[EMAIL PROTECTED] gcc]#
(is there a place where the make outputs go so I can post those too?)
This is on the build machine itself. What's odd is that it seems
openpkg is usuing 64-bit gcc for the build, when I thought gcc in opkg
2.4 didn't work with 64bit compiles (I only think this because I don't
remember lsof building right with gcc on 2.4, but I might be thinking of
an older version).
Anybody else seen this? Should I downgrade binutils and make to 2.4.0
and upgrade gcc first?
opkg-root/RPM/TMP/gcc-4.0.2/obj/gcc/config.log is here:
http://adam.gmi.com/tmp/config.log
Thanks!
--
adam
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List [email protected]