When I tried to emerge mozilla-1.6-r1 with -fstack-protector in my CFLAGS, it emerged just fine and launches just fine, but freezes on keyboard input, such as using the arrow keys to scroll. I could scroll through webpages using the scrollbar, click links etc. but keyboard input froze it. I unfortunately didn't think to strace it, but I did re-emerge it with -fstack-protector still enabled and it exhibited the same problem but after emerge without -fstack-protector it works fine. If need be, I can re-emerge with -fstack-protector enabled. Reproducible: Always Steps to Reproduce: 1.Emerge mozilla with -fstack-protector 2.run mozilla 3.use keyboard Actual Results: The window froze, turned into a white rectangle, had to force quit it. my cflags: CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -msse2" and I'm using a 2.6.4-wolk2.2 kernel
Does somebody on the toolchain team mind commenting on this? I don't know anything about -fstack-protector or the wolk kernels. Alex, please provide output of emerge --info, thanks
According to solar, this is a problem that afflicts large packages (moz and oo, for example) with -fstack-protector. I will filter-flags for now; solar can find packages that are filtering -fstack-protector in the future when the bug is fixed.
committed mozilla-1.6-r1, mozilla-1.7_rc1, and mozilla-firefox-0.8-r3 to portage with this change
Works fine with -march=athlon-xp -O2 -ftracer -fstack-protector and gcc (GCC) 3.3.3 20040217 (Gentoo Linux 3.3.3, propolice-3.3-7)
update. This may depend on the gcc revision that the user is using. g++ code with sort() and -O3 -fstack-protector{,-all} You also had/have a very aggressive set of CFLAGS there. Aron we may want to reconsider this filtering of -fstack on this very important package.