Subject: Strange NetBSD 3.0_BETA build failure
To: None <port-macppc@NetBSD.org>
From: Matthias Scheler <tron@zhadum.de>
List: tech-toolchain
Date: 05/19/2005 09:50:29
Hello,
I've tried to cross build NetBSD-macppc under Solaris 10 at work and it
died with a strange error while building X11:
# build GLU/libGLU.so.1.3
rm -f libGLU.so.1.3
/export/home/matthias/tools/bin/powerpc--netbsd-gcc -Wl,-nostdlib -B/export/home/matthias/dest/usr/lib/ -B/export/home/matthias/dest/usr/lib/ -Wl,-rpath-link,/export/home/matthias/dest/lib:/export/home/matthias/dest/usr/lib -L/export/home/matthias/dest/lib -Wl,-x -shared -Wl,-soname,libGLU.so.1 -Wl,-rpath-link,/export/home/matthias/dest/usr/X11R6/lib -R/usr/X11R6/lib -L/export/home/matthias/dest/usr/X11R6/lib -o libGLU.so.1.3 -Wl,--whole-archive libGLU_pic.a -Wl,--no-whole-archive -lstdc++ -lm -L/export/home/matthias/obj/x11/lib/Xext -lXext -L/export/home/matthias/obj/x11/lib/X11/dynamic -lX11 -L/export/home/matthias/obj/x11/lib/GL -lGL -L/export/home/matthias/dest/usr/lib
/export/home/matthias/tools/lib/gcc-lib/powerpc--netbsd/3.3.3/../../../../powerpc--netbsd/bin/ld: libGLU.so.1.3: Not enough room for program headers (allocated 5, need 6)
/export/home/matthias/tools/lib/gcc-lib/powerpc--netbsd/3.3.3/../../../../powerpc--netbsd/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
*** Failed target: libGLU.so.1.3
I'm sure that it's neither a problem with the sources nor the Solaris 10 setup
because building NetBSD-i386 worked fine. Has anybody seen this before?
Kind regards
--
Matthias Scheler http://scheler.de/~matthias/