You are not logged in.

#601 2010-04-22 23:13:15

Hund
Member
From: Sweden
Registered: 2010-03-22
Posts: 479
Website

Re: Official firefox-pgo thread

Marcel- wrote:

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

#602 2010-04-24 11:34:38

Marcel-
Member
From: Utrecht, NL
Registered: 2006-12-03
Posts: 266

Re: Official firefox-pgo thread

Hund wrote:

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:

gcccpuopt wrote:

#    This script is x86 (32 bit) specific

EDIT: BTW, due to this:

mozconfig wrote:

# 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

#603 2010-04-24 21:04:12

Hund
Member
From: Sweden
Registered: 2010-03-22
Posts: 479
Website

Re: Official firefox-pgo thread

That didnt help. I still get the same error message. sad

Offline

#604 2010-04-26 10:05:13

Shu
Member
From: Russia
Registered: 2009-04-09
Posts: 3

Re: Official firefox-pgo thread

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

#605 2010-04-26 11:32:10

Marcel-
Member
From: Utrecht, NL
Registered: 2006-12-03
Posts: 266

Re: Official firefox-pgo thread

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

#606 2010-04-30 23:20:45

virus_found
Member
From: Moscow
Registered: 2009-05-22
Posts: 51
Website

Re: Official firefox-pgo thread

https://bug418866.bugzilla.mozilla.org/ … ?id=442123
The patch is the only thing needed to build with pgo (mozilla-central). Wondrous!

Offline

#607 2010-05-04 08:52:07

jck
Member
From: USA
Registered: 2009-05-08
Posts: 98

Re: Official firefox-pgo thread

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

#608 2010-05-04 14:33:28

toxygen
Member
Registered: 2008-08-22
Posts: 713

Re: Official firefox-pgo thread

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?


"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

#609 2010-05-04 15:10:09

Berseker
Member
From: Near Lecco, Italy
Registered: 2008-04-24
Posts: 258

Re: Official firefox-pgo thread

toxygen wrote:
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

#610 2010-05-04 15:13:19

toxygen
Member
Registered: 2008-08-22
Posts: 713

Re: Official firefox-pgo thread

Berseker wrote:

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

#611 2010-05-04 23:49:47

Marcel-
Member
From: Utrecht, NL
Registered: 2006-12-03
Posts: 266

Re: Official firefox-pgo thread

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.

Offline

#612 2010-05-05 02:42:06

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: Official firefox-pgo thread

Marcel- wrote:
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

#613 2010-05-05 22:16:44

jck
Member
From: USA
Registered: 2009-05-08
Posts: 98

Re: Official firefox-pgo thread

I use catalyst 10.4 and xorg 1.8, i rebuilt firefox pgo but the problem still persists...

Offline

#614 2010-05-13 02:59:31

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,549

Re: Official firefox-pgo thread

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

#615 2010-05-14 02:12:33

bwat47
Member
Registered: 2009-10-07
Posts: 638

Re: Official firefox-pgo thread

Compiles perfectly here and no issues, 64 bit arch, gnome, oss radeon drivers.

Offline

#616 2010-05-18 09:20:02

vito45
Member
Registered: 2008-12-18
Posts: 35

Re: Official firefox-pgo thread

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

#617 2010-05-18 09:45:12

Marcel-
Member
From: Utrecht, NL
Registered: 2006-12-03
Posts: 266

Re: Official firefox-pgo thread

On page 24 of this topic I wrote:

Marcel- 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

#618 2010-06-22 19:07:40

pablox
Member
From: /home/chile/santiago/
Registered: 2008-05-14
Posts: 183
Website

Re: Official firefox-pgo thread

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

#619 2010-06-23 05:03:58

my0pic
Member
From: Melbourne, Australia
Registered: 2008-05-23
Posts: 206

Re: Official firefox-pgo thread

pablox wrote:

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

#620 2010-06-27 09:59:05

jelly
Administrator
From: /dev/null
Registered: 2008-06-10
Posts: 714

Re: Official firefox-pgo thread

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

#621 2010-06-27 10:39:45

jelly
Administrator
From: /dev/null
Registered: 2008-06-10
Posts: 714

Re: Official firefox-pgo thread

nevermind i fugired it out, didn
't set my CXXFLAGS right

Offline

#622 2010-06-27 13:37:36

harryNID
Member
From: P3X-1971
Registered: 2009-06-12
Posts: 117

Re: Official firefox-pgo thread

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. big_smile: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

#623 2010-06-27 15:08:25

bobdob
Member
Registered: 2008-06-13
Posts: 138

Re: Official firefox-pgo thread

I thought the MAKEFLAGS got overwritten by firefox during the build process and changing it had no effect.

Offline

#624 2010-06-27 18:10:40

blasse
Member
From: Poland
Registered: 2008-04-24
Posts: 303

Re: Official firefox-pgo thread

If you're using firefox-pgo PKGBUILD - yes. But you can change this wink However it's not recommended.


Proud ex-maintainer of firefox-pgo

Offline

#625 2010-07-01 04:23:00

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: Official firefox-pgo thread

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

Board footer

Powered by FluxBB