pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Solaris 8 bootstrap fail - linking libnbcompat
Hey, all -
I may be one of the only people still trying to keep things running on
older Solaris, but something I ran into on getting bootstrapping going.
Is there a way in pkgsrc to override the linker that gcc is forcing? If
not, maybe libnbcompat is assuming gnu ld?
Any thoughts?
What I'm seeing:
===> Extracting for bsdinstall-20160108nb1
/usr/bin/rm -f
/working/pkgsrc/bootstrap/work/wrk/sysutils/bsdinstall/work/libnbcompat/config.guess
/working/pkgsrc/bootstrap/work/wrk/sysutils/bsdinstall/work/libnbcompat/config.sub
/usr/bin/ln -fs /working/pkgsrc/mk/gnu-config/config.guess
/working/pkgsrc/bootstrap/work/wrk/sysutils/bsdinstall/work/libnbcompat/config.guess
/usr/bin/ln -fs /working/pkgsrc/mk/gnu-config/config.sub
/working/pkgsrc/bootstrap/work/wrk/sysutils/bsdinstall/work/libnbcompat/config.sub
===> Patching for bsdinstall-20160108nb1
===> Creating toolchain wrappers for bsdinstall-20160108nb1
===> Configuring for bsdinstall-20160108nb1
=> Configuring and building libnbcompat
checking build system type... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2.8
checking for sparc-sun-solaris2.8-gcc... gcc
checking whether the C compiler works... no
configure: error: in
`/working/pkgsrc/bootstrap/work/wrk/sysutils/bsdinstall/work/libnbcompat':
configure: error: C compiler cannot create executables
See `config.log' for more details
*** Error code 77
From the config.log:
configure:3051: checking whether the C compiler works
configure:3073: gcc -O2 -D_FORTIFY_SOURCE=2
-D_PATH_DEVNULL=\"/dev/null\" -DTARGET_STRIP=\"/usr/ccs/bin/strip\"
-DHAVE_NBCOMPAT_H=1
-I/working/pkgsrc/bootstra/work/wrk/sysutils/bsdinstall/work/libnbcompat
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-L/working/pkgsrc/bootstrap/work/wrk/sysutils/bsdinstall/work/libnbcompat
-Wl,-R/usr/pkg/lib conftest.c >&5
<command-line>:0:16: warning: missing terminating " character [enabled
by default]
<command-line>:0:15: warning: missing terminating " character [enabled
by default]
ld: fatal: option -dn and -P are incompatible
ld: fatal: Flags processing errors
Environment stuff to follow:
$ ./configure --host=sparc-sun-solaris2.8
## --------- ##
## Platform. ##
## --------- ##
hostname = unknown
uname -m = sun4m
uname -r = 5.8
uname -s = SunOS
uname -v = Generic_117350-62
/usr/bin/uname -p = sparc
/bin/uname -X = System = SunOS
Node = unknown
Release = 5.8
KernelID = Generic_117350-62
Machine = sun4m
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 1
/bin/arch = sun4
/usr/bin/arch -k = sun4m
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH:
/working/pkgsrc/bootstrap/work/wrk/sysutils/bsdinstall/work/.cwrapper/bin
PATH:
/working/pkgsrc/bootstrap/work/wrk/sysutils/bsdinstall/work/.buildlink/bin
PATH: /working/pkgsrc/bootstrap/work/wrk/sysutils/bsdinstall/work/.gcc/bin
PATH: /working/pkgsrc/bootstrap/work/wrk/sysutils/bsdinstall/work/.tools/bin
PATH: /usr/pkg/bin
PATH: /usr/pkg/bin
PATH: /usr/pkg/sbin
PATH: /opt/JC/bin
PATH: /opt/JC/sbin
PATH: /usr/local/bin
PATH: /usr/local/sbin
PATH: /opt/sfw/bin
PATH: /opt/sfw/bin
PATH: /usr/bin
PATH: /usr/sbin
PATH: /usr/ccs/bin
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/ccs/bin
PATH: /usr/pkg/bin
PATH: /usr/openwin/bin
Using built-in specs.
COLLECT_GCC=/working/pkgsrc/bootstrap/work/wrk/sysutils/bsdinstall/work/.gcc/bin/gcc
COLLECT_LTO_WRAPPER=/working/opt/JC/bin/../libexec/gcc/sparc-sun-solaris2.8/4.7.4/lto-wrapper
Target: sparc-sun-solaris2.8
Configured with: /working/build/gcc-4.7.4/configure --enable-obsolete
--prefix=/working/package_local/JC --disable-nls --enable-shared
--enable-threads=posix --with-cloog=/opt/JC --without-gnu-ld
--with-ld=/usr/ccs/bin/ld --with-gnu-as --with-as=/opt/JC/bin/gas
--enable-languages=c,c++,objc,fortran --with-cpu=v8 --with-ppl=/opt/JC
--disable-multilib --with-mpc=/opt/JC --with-gmp=/opt/JC
--with-mpfr=/opt/JC --disable-libitm
Thread model: posix
gcc version 4.7.4 (GCC)
Home |
Main Index |
Thread Index |
Old Index