First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 210427
Alias:
Product:
Component:
Status: RESOLVED
Resolution: WONTFIX
Assigned To: C++ Team <cpp@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Keith R. <EckosGentoo@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
0001-date_time-gcc-4.3-fix.patch fixes date-time patch Keith R. 2008-02-17 01:48 0000 1010 bytes Details | Diff
0001-mpl-g-4.3-fix.patch fixes mpl patch Keith R. 2008-02-17 01:48 0000 1.08 KB Details | Diff
0001-spirit-gcc-4.3-fixes.patch fixes spirit/phoenix patch Keith R. 2008-02-17 01:49 0000 8.99 KB Details | Diff
boost-gil-gcc43-change-meaning-of-bit_range.patch fixes bit range patch Keith R. 2008-02-17 01:50 0000 827 bytes Details | Diff
ptree_utils.hpp.diff fixes ptree-utils patch Keith R. 2008-02-17 01:50 0000 393 bytes Details | Diff
0001-spirit-gcc-4.3-fixes.patch fixes spirit/phoenix text/plain Keith R. 2008-02-17 02:25 0000 1.99 KB Details
boost-1.34.1-gcc-4.3.patch boost-1.34.1-gcc-4.3.patch patch Ryan Hill 2008-02-17 06:11 0000 3.88 KB Details | Diff
boost-gcc43.patch boost-gcc43.patch patch Pacho Ramos 2008-02-28 14:28 0000 7.52 KB Details | Diff
boost-1.34.1-gcc-4.3.patch Patch for boost-1.34.1 to compile with gcc-4.3 patch Neil Cathey 2008-03-03 10:58 0000 11.16 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 210427 depends on: Show dependency tree
Bug 210427 blocks: 198121
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-02-17 01:47 0000
boost fails to compile with different errors. When upgrading to
gcc-4.3.0-20080208

Reproducible: Always

Steps to Reproduce:
1. emerge boost
2.
3.




Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.3.0-alpha20080208,
glibc-2.6.1-r0, 2.6.22-14-generic i686)
=================================================================
System uname: 2.6.22-14-generic i686 unknown
Timestamp of tree: Sun, 17 Feb 2008 00:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf
/etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict
unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LINGUAS="en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles
--exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/custom-kernels
/usr/portage/local/layman/toolchain /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X X509 a52 aac aalib acl acpi aim alsa animgif antlr archive asm
aspell audiofile bash-completion berkdb bitmap-fonts bjam bonjour boo boost
branding bzip2 c++ cairo canna ccache cdaudio cdda cddb cdio cdparanoia cdr
cdrom cgi chasen chm chroot cjk clamav clamd cli cpio cpudetection cracklib
crypt css curl cvs cxx d dbcp dbus depth32 dga dhcp dict disk-partition
dosformat double-precision dri dropmsg dvd dvdarchive dvdchapjump dvdnav dvdr
dvdread elf elisp encode enscript extensions extra extras fam fastcgi fat fbcon
fbcondecor fbsplash ffmpeg file firefox flash fontconfig fortran gd gdb gdbm
gdl gdm gedit gif gimp glade glep glib glitz glsa glut gmail gmp gnome
gnomecanvas gpg gpm graphviz grub gstreamer gtk gtkhtml gtkspell gzip hal
hddtemp html httpd icons iconv icq id3 id3tag imagemagick imlib imlib2 inifile
int64 ipv6 irc isdnlog jpeg jpeg2k lame libedit libgcrypt libnotify libssh2 lua
lyrics lzo lzw mad md5sum midi mjpeg mmx mng mono monolithic mp2 mp3 mp4
mp4live mpeg mpeg2 mudflap nautilus ncurses nls nptl nptlonly ntfs odbc
offensive ogg opengl openmp openssh openssl pam pcre perl pidgin png portage
pppd python raw rc5 readline reflection regex reiser4 reiserfs sdl sdl-image
sdl-sound session simplexml slang sms soap sockets socks5 sound spell spl
sqlite3 sse ssl subversion swig symlink syslog szip tcpd threads threadsafe
threadsonly tools tracker truetype truetype-fonts type1-fonts ui unicode unzip
usb valgrind vcd vcdx vim vim-pager vim-syntax vim-with-x vorbis wav wavpack
win32codecs wma x86 xforms xhtml xml xmlrpc xorg xpm xrandr xsettings
xskatcards xsl xslt xvid yahoo zip zlib" ALSA_CARDS="ali5451 als4000 atiixp
atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968
fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx
via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop
empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi
null plug rate route share shm softvol" APACHE2_MODULES="actions alias
auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm
authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache
dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache
filter headers include info log_config logio mem_cache mime mime_magic
negotiation rewrite setenvif speling status unique_id userdir usertrack
vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix
dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon
rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l
vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Keith R. 2008-02-17 01:48:27 0000 -------
Created an attachment (id=143702) [details]
fixes date-time

------- Comment #2 From Keith R. 2008-02-17 01:48:56 0000 -------
Created an attachment (id=143703) [details]
fixes mpl

------- Comment #3 From Keith R. 2008-02-17 01:49:22 0000 -------
Created an attachment (id=143705) [details]
fixes spirit/phoenix

------- Comment #4 From Keith R. 2008-02-17 01:50:07 0000 -------
Created an attachment (id=143707) [details]
fixes bit range

------- Comment #5 From Keith R. 2008-02-17 01:50:31 0000 -------
Created an attachment (id=143708) [details]
fixes ptree-utils

------- Comment #6 From Keith R. 2008-02-17 01:51:00 0000 -------
theres are the patches I found on the boost website submitted by others.

------- Comment #7 From Keith R. 2008-02-17 02:25:25 0000 -------
Created an attachment (id=143709) [details]
fixes spirit/phoenix

posted the wrong one which was an html formatted one, now is corrected. 

------- Comment #8 From Ryan Hill 2008-02-17 03:36:09 0000 -------
thanks.  there are still some errors but i'm working on them now.

------- Comment #9 From Ryan Hill 2008-02-17 06:11:45 0000 -------
Created an attachment (id=143739) [details]
boost-1.34.1-gcc-4.3.patch

this is a preliminary patch that successfully builds

dev-libs/boost-1.34.1-r2  USE="icu -debug -doc -pyste -tools"

i will need to patch gccxml before i can test USE=pyste and i get a failure
with USE=tools that i need to look into.  the testsuite probably needs work
too.  debian and fedora have some build fixes that i didn't seem to need, some
of which Keith posted above.  i'll have to look into that too.

------- Comment #10 From Keith R. 2008-02-17 15:14:00 0000 -------
Sorry I didn't know how to combine the all above patches into a single solid
one.

------- Comment #11 From Ryan Hill 2008-02-28 02:07:29 0000 -------
boost is still broken with this patch.

"dirtyepic, with your patch from here boost compile with gcc-4.3, but it
doesn't resolve problems with packages that depend on it, eg. tagpy still fails
with the same error message as it used to with boost compiled with gcc-4.2.3."

i need to work on this some more soon.  it's worth noting that boost svn builds
without any problems.

------- Comment #12 From Pacho Ramos 2008-02-28 14:28:09 0000 -------
Created an attachment (id=144862) [details]
boost-gcc43.patch

This is the patch applied by fedora

------- Comment #13 From Neil Cathey 2008-03-03 10:56:03 0000 -------
Ryan's patch from comment #9 fixes the compilation of boost, but at least one
other package that depends on boost (glob2-0.9.2) still fails.  glob2 needs a
patch for boost/date_time/date_facet.hpp in order to compile correctly, or else
you'll get some redeclaration errors.  (I noticed that patch is included in the
Fedora patch from comment #12).

USE="tools" still failed.  It took me a while (hours!), but I think I may have
found the problem.  boost/serialization/collection_traits.hpp is missing a
#include <climits>.  It uses ULONG_MAX in an #ifdef.  Since ULONG_MAX is being
used in an #ifdef, gcc did not throw any errors about it being undeclared, but
instead other things were being erroneously #defined because of the
miscalculation.

I'm going to attach a patch that combines all of the previous patches,
including the patch for collection_traits.hpp.  Aside from missing includes,
the other patches on this bug modified some references (boost::mpl::next,
instead of just next).  I do not know if they are required or not, but I
included them.  As a test, I just finished recompiling all packaged depending
on boost on my system, and they all compiled just fine.

------- Comment #14 From Neil Cathey 2008-03-03 10:58:07 0000 -------
Created an attachment (id=145187) [details]
Patch for boost-1.34.1 to compile with gcc-4.3

This patch allows me to compile boost-1.34.1 with USE="tools".

------- Comment #15 From Ryan Hill 2008-03-10 02:12:14 0000 -------
Thanks Neil.  I think those are pieces that were missing.  A couple things were
fixed a little differently upstream but the end result is the same.  I've added
your patch to the gcc-porting overlay.

------- Comment #16 From David Carlos Manuelda 2008-04-03 01:14:09 0000 -------
boost-1.34.1-r1 also fails at compile time.

------- Comment #17 From Benjamin Lannoy 2008-04-19 02:23:04 0000 -------
(In reply to comment #14)
> Created an attachment (id=145187) [edit] [details]
> Patch for boost-1.34.1 to compile with gcc-4.3
> 
> This patch allows me to compile boost-1.34.1 with USE="tools".
> 
It seems to works for me on ~amd64

------- Comment #18 From Tiziano Müller 2008-04-25 06:48:25 0000 -------
sorry people, but I'm not going to fix boost-1.34.1, but you should use
boost-1.35.0 with gcc-4.3.x (which compiles with a couple of patches).

------- Comment #19 From Tiziano Müller 2008-04-28 12:48:44 0000 -------
*** Bug 219586 has been marked as a duplicate of this bug. ***

------- Comment #20 From Christian Faulhammer 2008-11-01 20:35:31 0000 -------
*** Bug 217577 has been marked as a duplicate of this bug. ***

------- Comment #21 From Rafał Mużyło 2008-12-24 13:56:39 0000 -------
*** Bug 246259 has been marked as a duplicate of this bug. ***

------- Comment #22 From Rafał Mużyło 2008-12-24 13:57:02 0000 -------
*** Bug 252371 has been marked as a duplicate of this bug. ***

------- Comment #23 From Rafał Mużyło 2009-01-01 16:34:03 0000 -------
*** Bug 253362 has been marked as a duplicate of this bug. ***

------- Comment #24 From Rafał Mużyło 2009-02-15 19:37:57 0000 -------
*** Bug 258638 has been marked as a duplicate of this bug. ***

------- Comment #25 From Alexey 2009-11-17 21:48:39 0000 -------
Thanks to Ryan Hill, patch boost-1.34.1-gcc-4.3.patch really help me to compile
boost-1.34.1-r2

First Last Prev Next    No search results available      Search page      Enter new bug