Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125395 - cannot build dev-libs/boost-1.33.1 with gcc-4.1.0
Summary: cannot build dev-libs/boost-1.33.1 with gcc-4.1.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 125834 125872 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-07 12:38 UTC by Chris Smith
Modified: 2006-03-13 19:48 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 Chris Smith 2006-03-07 12:38:30 UTC
get a bunch of these type errors:
--------------------------
gcc-C++-action bin/boost/libs/serialization/build/libboost_wserialization.a/gcc/release/basic_text_woprimitive.o
/var/tmp/portage/boost-1.33.1/work/boost_1_33_1/libs/serialization/build/../src/basic_text_wiprimitive.cpp:14:2: error: #error
"wide char i/o not supported on this platform"

    set -e
    "g++"   -c -Wall -ftemplate-depth-255  -DNDEBUG -DNDEBUG -DBOOST_LIB_DIAGNOSTIC=1  -O3 -finline-functions -Wno-inline  -Wno
-non-virtual-dtor -Wno-ctor-dtor-privacy  -I"bin/boost/libs/serialization/build"   -I "/var/tmp/portage/boost-1.33.1/work/boost
_1_33_1"  -o "bin/boost/libs/serialization/build/libboost_wserialization.a/gcc/release/basic_text_wiprimitive.o"  "/var/tmp/por
tage/boost-1.33.1/work/boost_1_33_1/libs/serialization/build/../src/basic_text_wiprimitive.cpp"


...failed gcc-C++-action bin/boost/libs/serialization/build/libboost_wserialization.a/gcc/release/basic_text_wiprimitive.o...
gcc-C++-action bin/boost/libs/serialization/build/libboost_wserialization.a/gcc/release/binary_wiarchive.o
/var/tmp/portage/boost-1.33.1/work/boost_1_33_1/libs/serialization/build/../src/basic_text_woprimitive.cpp:14:2: error: #error
"wide char i/o not supported on this platform"

    set -e
    "g++"   -c -Wall -ftemplate-depth-255  -DNDEBUG -DNDEBUG -DBOOST_LIB_DIAGNOSTIC=1  -O3 -finline-functions -Wno-inline  -Wno
-non-virtual-dtor -Wno-ctor-dtor-privacy  -I"bin/boost/libs/serialization/build"   -I "/var/tmp/portage/boost-1.33.1/work/boost
_1_33_1"  -o "bin/boost/libs/serialization/build/libboost_wserialization.a/gcc/release/basic_text_woprimitive.o"  "/var/tmp/por
tage/boost-1.33.1/work/boost_1_33_1/libs/serialization/build/../src/basic_text_woprimitive.cpp"


...failed gcc-C++-action bin/boost/libs/serialization/build/libboost_wserialization.a/gcc/release/basic_text_woprimitive.o...
gcc-C++-action bin/boost/libs/serialization/build/libboost_wserialization.a/gcc/release/binary_woarchive.o
/var/tmp/portage/boost-1.33.1/work/boost_1_33_1/libs/serialization/build/../src/binary_wiarchive.cpp:14:2: error: #error "wide
char i/o not supported on this platform"

    set -e
    "g++"   -c -Wall -ftemplate-depth-255  -DNDEBUG -DNDEBUG -DBOOST_LIB_DIAGNOSTIC=1  -O3 -finline-functions -Wno-inline  -Wno
-non-virtual-dtor -Wno-ctor-dtor-privacy  -I"bin/boost/libs/serialization/build"   -I "/var/tmp/portage/boost-1.33.1/work/boost
_1_33_1"  -o "bin/boost/libs/serialization/build/libboost_wserialization.a/gcc/release/binary_wiarchive.o"  "/var/tmp/portage/b
oost-1.33.1/work/boost_1_33_1/libs/serialization/build/../src/binary_wiarchive.cpp"


...failed gcc-C++-action bin/boost/libs/serialization/build/libboost_wserialization.a/gcc/release/binary_wiarchive.o...
gcc-C++-action bin/boost/libs/serialization/build/libboost_wserialization.a/gcc/release/text_wiarchive.o
--------------------------

And then the qmerge fails.

# emerge --info

Portage 2.1_pre5-r4 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.3.6-r3, 2.6.15-gentoo-r7 i686)
=================================================================
System uname: 2.6.15-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.3.5, 2.4.2-r1
sys-apps/sandbox:    1.2.17
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.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -mtune=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=i686 -mtune=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com http://mirrors.tds.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acl acpi alsa apache2 arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 cairo cdparanoia cdr crypt cups curl dlloader dts dv dvb dvd dvdr dvdread emboss encode exif ffmpeg flac fortran gdbm ggvorbis gif gphoto2 gpm gstreamer gtk gtk2 hal imagemagick imap imlib ipv6 jack java jpeg jpeg2k kde kdeenablefinal lcd lcms ldap libg++ libwww mad mikmod mmx motif mozcalendar mozilla mp3 mpeg musicbrainz ncurses nls nodrm nptl nvidia ofx ogg openexr opengl oss pam pda pdf pdflib perl png ppds python qt quicktime readline samba sasl scanner sdl slp sndfile spell sse ssl subversion svg svga tcltk tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb utf8 v4l v4l2 vcd vorbis win32codecs wmf xcomposite xine xml xmms xscreensaver xv xvid zlib elibc_glibc kernel_linux userland_GNU video_cards_nvidia video_cards_vmware"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2006-03-10 21:41:41 UTC
fwiw, this also breaks treeviewx.

Here's the simple test case:

#include <string>

int main () {
        std::wstring s;
};
Comment 2 SpanKY gentoo-dev 2006-03-10 22:07:24 UTC
mark pointed out there is a bump hunk in the uclibc locale patch ... ive cut it out from upstream patchset and synced it back into our patchset
Comment 3 Mark Loeser (RETIRED) gentoo-dev 2006-03-11 12:40:56 UTC
Fixed.  Re-emerge gcc-4.1.0 in a few hours after it hits the mirrors.
Comment 4 Mark Loeser (RETIRED) gentoo-dev 2006-03-11 14:02:45 UTC
*** Bug 125872 has been marked as a duplicate of this bug. ***
Comment 5 Mark Loeser (RETIRED) gentoo-dev 2006-03-13 19:48:22 UTC
*** Bug 125834 has been marked as a duplicate of this bug. ***