For Solaris, the bzip2 ebuild needs this for Solaris 10... (just as interix) elif [[ ${CHOST} == *-solaris* ]]; then sed -i -e 's,-soname,-h,' Makefile-libbz2.so || die "cannot replace -sonamee with -h" fi
I guess that's when not using GNU-ld. I'm still not sure if we should support that.
The GNU linker supports both -soname and -h, whereas the internal linker just supports -h. And bzip2 has shown up as the only problem, so I can't see any reason we can't make this change.
Oh, and this is only during bootstrap. We'll get the full binutils package later.
It's a bit odd that I never hit this problem, while I've been bootstrapping on Solaris and derivatives a lot... So I'm wondering what you're doing different (like bug #447704).
I'm just following the guide.... http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml
That's manual. This one should work flawlessly for Solaris: http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap.xml (I verified it last week on Solaris 10u6 Sparc)
o.k. I'm starting this one right now.
It works with the auto script.