Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108938 - STLport-4.6.2-r2 fails to compile with gcc4
Summary: STLport-4.6.2-r2 fails to compile with gcc4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-11 15:29 UTC by Stefan Vunckx
Modified: 2005-10-11 18:23 UTC (History)
1 user (show)

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


Attachments
patch to fix includes for gcc4 (4.6.2-gcc4-includes.patch,998 bytes, patch)
2005-10-11 15:32 UTC, Stefan Vunckx
Details | Diff
added ebuild I used to install STLport: has more lines that apply gcc4 patch if gcc4 is found, otherwise it applies normal gcc-includes.patch. (STLport-4.6.2-r3.ebuild,1.38 KB, application/octet-stream)
2005-10-11 15:35 UTC, Stefan Vunckx
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Vunckx 2005-10-11 15:29:33 UTC
STLport-4.6.2-r2 fails to compile with >=gcc-4.0.x, because the gcc-includes
patch links g++-v3 which is now g++-v4

Reproducible: Always
Steps to Reproduce:
1. emerge =dev-libs/STLport-4.6.2-r2
2.
3.

Actual Results:  
A lot of complaints about missing includes


Portage 2.0.53_rc5 (default-linux/x86/2005.1, gcc-4.0.2,
glibc-2.3.5.20050722-r0, 2.6.13-mm1 i686)
=================================================================
System uname: 2.6.13-mm1 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.12.0_pre8
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.91.0.3
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/kde/devel/env /usr/kde/devel/share/config /usr/kde/devel/shutdown
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c
/etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/portage /usr/local/overlays/kdesvn
/usr/local/overlays/gcc4 /usr/local/overlays/openoffice2"
SYNC="rsync://192.168.1.1/gentoo-portage"
USE="x86 X alsa apm avi bash-completion berkdb bitmap-fonts cdr crypt cups curl
directfb eds emboss encode fam flac foomaticdb fortran gdbm gif gpm gstreamer
gtk2 imagemagick imlib ipv6 java jpeg kde libg++ libwww mad mikmod mmx motif mp3
mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt
quicktime readline samba scanner sdl spell sqlite sse ssl svga tcpd tetex tiff
truetype truetype-fonts type1-fonts vorbis xine xml xml2 xv zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Stefan Vunckx 2005-10-11 15:32:54 UTC
Created attachment 70420 [details, diff]
patch to fix includes for gcc4

Added patch for gcc4 that references to g++-v4
Comment 2 Stefan Vunckx 2005-10-11 15:35:32 UTC
Created attachment 70421 [details]
added ebuild I used to install STLport: has more lines that apply gcc4 patch if gcc4 is found, otherwise it applies normal gcc-includes.patch.
Comment 3 SpanKY gentoo-dev 2005-10-11 18:23:32 UTC
Comment on attachment 70420 [details, diff]
patch to fix includes for gcc4

breaks existing gcc-3 support
Comment 4 SpanKY gentoo-dev 2005-10-11 18:23:44 UTC
should be fixed properly in cvs now