You are not logged in.

#151 2009-06-24 05:16:18

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

Re: Official firefox-pgo thread

bond wrote:

hmm, yep I'll try removing those extra flags in the optimize line.

oh, btw your depends had libxt listed twice, and you should add sqlite3 to the depends as well,
when I went to built mozilla-central it required > 3.6.14-1 before it would start building.

sqlite3 id needed by nss, nss is in deps, so no need to add sqlite3 to deps smile


Proud ex-maintainer of firefox-pgo

Offline

#152 2009-06-24 07:50:02

Evanlec
Member
From: NH, USA
Registered: 2007-12-16
Posts: 141
Website

Re: Official firefox-pgo thread

blasse wrote:

http://omploader.org/vMXY5Ng/firefox-pgo-beta.tar.gz - firefox-pgo-beta-3.5rc2-2
Has gcc-snapshot in deps, cleared patches and removed devel libs. Compiles and works fine for me smile
If testing confirms this workaround I will update aur package.

Was hopeful about this one, installed gcc 4.5 and everything.

Unfortunate I got the same error as everyone else sad

./run-mozilla.sh: line 131: 22865 Segmentation fault      "$prog" ${1+"$@"}

We must be getting close!

Last edited by Evanlec (2009-06-24 07:52:24)

Offline

#153 2009-06-25 00:28:28

oszabolcs
Member
Registered: 2008-06-28
Posts: 4

Re: Official firefox-pgo thread

I could build rc2-2 with gcc-snapshot ...0604 (but couldn't with ...0618).
I commented out unset flags from pkgbuild and "disable-printing" from mozconfig and removed "=optimze options" from mozconfig.
This is the first really stable build for me. Thanks blasse!

Offline

#154 2009-06-25 00:59:17

kazuo
Member
From: São Paulo/Brazil
Registered: 2008-03-18
Posts: 413
Website

Re: Official firefox-pgo thread

With gcc 4.5 I'm getting now the same error somebody have on second page about

firefox-bin: undefined symbol: __gcov_indirect_call_profiler

Someone know a workaround?

Offline

#155 2009-06-25 01:06:06

oszabolcs
Member
Registered: 2008-06-28
Posts: 4

Re: Official firefox-pgo thread

I got it too, -lgcov in LDFLAGS (export LDFLAGS="-lgcov -Wl,-rpath,/usr/lib/firefox-3.5") from blasse's 3.5rc2-2 solved it for me.

Last edited by oszabolcs (2009-06-25 01:25:49)

Offline

#156 2009-06-25 05:25:19

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

Re: Official firefox-pgo thread

kazuo wrote:

With gcc 4.5 I'm getting now the same error somebody have on second page about

firefox-bin: undefined symbol: __gcov_indirect_call_profiler

Someone know a workaround?

This is due some very old code in mozilla. They will be removing it with migration from ff2 support. For now, use -lgcov linker flag and ldflags2.patch - both may or may not help...


Proud ex-maintainer of firefox-pgo

Offline

#157 2009-06-25 10:31:47

bond
Member
From: Melbourne, Australia
Registered: 2009-05-05
Posts: 62

Re: Official firefox-pgo thread

even after disabling optimize/unset cflags/printing

./run-mozilla.sh: line 131:  8349 Segmentation fault      "$prog" ${1+"$@"

arrrrggggg big_smile

Offline

#158 2009-06-26 05:25:38

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

Re: Official firefox-pgo thread

That is some code/gcc error.... It must be so...
BTW. On AUR there is new version of ffrc3 smile


Proud ex-maintainer of firefox-pgo

Offline

#159 2009-06-29 19:55:04

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

Re: Official firefox-pgo thread

Probably tomorrow firefox-3.5 will go stable. Since it won't be beta no more, I will move it to firefox-pgo. Firefox-pgo-beta will remain 3.5 too until mozilla will release 3.6a1.

The question is what to do with 3.0.x branch. Should I deprecate it or move to new pkg, firefox-pgo-legacy?

Last edited by blasse (2009-06-29 19:55:55)


Proud ex-maintainer of firefox-pgo

Offline

#160 2009-06-30 09:05:24

bond
Member
From: Melbourne, Australia
Registered: 2009-05-05
Posts: 62

Re: Official firefox-pgo thread

Well I'd personally deprecate it, i'm sure if others still want an older version of firefox, they can live without a pgo-build from the aur wink

Offline

#161 2009-06-30 17:27:28

SpeedVin
Member
From: Poland
Registered: 2009-04-29
Posts: 955

Re: Official firefox-pgo thread

bond wrote:

Well I'd personally deprecate it, i'm sure if others still want an older version of firefox, they can live without a pgo-build from the aur wink

+1
Deprecate it , becouse there no need too using older version addons works fine Firefox 3.5 is faster and more stable tham 3.0 versions smile


Shell Scripter | C/C++/Python/Java Coder | ZSH

Offline

#162 2009-06-30 17:46:36

markg85
Member
Registered: 2009-06-27
Posts: 149

Re: Official firefox-pgo thread

Just wondering.. do i have to use gcc 4.5 to get firefox 3.5 compiling? or is it just a fancy but not required option?
Or am i getting a big performance boost with gcc 4.5 and firefox PGO (pgo is the component that 'requires' gcc 4.5 right)..?

Or do i just need firefox-3.5 from aur.. some more information please. this is kinda fuzzy.

Last edited by markg85 (2009-06-30 17:55:32)

Offline

#163 2009-06-30 17:55:44

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

Re: Official firefox-pgo thread

pgo ang gcc are very buggy together on x86-64 and less buggy when using gcc-4.5 This gcc-snapshot from AUR is made such way, that it will install as a second gcc, not overwriting normal arch gcc. You could try compile it with gcc-4.4 by just commenting "export gcc-4.5" lines in pkgbuild.


Proud ex-maintainer of firefox-pgo

Offline

#164 2009-06-30 18:01:31

jt512
Member
Registered: 2009-02-19
Posts: 262

Re: Official firefox-pgo thread

Build of firefox-pgo just failed on x86_64.  Any suggestions?

make[1]: Leaving directory `/tmp/yaourt-tmp-jay/aur-firefox-pgo/firefox-pgo/src/mozilla-1.9.1'
OBJDIR=/tmp/yaourt-tmp-jay/aur-firefox-pgo/firefox-pgo/src/mozilla-1.9.1/ff-pgo python /tmp/yaourt-tmp-jay/aur-firefox-pgo/firefox-pgo/src/mozilla-1.9.1/ff-pgo/_profile/pgo/profileserver.py
INFO | (automation.py) | Application pid: 19176
TEST-UNEXPECTED-FAIL | (automation.py) | Exited with code -11 during test run
INFO | (automation.py) | Application ran for: 0:00:00.156912
make: *** [profiledbuild] Error 245
==> ERROR: Build Failed.
    Aborting...
Error: Makepkg was unable to build firefox-pgo package.

Last edited by jt512 (2009-06-30 18:09:24)

Offline

#165 2009-06-30 18:10:24

kensai
Member
From: Puerto Rico
Registered: 2005-06-03
Posts: 2,484
Website

Re: Official firefox-pgo thread

jt512 wrote:

Build of firefox-pgo just failed on x86_64.  Any suggestions?

make[1]: Leaving directory `/tmp/yaourt-tmp-jay/aur-firefox-pgo/firefox-pgo/src/mozilla-1.9.1'
OBJDIR=/tmp/yaourt-tmp-jay/aur-firefox-pgo/firefox-pgo/src/mozilla-1.9.1/ff-pgo python /tmp/yaourt-tmp-jay/aur-firefox-pgo/firefox-pgo/src/mozilla-1.9.1/ff-pgo/_profile/pgo/profileserver.py
INFO | (automation.py) | Application pid: 19176
TEST-UNEXPECTED-FAIL | (automation.py) | Exited with code -11 during test run
INFO | (automation.py) | Application ran for: 0:00:00.156912
make: *** [profiledbuild] Error 245
==> ERROR: Build Failed.
    Aborting...
Error: Makepkg was unable to build firefox-pgo package.

I got the exact same, using gcc-4.5 on x86_64 and I was not using yaourt.

Last edited by kensai (2009-06-30 18:10:40)


Follow me in: Identi.ca, Twitter, Google+

Offline

#166 2009-06-30 18:11:26

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

Re: Official firefox-pgo thread

You are n x86-64, right?
Run firefox{-bin} from ff-pgo/dist/bin/, check the error. If it's libxul, you can read about it in this topic. You could try removing optimization from mozconfig (by changing --enable-optimize="..." to --enable-optimize), you could try gcc4.4 instead, you also may try to disable official branding - I don't know why, but it also may help. This error is completely random. It can even disappear without any clear reason...

I'am pretty bored with this... It started somewhere near ff3.1b2 and gcc-4.4. Firefox devs sees no problem (pgo is not officially supported on linux and I can't compile debug build, it fails all the time)...

Last edited by blasse (2009-06-30 18:14:38)


Proud ex-maintainer of firefox-pgo

Offline

#167 2009-06-30 18:12:42

punkeroso
Member
From: Rome, Italy
Registered: 2007-01-19
Posts: 105

Re: Official firefox-pgo thread

jt512 wrote:

Build of firefox-pgo just failed on x86_64.  Any suggestions?

make[1]: Leaving directory `/tmp/yaourt-tmp-jay/aur-firefox-pgo/firefox-pgo/src/mozilla-1.9.1'
OBJDIR=/tmp/yaourt-tmp-jay/aur-firefox-pgo/firefox-pgo/src/mozilla-1.9.1/ff-pgo python /tmp/yaourt-tmp-jay/aur-firefox-pgo/firefox-pgo/src/mozilla-1.9.1/ff-pgo/_profile/pgo/profileserver.py
INFO | (automation.py) | Application pid: 19176
TEST-UNEXPECTED-FAIL | (automation.py) | Exited with code -11 during test run
INFO | (automation.py) | Application ran for: 0:00:00.156912
make: *** [profiledbuild] Error 245
==> ERROR: Build Failed.
    Aborting...
Error: Makepkg was unable to build firefox-pgo package.

Same here.

Offline

#168 2009-06-30 18:13:46

jt512
Member
Registered: 2009-02-19
Posts: 262

Re: Official firefox-pgo thread

blasse wrote:

You are n x86-64, right?
Run firefox{-bin} from ff-pgo/dist/bin/, check the error. If it's libxul, you can read about it in this topic. You could try removing optimization from mozconfig (by changing --enable-optimize="..." to --enable-optimize), you could try gcc4.4 instead, you also may try to disable official branding - I don't know why, but it also may help. This error is completely random. It can even disappear without any clear reason...

I've yet to see a compile error that was random.  There must be a reason.

jay

Offline

#169 2009-06-30 18:16:26

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

Re: Official firefox-pgo thread

jt512 wrote:
blasse wrote:

You are n x86-64, right?
Run firefox{-bin} from ff-pgo/dist/bin/, check the error. If it's libxul, you can read about it in this topic. You could try removing optimization from mozconfig (by changing --enable-optimize="..." to --enable-optimize), you could try gcc4.4 instead, you also may try to disable official branding - I don't know why, but it also may help. This error is completely random. It can even disappear without any clear reason...

I've yet to see a compile error that was random.  There must be a reason.

jay

The reason can be identified with debug build. As I mentioned before - I cannot compile one successfully hmm Problem is connected with -fprofil-use flag, as non pgo builds fine with the same config.

If someone is able to work this out - I will be more than happy. I'm fighting with it since ff3.1b2 as mentioned...

Last edited by blasse (2009-06-30 18:17:29)


Proud ex-maintainer of firefox-pgo

Offline

#170 2009-06-30 18:21:46

jt512
Member
Registered: 2009-02-19
Posts: 262

Re: Official firefox-pgo thread

blasse wrote:

Run firefox{-bin} from ff-pgo/dist/bin/

What does that mean?

Offline

#171 2009-06-30 18:25:42

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

Re: Official firefox-pgo thread

PGO builds first build in objdir. In my build it is srcdir/ff-pgo/. In dist/bin subdir there is working copy of firefox, that script tries to run for profiling. Error 11 means it cannot be run smile So running it manually from console can tell us what's wrong.


Proud ex-maintainer of firefox-pgo

Offline

#172 2009-06-30 18:36:37

jt512
Member
Registered: 2009-02-19
Posts: 262

Re: Official firefox-pgo thread

blasse wrote:

PGO builds first build in objdir. In my build it is srcdir/ff-pgo/. In dist/bin subdir there is working copy of firefox, that script tries to run for profiling. Error 11 means it cannot be run smile So running it manually from console can tell us what's wrong.

Here you go...

[ jay /tmp/yaourt-tmp-jay/aur-firefox-pgo/firefox-pgo/src/mozilla-1.9.1/ff-pgo/dist/bin ] $ ./firefox

./run-mozilla.sh: line 131: 24381 Segmentation fault      "$prog" ${1+"$@"}

But I get a different error with ./firefox-bin

$ ./firefox-bin
./firefox-bin: error while loading shared libraries: libxul.so: cannot open shared object file: No such file or directory

Last edited by jt512 (2009-06-30 18:38:46)

Offline

#173 2009-06-30 18:41:48

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

Re: Official firefox-pgo thread

And this clearly show, that you are affected by the same bug, as many here sad btw. Strange, that this happens only on x86-64...


Proud ex-maintainer of firefox-pgo

Offline

#174 2009-06-30 19:27:47

Venator85
Member
From: Italy
Registered: 2007-10-18
Posts: 62

Re: Official firefox-pgo thread

I tried building new firefox-pgo pkgbuild but I got:

/home/venator/Desktop/firefox-pgo/src/mozilla-1.9.1/netwerk/cache/src/nsDiskCacheEntry.cpp: In member function 'nsCacheEntry* nsDiskCacheEntry::CreateCacheEntry(nsCacheDevice*)':
/home/venator/Desktop/firefox-pgo/src/mozilla-1.9.1/netwerk/cache/src/nsDiskCacheEntry.cpp:164: error: coverage mismatch for function '_ZN16nsDiskCacheEntry16CreateCacheEntryEP13nsCacheDevice' while reading counter 'arcs'
/home/venator/Desktop/firefox-pgo/src/mozilla-1.9.1/netwerk/cache/src/nsDiskCacheEntry.cpp:164: note: checksum is 2a8bb6af instead of 480023e1
make[7]: *** [nsDiskCacheEntry.o] Error 1
make[7]: Leaving directory `/home/venator/Desktop/firefox-pgo/src/mozilla-1.9.1/ff-pgo/netwerk/cache/src'
make[6]: *** [libs] Error 2
make[6]: Leaving directory `/home/venator/Desktop/firefox-pgo/src/mozilla-1.9.1/ff-pgo/netwerk/cache'
make[5]: *** [libs] Error 2
make[5]: Leaving directory `/home/venator/Desktop/firefox-pgo/src/mozilla-1.9.1/ff-pgo/netwerk'
make[4]: *** [libs_tier_necko] Error 2
make[4]: Leaving directory `/home/venator/Desktop/firefox-pgo/src/mozilla-1.9.1/ff-pgo'
make[3]: *** [tier_necko] Error 2
make[3]: Leaving directory `/home/venator/Desktop/firefox-pgo/src/mozilla-1.9.1/ff-pgo'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/home/venator/Desktop/firefox-pgo/src/mozilla-1.9.1/ff-pgo'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/home/venator/Desktop/firefox-pgo/src/mozilla-1.9.1'
make: *** [profiledbuild] Error 2
==> ERROR: Build Failed.
    Aborting...

but I have no executable files in ff-pgo/dist/bin:

venator@dell ~/Desktop/firefox-pgo/src/mozilla-1.9.1/ff-pgo/dist/bin
 1 $ ll
total 20K
drwxr-xr-x 2 venator users 4.0K 2009-06-30 21:18 components
drwxr-xr-x 2 venator users 4.0K 2009-06-30 21:18 greprefs
drwxr-xr-x 2 venator users 4.0K 2009-06-30 21:18 modules
drwxr-xr-x 3 venator users 4.0K 2009-06-30 21:18 res
lrwxrwxrwx 1 venator users   15 2009-06-30 21:16 js -> ../../js/src/js
lrwxrwxrwx 1 venator users   24 2009-06-30 21:16 libmozjs.so -> ../../js/src/libmozjs.so
lrwxrwxrwx 1 venator users   29 2009-06-30 21:15 nsinstall -> ../../js/src/config/nsinstall
lrwxrwxrwx 1 venator users   77 2009-06-30 21:15 run-mozilla.sh -> /home/venator/Desktop/firefox-pgo/src/mozilla-1.9.1/build/unix/run-mozilla.sh
lrwxrwxrwx 1 venator users   31 2009-06-30 21:16 xpidl -> ../../xpcom/typelib/xpidl/xpidl
lrwxrwxrwx 1 venator users   38 2009-06-30 21:16 xpt_dump -> ../../xpcom/typelib/xpt/tools/xpt_dump
lrwxrwxrwx 1 venator users   38 2009-06-30 21:16 xpt_link -> ../../xpcom/typelib/xpt/tools/xpt_link

Any suggestions?
Thanks wink

Offline

#175 2009-06-30 19:47:17

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

Re: Official firefox-pgo thread

Venator85 wrote:

but I have no executable files in ff-pgo/dist/bin:

executables are there when first pass build is compiled successfully. Your problem should be resolved easily - uncomment ldflags2.patch in pkgbuild smile


Proud ex-maintainer of firefox-pgo

Offline

Board footer

Powered by FluxBB