Gentoo Archives: gentoo-user

From: Ow Mun Heng <Ow.Mun.Heng@×××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Firefox Keeps Hanging on some pages
Date: Mon, 11 Sep 2006 04:08:11
Message-Id: 1157947342.24949.18.camel@neuromancer.home.net
In Reply to: Re: [gentoo-user] Firefox Keeps Hanging on some pages by Drew
1 On Sun, 2006-09-10 at 20:46 -0700, Drew wrote:
2 > On 9/10/06, Ow Mun Heng <Ow.Mun.Heng@×××.com> wrote:
3 > > Upgraded to Firefox-1.5.0.6
4 > > access http://zedomax.com
5 > >
6 > > and it hangs for whatever reasons.
7 > >
8 > > My GCC is
9 > > $gcc -v
10 > > Thread model: posix
11 > > gcc version 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)
12 > >
13 > > My GCC settings is sane
14 > >
15 > > /etc/make.conf
16 > > CBUILD="i686-pc-linux-gnu"
17 > > CFLAGS="-O2 -march=pentium3 -pipe -falign-functions=64 -mmmx -msse
18 > > -msse2"
19 > > CHOST="i686-pc-linux-gnu"
20 > >
21 > > I've tried installin the bin version "mozilla-firefox-bin" and it works
22 > > OK on the page above.
23 > >
24 > > Note : It hangs (up to the point where the little 'circle" also stops
25 > > moving.
26 > >
27 > Two questions related to your compiler flags. Is there a specific
28 > reason -falign-functions=64 is used? -O2 implies -falign-functions so
29 > unless you have a specific need for a 64 byte alignment, it's
30 > redundant.
31
32 This make.conf flags were set like close to 3 years ago so I can't
33 remember the research that went into it's selection.
34 I'll remove it
35
36
37
38 > Secondly, AFAIK the Pentium 3 doesn't have the sse2
39 > instruction set, only P4's do.
40
41 Thsi is a pentium M.
42 http://gentoo-wiki.com/Safe_Cflags#Pentium_M.28Centrino.29.2FCeleron_M_.28Intel.29
43
44 hmm.. GCC-3.4 has it removed. Guess I'll remove it as well.
45
46 New Make
47 CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer" (Per the wiki)
48
49
50 > I don't know firefox's code too well
51 > but it's possible these random sites are triggering a branch of code
52 > that calls sse2 code and firefox is gracefully choking.
53 >
54 > And related to these sites that firefox chokes on, are there any
55 > common elements they all share? Perhaps a plugin or something thats
56 > called?
57
58 I'm not sure. I'm seeing this issue from basically clicking on Liferea
59 (RSS reader) links and it's supposed to open up firefox browsers and I
60 just noticed it from there onwards.
61
62
63 > Also, could you post your emerge --info?
64
65 Portage 2.1-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.5-r2,
66 2.6.17-suspend2-r4 i686)
67 =================================================================
68 System uname: 2.6.17-suspend2-r4 i686 Intel(R) Pentium(R) M processor
69 1400MHz
70 Gentoo Base System version 1.12.4
71 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
72 [disabled]
73 ccache version 2.3 [enabled]
74 app-admin/eselect-compiler: [Not Present]
75 dev-lang/python: 2.3.5-r2, 2.4.3-r1
76 dev-python/pycrypto: 2.0.1-r5
77 dev-util/ccache: 2.3
78 dev-util/confcache: [Not Present]
79 sys-apps/sandbox: 1.2.17
80 sys-devel/autoconf: 2.13, 2.59-r6
81 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
82 sys-devel/binutils: 2.16.1
83 sys-devel/gcc-config: 1.3.12-r6
84 sys-devel/libtool: 1.5.22
85 virtual/os-headers: 2.6.11-r2
86 ACCEPT_KEYWORDS="x86"
87 AUTOCLEAN="yes"
88 CBUILD="i686-pc-linux-gnu"
89 CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
90 CHOST="i686-pc-linux-gnu"
91 CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/s
92 hare/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
93 CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
94 CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
95 DISTDIR="/usr/portage/distfiles"
96 FEATURES="autoconfig buildpkg candy ccache distlocks metadata-transfer
97 parallel-fetch sandbox sfperms strict"
98 GENTOO_MIRRORS="http://mymirror.asiaosc.org/gentoo-distro/
99 http://mirror.gentoo.gr.jp/"
100 MAKEOPTS="-j2"
101 PKGDIR="/usr/portage/packages"
102 PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
103 --compress --force --whole-file --delete --delete-after --stats
104 --timeout=180 --exclude='/distfiles' --exclude='/local'
105 --exclude='/packages'"
106 PORTAGE_TMPDIR="/var/tmp"
107 PORTDIR="/usr/portage"
108 PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/sunrise /usr/portage/local/layman/webapps-experimental /usr/portage/local/layman/gentopia /usr/portage/local/layman/liquidx"
109 SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage"
110 USE="x86 X a52 aac acl acpi aim alsa apache2 avi bash-completion berkdb
111 bitmap-fonts browserplugin bzip2 bzlib caps cjk cli crypt curl dbm dbus
112 dga dlloader dri dvd eds emboss encode esd ethereal exif fbcon firefox
113 flac flash fo
114 omaticdb frontendonly gdbm gf gif gnome gnutls gpm gstreamer gtk gtk2
115 hal hardenedphp icq imap imlib innodb isdnlog jabber jpeg krb4 libg++
116 libwww lirc mad maildir mailwrapper mbox mikmod milter mime ming mmx
117 motif mp3 mpeg msn
118 ncurses nis nls nptl ogg opengl oscar oss pam pcmcia pcre pdflib perl
119 php plotutils png pnp posix pppd python qt3 qt4 quicktime readline real
120 reflection samba sasl sdl server session spell spl sse sse2 ssl tcpd
121 theora tokenizer
122 truetype truetype-fonts trusted type1-fonts udev unicode usb vhosts
123 vorbis wavelan win32codecs wxwindows xine xml xmms xorg xosd xv xvid
124 yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse
125 input_devices_evdev kerne
126 l_linux userland_GNU video_cards_radeon"
127 Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
128 LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
129
130 Thanks
131
132 --
133 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Firefox Keeps Hanging on some pages Drew <drew.kay@×××××.com>