Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 346825 - ALL MOZILLA Products fails to build with GCC-4.6
Summary: ALL MOZILLA Products fails to build with GCC-4.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL: https://bugzilla.mozilla.org/show_bug...
Whiteboard:
Keywords:
: 357175 361811 362061 364335 (view as bug list)
Depends on:
Blocks: gcc-4.6
  Show dependency tree
 
Reported: 2010-11-26 09:00 UTC by Kacper Kowalik (Xarthisius) (RETIRED)
Modified: 2011-06-06 14:12 UTC (History)
8 users (show)

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


Attachments
build log (xulrunner-1.9.2.12.log,229.88 KB, text/plain)
2010-11-26 09:01 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details
add default constructors (xulrunner-1.9.2-gcc46.patch,2.18 KB, patch)
2010-11-26 09:48 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details | Diff
thunderbird-3.1.9-gcc46.patch (thunderbird-3.1.9-gcc46.patch,251 bytes, patch)
2011-04-16 07:45 UTC, Ryan Hill (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-11-26 09:00:39 UTC
Portage 2.1.9.24 (default/linux/x86/10.0/desktop, gcc-4.6.0-alpha20101106-asneeded, glibc-2.12.1-r3, 2.6.36-rc6-git3 x86_64)
=================================================================
System uname: Linux-2.6.36-rc6-git3-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 25 Nov 2010 02:05:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p9
dev-lang/python:     2.6.6-r1, 3.1.2-r4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.5, 4.4.5, 4.5.1-r1, 4.6.0_alpha20101106::Hydra overlay
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4
sys-devel/make:      3.82
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-g -march=i686 -pipe -Wall -Wimplicit-function-declaration"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-g -march=i686 -pipe -Wall"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages multilib-strict news nostrip parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,--hash-style=gnu,-O1 -Wl,--as-needed"
LINGUAS="en pl"
MAKEOPTS="-j10"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/myoverlay"
SYNC="rsync://192.168.16.1/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk hal iconv ipv6 jpeg lcms ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ntp ogg opengl openmp pam pango pcre pdf perl png ppds pppd python qt3support qt4 readline romio sdl session slang spell sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis x264 x86 xcb xml xorg xulrunner xv xvid 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 mmap_emul 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 cgi cgid 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pl" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa vga" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-11-26 09:01:01 UTC
Created attachment 255469 [details]
build log
Comment 2 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-11-26 09:48:47 UTC
Created attachment 255471 [details, diff]
add default constructors

as per C++ standard:
"if the object is of const-qualified type, the underlying class type shall have a user-declared default constructor"
Comment 3 Jory A. Pratt gentoo-dev 2010-12-10 17:19:17 UTC
Open a bug upstream we are not supporting versions that are not officially supported in the main tree.
Comment 4 Ryan Hill (RETIRED) gentoo-dev 2011-03-03 22:34:22 UTC
Please keep porting bugs open so we have an indication of what still needs to be fixed.  We're not asking you to fix it yourself.

I added -fpermissive to strip-flags whitelist.  If upstream keeps dragging their feet we could go with that instead.
Comment 5 Ryan Hill (RETIRED) gentoo-dev 2011-03-03 22:39:12 UTC
We will also need http://hg.mozilla.org/mozilla-central/rev/4861b373c563
Comment 6 Ryan Hill (RETIRED) gentoo-dev 2011-03-03 22:56:27 UTC
in overlay.
Comment 7 Ryan Hill (RETIRED) gentoo-dev 2011-04-03 20:42:47 UTC
*** Bug 361811 has been marked as a duplicate of this bug. ***
Comment 8 Kenton Groombridge 2011-04-03 22:26:41 UTC
I don't see how Bug 361811 is a duplicate of this bug as this one addresses xulrunner-1.9.2.12 and the other addresses xulrunner-2.0.  The patches are completely different.
Comment 9 Ryan Hill (RETIRED) gentoo-dev 2011-04-03 23:05:42 UTC
They do the same thing, you just went about it a little differently.  The patch attached here was already applied upstream.
Comment 10 Jory A. Pratt gentoo-dev 2011-04-04 02:52:16 UTC
As we are all aware every mozilla product is effected.
Comment 11 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2011-04-05 19:01:34 UTC
*** Bug 362061 has been marked as a duplicate of this bug. ***
Comment 12 Ryan Hill (RETIRED) gentoo-dev 2011-04-16 07:26:54 UTC
Added thunderbird as well

https://overlays.gentoo.org/proj/gcc-porting/changeset/166
Comment 13 Ryan Hill (RETIRED) gentoo-dev 2011-04-16 07:41:45 UTC
And x11-plugins/enigmail.

https://overlays.gentoo.org/proj/gcc-porting/changeset/167
Comment 14 Ryan Hill (RETIRED) gentoo-dev 2011-04-16 07:45:40 UTC
Created attachment 270163 [details, diff]
thunderbird-3.1.9-gcc46.patch
Comment 15 Jory A. Pratt gentoo-dev 2011-04-16 12:16:17 UTC
http://git.overlays.gentoo.org/gitweb/?p=proj/mozilla.git;a=summary thunderbird,xulrunner are already fixed in mozilla overlay just need to push out the update to the tree. I will make this happen Sunday afternoon.
Comment 16 Jory A. Pratt gentoo-dev 2011-04-17 23:54:19 UTC
xulrunner-2.0-r1 is in the tree which has support for both libpng-1.5 and gcc-4.6 :) Thunderbird to be moved in a few minutes.
Comment 17 Jory A. Pratt gentoo-dev 2011-04-18 00:00:18 UTC
thunderbird-3.3_alpha3-r1 is fixed in tree, as stated we will not backport for older versions, the update for thunderbird-3.3 final will happen long before the p.mask is removed for gcc-4.6.0 :) Enjoy. GCC team feel free to close bug unless you are looking to track unsupported packages for mozilla.
Comment 18 Ryan Hill (RETIRED) gentoo-dev 2011-04-18 21:50:17 UTC
Thanks!
Comment 19 Jory A. Pratt gentoo-dev 2011-04-21 12:06:20 UTC
*** Bug 364335 has been marked as a duplicate of this bug. ***
Comment 20 Jory A. Pratt gentoo-dev 2011-06-06 14:12:48 UTC
*** Bug 357175 has been marked as a duplicate of this bug. ***