gcc-config fails to compile on solaris for lack of strerror_r, strsep and
setenv. The supplied patch applies cleanly to the ebuild and the wrapper C
source file on linux and works. Please let me know if you want me to move the
changes under a SOLARIS specific macro.
Reproducible: Always
Steps to Reproduce:
1.emerge gcc-config
2.
3.
Actual Results:
failed with compile errors
Expected Results:
It should compile and run on solaris like it runs on linux. With the patches,
it
does!!
Portage 2.0.51_rc1 (default-sun-9.0, gcc-3.4.3, glibc-2.3.3.20040420-r1, 5.9
sun4u)
=================================================================
System uname: 5.9 sun4u sparc
Gentoo-Solaris Base System version 2004.0 (Portaris 1.0), Gentoo Foundation
Inc.
distcc 2.16 sparc-sun-solaris2.9 (protocols 1 and 2) (default port 3632)
[enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.91.0.2
Headers:
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="sparc"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe"
CHOST="sparc-sun-solaris2.9"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://10.0.1.100/gentoo-portage"
USE="X arts berkdb crypt cups esd foomaticdb gdbm gnome gtk gtk2 imlib jpeg kde
libwww mad mikmod motif mozilla mpeg ncurses nls opengl pam perl png python qt
readline slang solaris sparc spell ssl sun tcpd truetype xv zlib"