pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/43396: bootstrap --abi=64 failure on OpenSolaris both with SUNWspro and Gcc
>Number: 43396
>Category: pkg
>Synopsis: bootstrap --abi=64 failure on OpenSolaris both with SUNWspro
>and Gcc
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon May 31 23:20:01 +0000 2010
>Originator: NAKAJI Hiroyuki
>Release: OpenSolaris
>Organization:
>Environment:
SunOS sayaka 5.11 snv_134 i86pc i386 i86pc Solaris
>Description:
On OpenSolaris, gcc and SunStudio are available as compiler collections. I
tried "bootstrap --abi=64" on my Dell PE T105 server. And got an error.
cc -O -I/usr/include -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64
-DDEF_UMASK=022
-I/home/nakaji/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libarchive/libarchive
-I/home/nakaji/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libfetch
-DHAVE_NBCOMPAT_H=1
-I/home/nakaji/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libnbcompat
-I/usr/include -I. -D_LARGEFILE_SOURCE -D_LARGE_FILES -DFTP_COMBINE_CWDS -c
common.c
/usr/gnu/bin/ld: Relocatable linking with relocations from format elf64-x86-64
(common.o.o) to format elf32-i386 (common.o) is not supported
*** Error code 1
Stop.
bmake: stopped in
/home/nakaji/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libfetch
*** Error code 1
Stop.
bmake: stopped in /home/nakaji/pkgsrc/pkgtools/pkg_install
*** Error code 1
Stop.
bmake: stopped in /home/nakaji/pkgsrc/pkgtools/pkg_install
===> exited with status 1
aborted.
I tried four cases:
1. CC=/opt/SunStudioExpress/bin/cc + abi=64 (bootstrap64cc.log)
2. CC=/usr/gnu/bin/cc + abi=64 (bootstrap64gcc.log)
3. CC=/opt/SunStudioExpress/bin/cc + abi=32 (bootstrap32cc.log)
4. CC=/usr/gnu/bin/cc + abi=32 (bootstrap32gcc.log)
The case of 1 and 2 both fail with the same error, and 3 and 4 succeed.
Full logs of the four cases are put in
http://www.heimat.gr.jp/~nakaji/opensolaris/pkgsrc/error/
See bootstrap{32,64}{cc,gcc}.log
>How-To-Repeat:
o Setup a 64-bit OpenSolaris
o pkg install ss-dev
o cvs co -dP pkgsrc
o cd pkgsrc/bootstrap
o Run "env CC="/opt/SunStudioExpress/bin/cc" SUNWSPROBASE=/opt/SunStudioExpress
pfexec ./bootstrap --abi=64" etc
>Fix:
I do not have a solution.
Home |
Main Index |
Thread Index |
Old Index