Subject: Still can't build lang/gcc3 on Solaris 9/sparc
To: None <tech-pkg@netbsd.org>
From: John D. Baker <jdbaker@mylinuxisp.com>
List: tech-pkg
Date: 07/23/2004 21:26:04
It's been about a month since I last tried to build lang/gcc3 on Solaris
9.  This time, libiconv is built as a dependency, but for some reason,
the runtime linker ld.so still can't find it when the 'xgcc' compiler
is run:

[...]
/usr/pkgsrc/lang/gcc3-c/work/gcc-3.3.4/gcc/xgcc -B/usr/pkgsrc/lang/gcc3-c/work/gcc-3.3.4/gcc/ -B/usr/pkg/gcc3/sparc-sun-solaris2/bin/ -B/usr/pkg/gcc3/sparc-sun-solaris2/lib/ -isystem /usr/pkg/gcc3/sparc-sun-solaris2/include -dumpspecs > tmp-specs
ld.so.1: /usr/pkgsrc/lang/gcc3-c/work/gcc-3.3.4/gcc/xgcc: fatal: libiconv.so.2: open failed: No such file or directory
Killed
gmake[1]: *** [specs] Error 137
gmake[1]: Leaving directory `/usr/pkgsrc/lang/gcc3-c/work/gcc-3.3.4/gcc'
gmake: *** [all-gcc] Error 2
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/lang/gcc3-c
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/lang/gcc3-c



I'm using the gcc-3.4 package from sunfreeware.com to build the bootstrap.
I want to get a pkgsrc-hosted gcc3 built, but lang/gcc3 is still having
problems.  (lang/gcc34 doesn't even get this far...)



-- 
John D. Baker, KN5UKS                    NetBSD     Darwin/MacOS X
jdbaker(at)mylinuxisp(dot)com                 OpenBSD            FreeBSD
BSD -- It just sits there and _works_!