anders.mortsell at gmail
Apr 20, 2005, 7:09 AM
Post #1 of 1
I'm trying to install gentoo 2005.0 from a stage1 tarball on an old
Ultra1, but after I've bootsrapped my system and enter the stage2
stage I run into problems building glibc.
Beloow is the error message I get and also my USE flags and CFLAGS.
gcc .nostdlib -nostartfiles -shared -o
-Wlm-z,combreloc -Wl,-z,relro -Wl,-z,defs \
BFD 18.104.22.168.2 20040927 assertion fail
probably compiled without -fPIC?
final link failed: Bad value collect2: ld returned 1 exit status
ERROR: sys-libs/glibc-22.214.171.12440420-r2 failed
function src_compile,Line 586,Exit code 2
(no error message)
I've tried to copy the error message as exactly as possible but the
paths might not be totally correct because I've first written them on
paper and then transferred them from the paper into this mail. Between
the ld returned 1 exit status and ERROR:
lines there are a few lines saying something like make 1 leaving
directory.... and make 2 leaving directory... but I figure those
aren't really part of the error message.
The USE flags that I've configured myself, i.e., those configured in
addition to the make.defaults file are:
USE="-alsa -cups -gtk -gnome hardened hardenedphp -kde kerberos krb4
maildir -mikmod mozilla mysql php postgres sasl symlink tetex threads
ultra1 -X -xmms -xv"
Also, I have configured CFLAGS as follows:
CFLAGS="-mcpu=ultrasparc -O3 -pipe -mtune=v9 -fomit-frame--pointer -fPIC"
I've also tried it without -fPIC but with the same result...
I've searched both the forums and google for an resolution to this
problem but I didn't find anything so if someone has seen this and
know how to solve it I would be very grateful. I suspect that it has
something to do with the hardened USE flag, but I haven't tried
gentoo-sparc [at] gentoo mailing list