You are not logged in.
And what processor/architecture do you have? Can you post the output of gcccpuopt? And your current mozconfig?
lol, forgot that. I'm using a Intel Core 2 Duo CPU with the 64-bit version of Arch.
gcccpuopt:
Warning: Your compiler supports the -march=native option which you may prefer
Warning: The optimum *32 bit* architecture is reported
-m32 -march=core2 -mfpmath=sse -msse4.1
32 bit?
mozconfig: http://pastebin.com/jsHv2frE
Last edited by Hund (2010-04-22 23:14:03)
Offline
I'm using a Intel Core 2 Duo CPU with the 64-bit version of Arch.
Ah, that's probably why -march=i686 didn't work. Sorry, no experience with x86_64 here. Perhaps someone else?
You could try to add
sed -i 's/--enable-optimize/--enable-optimize="-O2"/' .mozconfig || return 1
to PKGBUILD (just after the cp'ing of mozconfig). That was to only way for me to get ff-pgo being built correctly with -march=atom using gcc-snapshot.
32 bit?
Yes, look at the source code:
# This script is x86 (32 bit) specific
EDIT: BTW, due to this:
# Enabling this breaks PGO with 3.6, on x86_64. Please test enabled with later versions.
ac_add_options --enable-canvas3d
I think you should add the following to PKGBUILD (at the same place as the sed line above):
sed -i 's/--enable-canvas3d/--disable-canvas3d/' .mozconfig || return 1
Last edited by Marcel- (2010-04-24 12:02:33)
Offline
Offline
I try to compile Firefox 3.7a5pre from Mercurial, but I receive an error: http://paste.pocoo.org/show/206240/
In what there can be a problem?
Offline
Next time can you please provide translated error and warning messages? I can't read Russian and feeding everything manually to Google Translate is not much fun...
g++ -o nsBidiPresUtils.o -c -I../../dist/stl_wrappers -I../../dist/system_wrappers -include /home/shu/pkg/firefox-pgo/minefield/src/mozilla-central/config/gcc_hidden.h -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES -DOSTYPE=\"Linux2.6\" -DOSARCH=Linux -D_IMPL_NS_LAYOUT -I/home/shu/pkg/firefox-pgo/minefield/src/mozilla-central/layout/base -I/home/shu/pkg/firefox-pgo/minefield/src/mozilla-central/layout/base/../style -I/home/shu/pkg/firefox-pgo/minefield/src/mozilla-central/layout/base/../generic -I/home/shu/pkg/firefox-pgo/minefield/src/mozilla-central/layout/base/../forms -I/home/shu/pkg/firefox-pgo/minefield/src/mozilla-central/layout/base/../tables -I/home/shu/pkg/firefox-pgo/minefield/src/mozilla-central/layout/base/../printing -I/home/shu/pkg/firefox-pgo/minefield/src/mozilla-central/layout/base/../xul/base/src -I/home/shu/pkg/firefox-pgo/minefield/src/mozilla-central/layout/base/../xul/base/src/tree/src -I/home/shu/pkg/firefox-pgo/minefield/src/mozilla-central/layout/base/../../content/base/src -I/home/shu/pkg/firefox-pgo/minefield/src/mozilla-central/layout/base/../../content/events/src -I/home/shu/pkg/firefox-pgo/minefield/src/mozilla-central/layout/base/../../content/xbl/src -I/home/shu/pkg/firefox-pgo/minefield/src/mozilla-central/layout/base/../../view/src -I/home/shu/pkg/firefox-pgo/minefield/src/mozilla-central/layout/base/../../dom/base -I/home/shu/pkg/firefox-pgo/minefield/src/mozilla-central/layout/base/../../content/svg/content/src -I/home/shu/pkg/firefox-pgo/minefield/src/mozilla-central/layout/base/../mathml -I/home/shu/pkg/firefox-pgo/minefield/src/mozilla-central/layout/base/../../content/html/content/src -I/home/shu/pkg/firefox-pgo/minefield/src/mozilla-central/layout/base -I. -I../../dist/include -I../../dist/include/nsprpub -I/usr/include/nspr -I/usr/include/nss -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -Wno-long-long -march=athlon-xp -mmmx -msse -m3dnow -floop-interchange -floop-block -floop-strip-mine -ftree-loop-distribution -findirect-inlining -g0 -Wno-all -fno-strict-aliasing -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -O2 -fno-omit-frame-pointer -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/nsBidiPresUtils.pp /home/shu/pkg/firefox-pgo/minefield/src/mozilla-central/layout/base/nsBidiPresUtils.cpp
In file included from /home/shu/pkg/firefox-pgo/minefield/src/mozilla-central/layout/base/nsPresShell.cpp:196:0:
.. / .. / Dist / include / nsIDOMXULSelectCntrlEl.h: 33:28: warning: 'virtual nsresult nsIDOMXULSelectControlElement:: GetSelectedItem (nsIDOMXULSelectControlItemElement **)' hidden [-Woverloaded-virtual]
.. / .. / Dist / include / nsIDOMXULMultSelectCntrlEl.h: 73:28: warning: by 'virtual nsresult nsIDOMXULMultiSelectControlElement:: GetSelectedItem (PRInt32, nsIDOMXULSelectControlItemElement **)' [-Woverloaded-virtual]
/ Home / shu / pkg / firefox-pgo / minefield / src / mozilla-central / layout / base / nsPresShell.cpp: In member function 'virtual void PresShell:: Destroy ()':
/ Home / shu / pkg / firefox-pgo / minefield / src / mozilla-central / layout / base / nsPresShell.cpp: 1805:18: error: 'class nsIDocument' has no member named 'HasAnimationController'
/ Home / shu / pkg / firefox-pgo / minefield / src / mozilla-central / layout / base / nsPresShell.cpp: 1806:16: error: 'class nsIDocument' has no member named 'GetAnimationController'
make [5]: *** [nsPresShell.o] Error 1
make [5]: *** Waiting for unfinished jobs ...
make [5]: Leaving directory `/ home / shu / pkg / firefox-pgo / minefield / src / mozilla-central / ff-pgo / layout / base '
make [4]: *** [base_libs] Error 2
make [4]: Leaving directory `/ home / shu / pkg / firefox-pgo / minefield / src / mozilla-central / ff-pgo / layout '
make [3]: *** [libs_tier_platform] Error 2
make [3]: Leaving directory `/ home / shu / pkg / firefox-pgo / minefield / src / mozilla-central / ff-pgo '
make [2]: *** [tier_platform] Error 2
make [2]: Leaving directory `/ home / shu / pkg / firefox-pgo / minefield / src / mozilla-central / ff-pgo '
make [1]: *** [default] Error 2
make [1]: Leaving directory `/ home / shu / pkg / firefox-pgo / minefield / src / mozilla-central / ff-pgo '
make: *** [build] Error 2
==> ERROR: Build failed.
Premature ...
(Unfortunately, I can't help you with this.)
Offline
https://bug418866.bugzilla.mozilla.org/ … ?id=442123
The patch is the only thing needed to build with pgo (mozilla-central). Wondrous!
Offline
Hey, im using firefox-pgo v3.6.3 and images dont render properly. Here's how it looks: http://i.imgur.com/pC8pr.png
when i save the image and open it with something else it loads fine. What could be the problem?
Offline
Hey, im using firefox-pgo v3.6.3 and images dont render properly. Here's how it looks: http://i.imgur.com/pC8pr.png
when i save the image and open it with something else it loads fine. What could be the problem?
i believe there was a png lib update recently, you may need to rebuilt it. can you provide a URL for a problematic page so we can see if we can replicate?
"I know what you're thinking, 'cause right now I'm thinking the same thing. Actually, I've been thinking it ever since I got here:
Why oh why didn't I take the BLUE pill?"
Offline
jck wrote:Hey, im using firefox-pgo v3.6.3 and images dont render properly. Here's how it looks: http://i.imgur.com/pC8pr.png
when i save the image and open it with something else it loads fine. What could be the problem?i believe there was a png lib update recently, you may need to rebuilt it. can you provide a URL for a problematic page so we can see if we can replicate?
you can see it in the screenshot.
http://recombinantrecords.net/docs/2009 … enged.html
I have no problems (but I'm using firefox-branded package now, so it doesn't mean anything)
Last edited by Berseker (2010-05-04 15:10:22)
Offline
you can see it in the screenshot.
http://recombinantrecords.net/docs/2009 … enged.html
I have no problems (but I'm using firefox-branded package now, so it doesn't mean anything)
that page rendered normally for me on pgo-3.6.3, maybe a rebuild is in store for you?
"I know what you're thinking, 'cause right now I'm thinking the same thing. Actually, I've been thinking it ever since I got here:
Why oh why didn't I take the BLUE pill?"
Offline
Hey, im using firefox-pgo v3.6.3 and images dont render properly. Here's how it looks: http://i.imgur.com/pC8pr.png
Did you scroll the page down and up again? Looks like a rerendering issue.
Offline
jck wrote:Hey, im using firefox-pgo v3.6.3 and images dont render properly. Here's how it looks: http://i.imgur.com/pC8pr.png
Did you scroll the page down and up again? Looks like a rerendering issue.
yep. my bet is it's the video driver. i had all kinds of corruption like this with intel cards through the years. coming and going through version updates.
Offline
I use catalyst 10.4 and xorg 1.8, i rebuilt firefox pgo but the problem still persists...
Offline
In order to try and isolate the problem, try with other browsers (default Firefox, Chromium, Opera, etc.) and with the Free Software video drivers.
Offline
Compiles perfectly here and no issues, 64 bit arch, gnome, oss radeon drivers.
Offline
OBJDIR=/tmp/yaourt-tmp-vito/aur-firefox-pgo/firefox-pgo/src/mozilla-1.9.2/ff-pgo python /tmp/yaourt-tmp-vito/aur-firefox-pgo/firefox-pgo/src/mozilla-1.9.2/ff-pgo/_profile/pgo/profileserver.py
INFO | automation.py | Application pid: 4480
Xlib: extension "RANDR" missing on display ":99.0".
TEST-UNEXPECTED-FAIL | automation.py | Exited with code -11 during test run
INFO | automation.py | Application ran for: 0:00:04.222487
make: *** [profiledbuild] Error 245
/usr/bin/makepkg: line 124: 25223 Killed LD_PRELOAD="" /usr/bin/Xvfb -nolisten tcp -extension GLX :99
==> ERROR: Build Failed.
Aborting...
Error: Makepkg was unable to build firefox-pgo package.
Arch x86
Offline
On page 24 of this topic I wrote:
I experienced this too. It's because Firefox segfaults during the tests, causing these error messages. [...] This is due to -march=native or something like that (mcore2, prescott, atom, etc.). Just compile with -march=i686 and everything should be fine.
Just follow these links and you know what to do.
Offline
I'm using the last version 3.7a5, and Firefox Sync 1.3.1 (formerly Weave) doesn't work:
Service.Main ERROR Could not load the Weave crypto component. Disabling Weave, since it will not work correctly.
Anyone is having the same output or is just me?
Geeks & Linux Atelier
An eye for an eye ... ends in making everybody blind -- Mahatma Gandhi
dotfiles
Offline
I'm using the last version 3.7a5, and Firefox Sync 1.3.1 (formerly Weave) doesn't work:
Service.Main ERROR Could not load the Weave crypto component. Disabling Weave, since it will not work correctly.
Anyone is having the same output or is just me?
That's the same here.
Offline
new firefox-pgo 3.6.6 is out! Trying to compile it, but i get this error.
checking whether the C++ compiler (c++ {CFLAGS} -Wl,-rpath,/usr/lib/firefox-3.6.6 -Wl,-O1,--sort-common,--hash-style=gnu,--as-needed) works... no
configure: error: installation or configuration problem: C++ compiler cannot create executables.
Offline
Offline
Just wanted to say I finally loaded Arch on a computer from this Century. I went the x86_64 route and upped my MAKEFLAGS="-j3". It is now building with absolutely zero problems. It's now building in about 30-40 minutes as opposed to 2.5-3 hours on my old P4. WOW!!!! I should have done this a long time ago. :D
In solving a problem of this sort, the grand thing is to be able to reason backward. That is a very useful accomplishment, and a very easy one, but people do not practice it much. In the everyday affairs of life it is more useful to reason forward, and so the other comes to be neglected. There are fifty who can reason synthetically for one who can reason analytically. --Sherlock Holmes
Offline
I thought the MAKEFLAGS got overwritten by firefox during the build process and changing it had no effect.
Offline
If you're using firefox-pgo PKGBUILD - yes. But you can change this However it's not recommended.
Proud ex-maintainer of firefox-pgo
Offline
just in case you guys missed it, the thread is huge but all what we need to know is here:
http://gcc.gnu.org/ml/gcc/2010-06/msg00884.html
Offline