Gentoo Archives: gentoo-amd64

From: David Edge <daveedge@××××××××××.uk>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Compiling mozilla/firefox with -O2
Date: Mon, 07 Nov 2005 16:11:18
Message-Id: 436F7BB8.60405@nildram.co.uk
In Reply to: [gentoo-amd64] Compiling mozilla/firefox with -O2 by Simon Strandman
Simon Strandman wrote:

> The mozconfig eclass strips flags down to -O1 on amd64 with the > explanation "more than -O1 causes segfaults on 64-bit (bug 33767)". > That bug is two years old and we have a much improved amd64 toolchain > since. I've been compiling firefox and and mozilla with -O2 and -Os > for quite some time and never had any problems at all. And this is > also what binary distros does. I opened a bug about it but nobody > responded: > http://bugs.gentoo.org/show_bug.cgi?id=86571 > > So please test compiling firefox and other mozilla apps with -O2 and > respond to that bug so this can be fixed! >
Not sure about this - I have built both Mozilla and Firefox with both O1 and O2, and get a problem. At seemingly random intervals, on no site in particular, when drawing a new page, I get rubbish on the screen - both inside the browser window and in other windows and on the root window - I have to shut down and restart X to have a usable system again. This only seems to happen when I use the browser, so I'm sure it's a Mozilla/Firefox problem. I haven't really had time to investigate and am new to Gentoo, so didn't really want to raise a bug without more investigation. Cheers, Dave Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-gentoo-r5 x86_64) ================================================================= System uname: 2.6.13-gentoo-r5 x86_64 AMD Opteron(tm) Processor 248 Gentoo Base System version 1.6.13 ccache version 2.3 [enabled] dev-lang/python: 2.3.5-r2, 2.4.2 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-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -pipe -O2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=k8 -pipe -O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.heanet.ie/pub/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.blueyonder.co.uk" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="amd64 X a52 aac acl acpi alsa avi berkdb bitmap-fonts bzip2 cdr crypt cups curl dvd dvdr dvdread eds emboss emul-linux-x86 encode esd exif fam ffmpeg flac foomaticdb fortran ftp gif glut gnome gphoto2 gpm gstreamer gtk gtk2 hardened imagemagick imlib ipv6 java jpeg lzw lzw-tiff mozilla mp3 mpeg ncurses nls nsplugin offensive ogg opengl pam pdflib perl png python quicktime readline sdl spell ssl tcpd tiff truetype-fonts type1-fonts udev usb userlocales vorbis xml2 xmms xpm xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY -- gentoo-amd64@g.o mailing list

Replies

Subject Author
Re: [gentoo-amd64] Compiling mozilla/firefox with -O2 Simon Strandman <simon.strandman@×××××.com>