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

Replies

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