Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91798 - gcc does not compile in uclibc with libiconv
Summary: gcc does not compile in uclibc with libiconv
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 117508 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-05-07 07:31 UTC by Vit Vomacko
Modified: 2006-01-03 04:24 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vit Vomacko 2005-05-07 07:31:23 UTC
ializations.h:194: error: syntax
   error before `::' token
/var/tmp/portage/gcc-3.3.5.20050130-r1/work/build/i386-gentoo-linux-uclibc/libstdc++-v3/include/i386-gentoo-linux-uclibc/bits/codecvt_specializations.h:198: error: only
   declarations of constructors can be `explicit'
/var/tmp/portage/gcc-3.3.5.20050130-r1/work/build/i386-gentoo-linux-uclibc/libstdc++-v3/include/i386-gentoo-linux-uclibc/bits/codecvt_specializations.h: In
   function `int codecvt(unsigned int)':
/var/tmp/portage/gcc-3.3.5.20050130-r1/work/build/i386-gentoo-linux-uclibc/libstdc++-v3/include/i386-gentoo-linux-uclibc/bits/codecvt_specializations.h:198: error: only
   constructors take base initializers
/var/tmp/portage/gcc-3.3.5.20050130-r1/work/build/i386-gentoo-linux-uclibc/libstdc++-v3/include/i386-gentoo-linux-uclibc/bits/codecvt_specializations.h:198: error: parse
   error before `<' token
/var/tmp/portage/gcc-3.3.5.20050130-r1/work/build/i386-gentoo-linux-uclibc/libstdc++-v3/include/i386-gentoo-linux-uclibc/bits/codecvt_specializations.h:199: confused by earlier errors, bailing out
make[4]: *** [codecvt.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/gcc-3.3.5.20050130-r1/work/build/i386-gentoo-linux-uclibc/libstdc++-v3/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/gcc-3.3.5.20050130-r1/work/build/i386-gentoo-linux-uclibc/libstdc++-v3'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/gcc-3.3.5.20050130-r1/work/build/i386-gentoo-linux-uclibc/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.3.5.20050130-r1/work/build'
make: *** [bootstrap-lean] Error 2


matrix / # emerge info
Portage 2.0.51.19 (uclibc/x86/2.4, gcc-3.3.5-20050130, uclibc-0.9.27-r0, 2.6.11.4 i686)
=================================================================
System uname: 2.6.11.4 i686
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May  7 2005, 13:03:00)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.7.9-r1, 1.5, 1.9.4, 1.6.3, 1.4_p6, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-Os -pipe"
CHOST="i386-gentoo-linux-uclibc"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks nodoc noinfo noman sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="cs"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 fortran ipv6 make-symlinks minimal ncurses perl python readline savedconfig skey ssl uclibc zlib linguas_cs userland_GNU kernel_linux elibc_uclibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Sander Knopper 2005-09-10 05:33:03 UTC
The same here with gcc-3.3.6

emerge info:

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r0,
2.6.12.5 i686)
=================================================================
System uname: 2.6.12.5 i686 VIA Samuel 2
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-march=c3 -m3dnow -mmmx -Os -fomit-frame-pointer -pipe"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=c3 -m3dnow -mmmx -Os -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/"
LC_ALL="en_US.UTF-8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="x86 3dnow acpi apache2 crypt cups curl eds foomaticdb ftp gd gdbm gif
glibc-omitfp gstreamer imagemagick imap jpeg libwww maildir mmx mpm-prefork
mysql mysqli ncurses nls ogg pcntl pcre php png posix ppds readline samba
session sftplogging sharedext slang sockets ssl tcpd truetype truetype-fonts
type1-fonts unicode usb vorbis xml2 zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 2 Sander Knopper 2005-09-10 05:35:11 UTC
(In reply to comment #1)
> The same here with gcc-3.3.6
> 
> emerge info:
> 
> Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r0,
> 2.6.12.5 i686)
> =================================================================
> System uname: 2.6.12.5 i686 VIA Samuel 2
> Gentoo Base System version 1.6.13
> dev-lang/python:     2.3.5-r2
> sys-apps/sandbox:    1.2.12
> sys-devel/autoconf:  2.13, 2.59-r6
> sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
> sys-devel/binutils:  2.15.92.0.2-r10
> sys-devel/libtool:   1.5.18-r1
> virtual/os-headers:  2.6.11-r2
> ACCEPT_KEYWORDS="x86"
> AUTOCLEAN="yes"
> CBUILD="i586-pc-linux-gnu"
> CFLAGS="-march=c3 -m3dnow -mmmx -Os -fomit-frame-pointer -pipe"
> CHOST="i586-pc-linux-gnu"
> CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
> /usr/share/config /var/bind /var/qmail/control"
> CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
> CXXFLAGS="-march=c3 -m3dnow -mmmx -Os -fomit-frame-pointer -pipe"
> DISTDIR="/usr/portage/distfiles"
> FEATURES="autoconfig distlocks sandbox sfperms strict"
> GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/"
> LC_ALL="en_US.UTF-8"
> PKGDIR="/usr/portage/packages"
> PORTAGE_TMPDIR="/var/tmp"
> PORTDIR="/usr/portage"
> SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
> USE="x86 3dnow acpi apache2 crypt cups curl eds foomaticdb ftp gd gdbm gif
> glibc-omitfp gstreamer imagemagick imap jpeg libwww maildir mmx mpm-prefork
> mysql mysqli ncurses nls ogg pcntl pcre php png posix ppds readline samba
> session sftplogging sharedext slang sockets ssl tcpd truetype truetype-fonts
> type1-fonts unicode usb vorbis xml2 zlib userland_GNU kernel_linux elibc_glibc"
> Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
> 


Sorry, got the emerge info from the wrong system...

Here's the correct output:

Gentoo Base System version 1.6.13
Portage 2.0.51.22-r2 (uclibc/x86/2005.1, gcc-3.3.5-20050130, uclibc-0.9.27-r0,
2.6.12.5 i686)
=================================================================
System uname: 2.6.12.5 i686 Celeron (Mendocino)
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-gentoo-linux-uclibc"
CFLAGS="-march=pentium2 -Os -fomit-frame-pointer -pipe"
CHOST="i686-gentoo-linux-uclibc"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium -Os -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/"
LINGUAS="en nl"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage-overlay"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="x86 X bzip2 cdparanoia curl divx4linux fbcon ffmpeg ftp gd gdbm gif gpm gtk
iconv imagemagick imap jpeg jpeg2k mime mmx mp3 mpeg ncurses no-old-linux ogg
pcmcia pcre perl png python readline sockets ssl sysfs truetype truetype-fonts
uclibc usb win32codecs xml2 zlib linguas_en linguas_nl userland_GNU kernel_linux
elibc_uclibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS
Comment 3 SpanKY gentoo-dev 2005-12-02 20:43:11 UTC
libiconv is not supported
Comment 4 SpanKY gentoo-dev 2006-01-02 17:03:29 UTC
*** Bug 117508 has been marked as a duplicate of this bug. ***
Comment 5 solar (RETIRED) gentoo-dev 2006-01-02 17:18:33 UTC
Did something attempt to pull libiconv in as a dep? 
Having libiconv installed can lead to a depends mess.
Comment 6 Stefan de Konink 2006-01-02 17:26:56 UTC
Yes, I found out a minute ago when I unmerged libiconv and started to emerge gcc, which lead to a compiler crash in GCC. I was too lazy to post a full bug report, and switched back to 3.3.6 which, I hope, can give me a working 3.4.5 and I guess I have to remerge libiconv again to recompile uclibc/uclibc++ ;) Because something says to me I needed it for *something* on this system ;)
Comment 7 Stefan de Konink 2006-01-02 17:31:45 UTC
Just remembered I had an emerge.log somewhere. libiconv was a dep of gettext.
Comment 8 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-01-02 23:46:50 UTC
Can someone show me the code that's bringing this on? I'd like to see if it's possible to fix it anyway.

Or I'll just have to find time to get an uclibc chroot here :)
Comment 9 Stefan de Konink 2006-01-03 04:24:56 UTC
(In reply to comment #8)
> Can someone show me the code that's bringing this on? I'd like to see if it's
> possible to fix it anyway.
> 
> Or I'll just have to find time to get an uclibc chroot here :)

I have a chroot available, so if you want to try something, be my guest. In the other bugreport, you see which file screws up.