Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73617 - gcc-config compile has portability issues
Summary: gcc-config compile has portability issues
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-06 20:11 UTC by devsk
Modified: 2004-12-08 15:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch on latest ebuild of gcc-config (gcc-config-1.3.7-r2.ebuild.patch,537 bytes, patch)
2004-12-06 20:12 UTC, devsk
Details | Diff
wrapper source patch for 1.4.2, also applies cleanly to 1.4.3 manually (wrapper-1.4.2-portable.patch,1.38 KB, patch)
2004-12-06 20:13 UTC, devsk
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description devsk 2004-12-06 20:11:23 UTC
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"
Comment 1 devsk 2004-12-06 20:12:29 UTC
Created attachment 45414 [details, diff]
patch on latest ebuild of gcc-config
Comment 2 devsk 2004-12-06 20:13:18 UTC
Created attachment 45415 [details, diff]
wrapper source patch for 1.4.2, also applies cleanly to 1.4.3 manually
Comment 3 SpanKY gentoo-dev 2004-12-08 15:47:07 UTC
added to gcc-config-1.3.7-r6, thanks