You are not logged in.

#26 2009-06-07 08:14:13

rumil
Member
From: Krakow, Poland
Registered: 2007-11-16
Posts: 39

Re: Official firefox-pgo thread

I can't build firefox-pgo-beta as well :-( (just tried new version now).
However my build fails with:

OBJDIR=/tmp/yaourt-tmp-rumil/aur-firefox-pgo-beta/firefox-pgo-beta/src/mozilla-1.9.1/ff-opt-obj python /tmp/yaourt-tmp-rumil/aur-firefox-pgo-beta/firefox-pgo-beta/src/mozilla-1.9.1/ff-opt-obj/_profile/pgo/profileserver.py                               
INFO | (automation.py) | Application pid: 11192                                                                               
/tmp/yaourt-tmp-rumil/aur-firefox-pgo-beta/firefox-pgo-beta/src/mozilla-1.9.1/ff-opt-obj/dist/bin/firefox-bin: symbol lookup error: /tmp/yaourt-tmp-rumil/aur-firefox-pgo-beta/firefox-pgo-beta/src/mozilla-1.9.1/ff-opt-obj/dist/bin/firefox-bin: undefined symbol: __gcov_indirect_call_profiler
TEST-UNEXPECTED-FAIL | (automation.py) | Exited with code 127 during test run
INFO | (automation.py) | Application ran for: 0:00:00.014659
make: *** [profiledbuild] Błąd 127

Which is a little different then others. I haven't seen this line in anyboy's else log:

firefox-bin: undefined symbol: __gcov_indirect_call_profiler

That makes me think that there is something wrong in my system? Googled for similar errors, but no results...

Offline

#27 2009-06-07 08:18:24

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

Re: Official firefox-pgo thread

Nothing is wrong - this two errors are common for almost everybody on gcc4.4 and x86-64...
This one (gcov) is reported in bug i linked in first post, I'm also encountering it once a few tries.

Last edited by blasse (2009-06-07 08:20:10)


Proud ex-maintainer of firefox-pgo

Offline

#28 2009-06-07 08:58:43

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

Re: Official firefox-pgo thread

methuselah wrote:

Anyway, I'm only posting this next part to mention that I've noticed the benchmarks getting worse for every new version:

with firefox-pgo-beta 3.1b3 the SunSpider JavaScript Benchmark were: around 4200/4300/4400

then with 3.5b4 regular it was: 4600

now with 3.5b99 it's this:

Total:                 4806.8ms +/- 1.6%

I've also seen the exact opposite of people's result when I saw an article on digg.com about firefox 3.5b4 and it's SunSpider JavaScript Benchmark where people had their benchmarks from 3.1b3 and 3.5b4 go in the other direction, as in from 4000 to 3000..... the article was about why firefox in wine is faster than Linux firefox and how version 3.5b4 should help make native Linux firefox benchmarks closer to the ones people get when using firefox in wine.

I have 3.5b4 pgo and 3.5rc1 normal build. And in on js tests 3.5rc1(b99) is faster. Pity i cannot pgoed it wink

btw. Opera 10b1 is faster than ff in all benchmarks. Maybe time to switch tongue


Proud ex-maintainer of firefox-pgo

Offline

#29 2009-06-07 10:08:38

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

Re: Official firefox-pgo thread

blasse wrote:
methuselah wrote:

Anyway, I'm only posting this next part to mention that I've noticed the benchmarks getting worse for every new version:

with firefox-pgo-beta 3.1b3 the SunSpider JavaScript Benchmark were: around 4200/4300/4400

then with 3.5b4 regular it was: 4600

now with 3.5b99 it's this:

Total:                 4806.8ms +/- 1.6%

I've also seen the exact opposite of people's result when I saw an article on digg.com about firefox 3.5b4 and it's SunSpider JavaScript Benchmark where people had their benchmarks from 3.1b3 and 3.5b4 go in the other direction, as in from 4000 to 3000..... the article was about why firefox in wine is faster than Linux firefox and how version 3.5b4 should help make native Linux firefox benchmarks closer to the ones people get when using firefox in wine.

I have 3.5b4 pgo and 3.5rc1 normal build. And in on js tests 3.5rc1(b99) is faster. Pity i cannot pgoed it wink

btw. Opera 10b1 is faster than ff in all benchmarks. Maybe time to switch tongue

It's great to hear that but some peapole can't switch becouse they use only Gtk apps and Opera use QT.
I wait to Opera in Gtk smile


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

Offline

#30 2009-06-07 10:13:53

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

Re: Official firefox-pgo thread

I'm on gnome, mostly using gtk, but also with 2 or 3 qt apps tongue It doesn't hurt wink

Meanwhile I'll try to get this FF working back tongue


Proud ex-maintainer of firefox-pgo

Offline

#31 2009-06-07 11:31:31

rumil
Member
From: Krakow, Poland
Registered: 2007-11-16
Posts: 39

Re: Official firefox-pgo thread

blasse wrote:

Nothing is wrong - this two errors are common for almost everybody on gcc4.4 and x86-64...
This one (gcov) is reported in bug i linked in first post, I'm also encountering it once a few tries.

Hmm... I'm on i686 - forgot to mention that ;-)
I'm gonna' try LDFLAGS suggested in the bug report (sorry, I've missed that first time I wrote).

Offline

#32 2009-06-07 16:04:48

Rip-Rip
Member
Registered: 2008-11-09
Posts: 32

Re: Official firefox-pgo thread

SpeedVin wrote:
blasse wrote:
methuselah wrote:

Anyway, I'm only posting this next part to mention that I've noticed the benchmarks getting worse for every new version:

with firefox-pgo-beta 3.1b3 the SunSpider JavaScript Benchmark were: around 4200/4300/4400

then with 3.5b4 regular it was: 4600

now with 3.5b99 it's this:

Total:                 4806.8ms +/- 1.6%

I've also seen the exact opposite of people's result when I saw an article on digg.com about firefox 3.5b4 and it's SunSpider JavaScript Benchmark where people had their benchmarks from 3.1b3 and 3.5b4 go in the other direction, as in from 4000 to 3000..... the article was about why firefox in wine is faster than Linux firefox and how version 3.5b4 should help make native Linux firefox benchmarks closer to the ones people get when using firefox in wine.

I have 3.5b4 pgo and 3.5rc1 normal build. And in on js tests 3.5rc1(b99) is faster. Pity i cannot pgoed it wink

btw. Opera 10b1 is faster than ff in all benchmarks. Maybe time to switch tongue

It's great to hear that but some peapole can't switch becouse they use only Gtk apps and Opera use QT.
I wait to Opera in Gtk smile

You can configure QT to use your GTK theme, and it's working perfectly. You just have to choose "GTK" in qtconfig

Offline

#33 2009-06-07 16:46:20

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

Re: Official firefox-pgo thread

Just a quick benchmark for fun (both builds with PGO):

Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2a1pre) Gecko/20090607 Minefield/3.6a1pre
============================================
RESULTS (means and 95% confidence intervals)
--------------------------------------------
Total:                 1349.0ms +/- 2.3%
--------------------------------------------

Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1pre) Gecko/20090606 Shiretoko/3.5pre
============================================
RESULTS (means and 95% confidence intervals)
--------------------------------------------
Total:                 1722.8ms +/- 7.4%
--------------------------------------------

Offline

#34 2009-06-07 19:25:36

methuselah
Member
Registered: 2007-10-02
Posts: 570

Re: Official firefox-pgo thread

bangkok_manouel wrote:

Just a quick benchmark for fun (both builds with PGO):

Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2a1pre) Gecko/20090607 Minefield/3.6a1pre
============================================
RESULTS (means and 95% confidence intervals)
--------------------------------------------
Total:                 1349.0ms +/- 2.3%
--------------------------------------------

Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1pre) Gecko/20090606 Shiretoko/3.5pre
============================================
RESULTS (means and 95% confidence intervals)
--------------------------------------------
Total:                 1722.8ms +/- 7.4%
--------------------------------------------

Firefox 3.5b99 w/tracemonkey enabled. (can someone explain to me why my numbers are in the upper 4000's)
============================================
RESULTS (means and 95% confidence intervals)
--------------------------------------------
Total:                  4873.4ms +/- 1.2%
--------------------------------------------


I created a profile, and then ran it with this shell script:

export NO_EM_RESTART=1
$OBJDIR/usr/bin/firefox -no-remote -profile $OBJDIR/home/seventy3/.mozilla/firefox/_profileprofile

Then I ran all of those dromaeo tests while running it as "-no-remote -profile". I haven't really seen any difference from before I did this.


blasse wrote:

I have 3.5b4 pgo and 3.5rc1 normal build. And in on js tests 3.5rc1(b99) is faster. Pity i cannot pgoed it wink

Maybe I have something wrong with my system?

blasse wrote:

btw. Opera 10b1 is faster than ff in all benchmarks. Maybe time to switch tongue

I can never get used to Opera, and I've never tried it with the gtk themes..... as for my other browser I use the midori-git AUR package with webkit. The benchmarks are much better but it still seems slower when using it to browse.


Midori 0.1.6-441db87
============================================
RESULTS (means and 95% confidence intervals)
--------------------------------------------
Total:                  774.2ms +/- 1.3%
--------------------------------------------

Last edited by methuselah (2009-06-07 19:26:09)

Offline

#35 2009-06-08 00:26:51

darkraven
Member
Registered: 2009-06-08
Posts: 29

Re: Official firefox-pgo thread

I also get the TEST-UNEXPECTED-FAIL error when building with pgo in the
moz-central branch as well as the 191 branch if pgo is on. The firefox
profile-generation binary is segfaulting in __gcov_init -> strlen. I've tried
the profile-correction patch as well as disabling jemalloc pgo with no success.
I get this on both 4.3 and 4.4, i haven't tested <=4.2

From mozilla's bugzilla

Offline

#36 2009-06-08 00:33:18

darkraven
Member
Registered: 2009-06-08
Posts: 29

Re: Official firefox-pgo thread

I built with flag '-ffast-math' and got acid3 score 0/100
hmm

Offline

#37 2009-06-08 04:09:24

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

Re: Official firefox-pgo thread

firefox-pgo-beta 3.5b99 won't build PGO for me as well. (x86_64)

However a regular install produced better Javascript numbers (over 3.1b3) but seemed to break firebug sad

SunSpider with 3.6a1
RESULTS (means and 95% confidence intervals)
--------------------------------------------
Total:                 2181.4ms +/- 1.0%

V8:
Score: 265

Funniest thing is that if I disable TraceMonkey through about:config and set javascript.options.jit.content and javascript.options.jit.chrome to False I get almost identical benchmark results....how is this possible???

Unfortunately I'm gonna have to go back to the slower 3.1b3 unless I can get firebug working (I can't do web development without it!)

*EDIT*

To get firebug working I needed to use --enable-jsd in mozconfig

Last edited by Evanlec (2009-06-08 06:41:10)

Offline

#38 2009-06-08 22:39:17

smurnjiff
Member
Registered: 2007-06-25
Posts: 211

Re: Official firefox-pgo thread

I used the OP's firefox-pgo PKGBUILD and it built fine.

Results from the Sunspider test:

============================================
RESULTS (means and 95% confidence intervals)
--------------------------------------------
Total:                 2310.0ms +/- 0.8%
--------------------------------------------

  3d:                   331.6ms +/- 3.4%
    cube:               104.4ms +/- 6.7%
    morph:               68.6ms +/- 1.0%
    raytrace:           158.6ms +/- 3.9%

  access:               287.6ms +/- 2.3%
    binary-trees:        79.0ms +/- 2.2%
    fannkuch:           127.6ms +/- 1.5%
    nbody:               59.8ms +/- 11.4%
    nsieve:              21.2ms +/- 2.6%

  bitops:                73.4ms +/- 1.9%
    3bit-bits-in-byte:    2.6ms +/- 26.2%
    bits-in-byte:        15.4ms +/- 4.4%
    bitwise-and:          4.0ms +/- 0.0%
    nsieve-bits:         51.4ms +/- 2.2%

  controlflow:           63.4ms +/- 1.1%
    recursive:           63.4ms +/- 1.1%

  crypto:               125.4ms +/- 9.9%
    aes:                 72.6ms +/- 17.2%
    md5:                 35.0ms +/- 4.4%
    sha1:                17.8ms +/- 5.8%

  date:                 330.6ms +/- 1.5%
    format-tofte:       178.0ms +/- 2.2%
    format-xparb:       152.6ms +/- 3.2%

  math:                 117.6ms +/- 12.2%
    cordic:              52.6ms +/- 27.2%
    partial-sums:        49.0ms +/- 0.0%
    spectral-norm:       16.0ms +/- 0.0%

  regexp:               197.0ms +/- 2.6%
    dna:                197.0ms +/- 2.6%

  string:               783.4ms +/- 1.9%
    base64:              35.4ms +/- 8.1%
    fasta:              178.4ms +/- 8.4%
    tagcloud:           223.6ms +/- 1.5%
    unpack-code:        247.0ms +/- 1.4%
    validate-input:      99.0ms +/- 6.2%

Offline

#39 2009-06-10 04:38:09

foolosophy
Member
Registered: 2009-04-17
Posts: 48

Re: Official firefox-pgo thread

/home/pablo/builds/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo/dist/lib/libmozreg_s.a(reg.o): In function `nr_ReplaceName':                                                                                                     
reg.c:(.text+0x930): undefined reference to `PL_strlen'                                                        
/home/pablo/builds/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo/dist/lib/libmozreg_s.a(reg.o): In function `nr_AppendName':                                                                                                      
reg.c:(.text+0xa60): undefined reference to `PL_strlen'                                                        
/home/pablo/builds/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo/dist/lib/libmozreg_s.a(reg.o): In function `nr_CatName':                                                                                                         
reg.c:(.text+0xc06): undefined reference to `PL_strlen'                                                        
/home/pablo/builds/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo/dist/lib/libmozreg_s.a(reg.o): In function `nr_RemoveName':                                                                                                      
reg.c:(.text+0xcd4): undefined reference to `PL_strlen'                                                        
/home/pablo/builds/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo/dist/lib/libmozreg_s.a(reg.o): In function `nr_FindAtLevel':                                                                                                     
reg.c:(.text+0xdeb): undefined reference to `PL_strcmp'                                                        
/home/pablo/builds/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo/dist/lib/libmozreg_s.a(reg.o): In function `NR_RegSetEntryString':                                                                                               
reg.c:(.text+0x2154): undefined reference to `PL_strlen'                                                       
reg.c:(.text+0x222b): undefined reference to `PL_strlen'                                                       
/home/pablo/builds/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo/dist/lib/libmozreg_s.a(reg.o): In function `NR_RegSetUsername':                                                                                                  
reg.c:(.text+0x25a1): undefined reference to `PL_strdup'                                                       
/home/pablo/builds/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo/dist/lib/libmozreg_s.a(reg.o): In function `NR_RegGetUsername':                                                                                                  
reg.c:(.text+0x2677): undefined reference to `PL_strdup'                                                       
/home/pablo/builds/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo/dist/lib/libmozreg_s.a(reg.o): In function `nr_TranslateKey':                                                                                                    
reg.c:(.text+0x2b96): undefined reference to `PL_strcmp'                                                       
/home/pablo/builds/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo/dist/lib/libmozreg_s.a(reg.o): In function `NR_RegOpen':                                                                                                         
reg.c:(.text+0x34ec): undefined reference to `PL_strcmp'                                                       
reg.c:(.text+0x3532): undefined reference to `PL_strdup'                                                       
/home/pablo/builds/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo/dist/lib/libmozreg_s.a(VerReg.o): In function `vr_convertPackageName':                                                                                           
VerReg.c:(.text+0xf4): undefined reference to `PL_strlen'                                                      
VerReg.c:(.text+0x1a2): undefined reference to `PL_strlen'                                                     
/home/pablo/builds/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo/dist/lib/libmozreg_s.a(VerReg.o): In function `vr_GetUninstallItemPath':                                                                                         
VerReg.c:(.text+0x233): undefined reference to `PL_strlen'                                                     
VerReg.c:(.text+0x251): undefined reference to `PL_strcpy'                                                     
VerReg.c:(.text+0x274): undefined reference to `PL_strlen'                                                     
VerReg.c:(.text+0x294): undefined reference to `PL_strcat'                                                     
VerReg.c:(.text+0x2c4): undefined reference to `PL_strlen'                                                     
VerReg.c:(.text+0x2ee): undefined reference to `PL_strcat'                                                     
VerReg.c:(.text+0x315): undefined reference to `PL_strcat'                                                     
VerReg.c:(.text+0x32f): undefined reference to `PL_strlen'                                                     
VerReg.c:(.text+0x34d): undefined reference to `PL_strlen'                                                     
VerReg.c:(.text+0x368): undefined reference to `PL_strcat'                                                     
VerReg.c:(.text+0x388): undefined reference to `PL_strlen'                                                     
VerReg.c:(.text+0x39f): undefined reference to `PL_strcat'                                                     
/home/pablo/builds/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo/dist/lib/libmozreg_s.a(VerReg.o): In function `vr_CompareDirs':                                                                                                  
VerReg.c:(.text+0x3f2): undefined reference to `PL_strlen'                                                     
VerReg.c:(.text+0x404): undefined reference to `PL_strlen'                                                     
VerReg.c:(.text+0x450): undefined reference to `PL_strncmp'                                                    
/home/pablo/builds/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo/dist/lib/libmozreg_s.a(VerReg.o): In function `vr_SetPathname':                                                                                                  
VerReg.c:(.text+0x489): undefined reference to `PL_strlen'                                                     
/home/pablo/builds/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo/dist/lib/libmozreg_s.a(VerReg.o): In function `vr_SetCurrentNav':                                                                                                
VerReg.c:(.text+0x8ec): undefined reference to `PL_strcpy'                                                     
/home/pablo/builds/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo/dist/lib/libmozreg_s.a(VerReg.o): In function `vr_Init':                                                                                                         
VerReg.c:(.text+0xad9): undefined reference to `PL_strlen'                                                     
VerReg.c:(.text+0xb06): undefined reference to `PL_strcpy'                                                     
VerReg.c:(.text+0xb1c): undefined reference to `PL_strcat'                                                     
/home/pablo/builds/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo/dist/lib/libmozreg_s.a(VerReg.o): In function `VR_EnumUninstall':                                                                                                
VerReg.c:(.text+0xe4d): undefined reference to `PL_strcpy'                                                     
VerReg.c:(.text+0xe68): undefined reference to `PL_strcat'                                                     
VerReg.c:(.text+0xe87): undefined reference to `PL_strcat'                                                     
VerReg.c:(.text+0xf1a): undefined reference to `PL_strcmp'                                                     
VerReg.c:(.text+0xff7): undefined reference to `PL_strlen'                                                     
VerReg.c:(.text+0x1041): undefined reference to `PL_strcpy'                                                    
VerReg.c:(.text+0x1053): undefined reference to `PL_strcat'                                                    
VerReg.c:(.text+0x106d): undefined reference to `PL_strcpy'                                                    
VerReg.c:(.text+0x108a): undefined reference to `PL_strlen'                                                    
/home/pablo/builds/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo/dist/lib/libmozreg_s.a(VerReg.o): In function `VR_UninstallFileExistsInList':                                                                                    
VerReg.c:(.text+0x1200): undefined reference to `PL_strlen'                                                    
VerReg.c:(.text+0x124a): undefined reference to `PL_strlen'                                                    
VerReg.c:(.text+0x1263): undefined reference to `PL_strlen'                                                    
VerReg.c:(.text+0x127e): undefined reference to `PL_strcat'                                                    
/home/pablo/builds/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo/dist/lib/libmozreg_s.a(VerReg.o): In function `VR_UninstallAddFileToList':                                                                                       
VerReg.c:(.text+0x13b1): undefined reference to `PL_strlen'                                                    
VerReg.c:(.text+0x13fb): undefined reference to `PL_strlen'                                                    
VerReg.c:(.text+0x1413): undefined reference to `PL_strlen'                                                    
VerReg.c:(.text+0x142e): undefined reference to `PL_strcat'                                                    
/home/pablo/builds/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo/dist/lib/libmozreg_s.a(VerReg.o): In function `VR_GetUninstallUserName':                                                                                         
VerReg.c:(.text+0x156a): undefined reference to `PL_strlen'                                                    
VerReg.c:(.text+0x15de): undefined reference to `PL_strlen'                                                    
/home/pablo/builds/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo/dist/lib/libmozreg_s.a(VerReg.o): In function `VR_UninstallCreateNode':                                                                                          
VerReg.c:(.text+0x1742): undefined reference to `PL_strlen'                                                    
/home/pablo/builds/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo/dist/lib/libmozreg_s.a(VerReg.o): In function `VR_CreateRegistry':                                                                                               
VerReg.c:(.text+0x1cb2): undefined reference to `PL_strlen'                                                    
VerReg.c:(.text+0x1ced): undefined reference to `PL_strcpy'                                                    
VerReg.c:(.text+0x1d06): undefined reference to `PL_strcat'                                                    
/home/pablo/builds/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo/dist/lib/libmozreg_s.a(VerReg.o): In function `VR_UninstallDestroy':                                                                                             
VerReg.c:(.text+0x1ef7): undefined reference to `PL_strlen'                                                    
VerReg.c:(.text+0x1f72): undefined reference to `PL_strlen'                                                    
/home/pablo/builds/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo/dist/lib/libmozreg_s.a(VerReg.o): In function `VR_UninstallDeleteSharedFilesKey':                                                                                
VerReg.c:(.text+0x208c): undefined reference to `PL_strlen'                                                    
VerReg.c:(.text+0x2107): undefined reference to `PL_strlen'                                                    
VerReg.c:(.text+0x2158): undefined reference to `PL_strlen'                                                    
/home/pablo/builds/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo/dist/lib/libmozreg_s.a(VerReg.o):VerReg.c:(.text+0x2171): more undefined references to `PL_strlen' follow                                                        
/home/pablo/builds/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo/dist/lib/libmozreg_s.a(VerReg.o): In function `VR_UninstallDeleteSharedFilesKey':                                                                                
VerReg.c:(.text+0x218c): undefined reference to `PL_strcat'                                                    
/home/pablo/builds/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo/dist/lib/libmozreg_s.a(VerReg.o): In function `VR_UninstallDeleteFileFromList':                                                                                  
VerReg.c:(.text+0x24e4): undefined reference to `PL_strlen'                                                    
VerReg.c:(.text+0x2563): undefined reference to `PL_strlen'                                                    
VerReg.c:(.text+0x25b4): undefined reference to `PL_strlen'                                                    
VerReg.c:(.text+0x25cd): undefined reference to `PL_strlen'                                                    
VerReg.c:(.text+0x25e8): undefined reference to `PL_strcat'                                                    
/home/pablo/builds/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo/dist/lib/libmozreg_s.a(VerReg.o): In function `VR_UninstallEnumSharedFiles':                                                                                     
VerReg.c:(.text+0x2718): undefined reference to `PL_strlen'                                                    
VerReg.c:(.text+0x2795): undefined reference to `PL_strlen'                                                    
VerReg.c:(.text+0x27e6): undefined reference to `PL_strlen'                                                    
VerReg.c:(.text+0x27fd): undefined reference to `PL_strlen'                                                    
VerReg.c:(.text+0x281d): undefined reference to `PL_strcat'                                                    
/home/pablo/builds/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo/dist/lib/libmozreg_s.a(VerReg.o): In function `VR_SetRegDirectory':                                                                                              
VerReg.c:(.text+0x2c1d): undefined reference to `PL_strdup'                                                    
/home/pablo/builds/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo/dist/lib/libmozreg_s.a(vr_stubs.o): In function `vr_findVerRegName':                                                                                             
vr_stubs.c:(.text+0x79): undefined reference to `PL_strlen'                                                    
vr_stubs.c:(.text+0x8e): undefined reference to `PL_strlen'                                                    
vr_stubs.c:(.text+0xbf): undefined reference to `PL_strcpy'                                                    
vr_stubs.c:(.text+0xd5): undefined reference to `PL_strcat'                                                    
vr_stubs.c:(.text+0xe4): undefined reference to `PL_strdup'                                                    
/home/pablo/builds/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo/dist/lib/libmozreg_s.a(vr_stubs.o): In function `vr_findGlobalRegName':
vr_stubs.c:(.text+0x17c): undefined reference to `PL_strlen'
vr_stubs.c:(.text+0x191): undefined reference to `PL_strlen'
vr_stubs.c:(.text+0x1c2): undefined reference to `PL_strcpy'
vr_stubs.c:(.text+0x1d8): undefined reference to `PL_strcat'
vr_stubs.c:(.text+0x1e7): undefined reference to `PL_strdup'
vr_stubs.c:(.text+0x220): undefined reference to `PL_strdup'
collect2: ld devolvió el estado de salida 1
make[7]: *** [libbrowsercomps.so] Error 1
make[7]: se sale del directorio `/home/pablo/builds/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo/browser/components/build'
make[6]: *** [libs] Error 2
make[6]: se sale del directorio `/home/pablo/builds/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo/browser/components'
make[5]: *** [libs] Error 2
make[5]: se sale del directorio `/home/pablo/builds/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo/browser'
make[4]: *** [libs_tier_app] Error 2
make[4]: se sale del directorio `/home/pablo/builds/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo'
make[3]: *** [tier_app] Error 2
make[3]: se sale del directorio `/home/pablo/builds/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo'
make[2]: *** [default] Error 2
make[2]: se sale del directorio `/home/pablo/builds/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo'
make[1]: *** [build] Error 2
make[1]: se sale del directorio `/home/pablo/builds/firefox-pgo-beta/src/mozilla-1.9.1'
make: *** [profiledbuild] Error 2
==> ERROR: Falló la compilación.
    Abortando...
pablo ~/builds/firefox-pgo-beta  $

Now I get a different error. Any suggestion?

Offline

#40 2009-06-10 05:06:15

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

Re: Official firefox-pgo thread

LDflags problem, I will correct pkgbuild today. You may try disacling --as-needed ldflag, and report back (just remove it from pkgbuild)
edit - this should work:

# Contributor: blasse <koralik(at)gmail(dot)com>
pkgname=firefox-pgo-beta
pkgver=3.5b99
pkgrel=1
pkgdesc="Mozilla Firefox, this one is tracemonkey-enabled. XULRunner independent. And optimized for faster use :)"
arch=('i686' 'x86_64')
license=('MPL' 'GPL' 'LGPL')
depends=('gtk2>=2.16.0' 'gcc-libs>=4.3.3' 'libidl2>=0.8.13' 'mozilla-common' 'nss>=3.12.2' 'libxt' 'lcms' 'startup-notification>=0.9' 'desktop-file-utils' 'shared-mime-info' 'libxt' 'zlib' 'libjpeg' 'nspr' 'libpng' 'cairo')
makedepends=('zip' 'pkgconfig' 'diffutils' 'python' 'xorg-server' 'imagemagick' 'alsa-lib' 'file')
provides=('firefox'="$pkgver")
conflicts=('firefox')
install=firefox.install
url="http://www.mozilla.org/projects/firefox"
source=(
    #ftp://ftp.mozilla.org/pub/firefox/nightly/"$pkgver"-candidates/build2/source/firefox-"$pkgver"-source.tar.bz2
    ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/"$pkgver"/source/firefox-"$pkgver"-source.tar.bz2
    mozconfig
    firefox.desktop
    firefox-safe.desktop
    mozilla-firefox-1.0-lang.patch
    fix-mozilla-launcher.patch
    ldflags.patch
    profileserver.sh)
options=('!makeflags')
md5sums=('12098bd79c3c4b18bfb61fcc62e83ce8'
         ''
         '4b766d6d21e1168dd365f467e4275e13'
         '1034e29d85c2d22faeb5899732321559'
         'e5aff38bf1dc7e885694d967e3806e07'
         '63eee2d1da3b43c9d604f2253f242f40'
         '9e461e5fc73b241d68d08be908405a5e'
         'be9ef96aebc12e9f0cfca2f4df5c6cdd')
build() {
  cd ${srcdir}/mozilla-1.9.1

  patch -Np1 -i ${srcdir}/mozilla-firefox-1.0-lang.patch || return 1
  #Fix stub launcher - archlinux
  patch -Np0 -i ${srcdir}/fix-mozilla-launcher.patch || return 1
  #Add -lxrender -lx11 LDFLAGS.
  patch -Np1 -i ${srcdir}/ldflags.patch || return 1

  cp ${srcdir}/mozconfig .mozconfig
#simple shll scrip for gathering data seems to work better - you have 15s to run some site for profiling.
  cp ${srcdir}/profileserver.sh profileserver.sh

#  LD_PRELOAD="" /usr/bin/Xvfb -nolisten tcp -extension GLX :1 &
#  XPID=$!
#  export DISPLAY=:1

#if building for redistribution use "-march=i686" or "-march=x86_64" instead of native.
#note: redistributing self-builded firefox with official branding violates mozilla EULA license. Be warned ;)

# -O flag can be used safely - mozillas code overwrites -O flag with own one if defined.. If not compiling try using -O0 (diasble optimize) - probably will fail too ;).
  export CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -floop-interchange -floop-strip-mine -floop-block -ftest-coverage -fprofile-arcs"
  export CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -floop-interchange -floop-strip-mine -floop-block -ftest-coverage -fprofile-arcs"
  export LDFLAGS="-fprofile-arcs -fprofile-correction -Wl,--rpath,/usr/lib/firefox-${pkgver},--hash-style=gnu,--sort-common -s"
#  unset CFLAGS
#  unset CXXFLAGS
#  sed -e 's/#CFLAGS#/'"$CFLAGS"'/g' <"$srcdir"/mozconfig >.mozconfig

  LD_PRELOAD=""
#for PGO build
  make clean -j1 -f client.mk profiledbuild MOZ_MAKE_FLAGS="${MAKEFLAGS}" || return 1
#for non-PGO build
#  make -j4 -f client.mk MOZ_MAKE_FLAGS="${MAKEFLAGS}" || return 1
#  kill $XPID

  make -j1 DESTDIR=${pkgdir} -C ff-pgo install || return 1

  install -m755 -d ${pkgdir}/usr/share/applications
  install -m755 -d ${pkgdir}/usr/share/pixmaps
  convert "$srcdir"/mozilla-1.9.1/other-licenses/branding/firefox/mozicon50.xpm ${pkgdir}/usr/share/pixmaps/firefox.png || return 1
  install -m644 ${srcdir}/firefox.desktop ${pkgdir}/usr/share/applications/ || return 1
  install -m644 ${srcdir}/firefox-safe.desktop ${pkgdir}/usr/share/applications/ || return 1
#Remove devel stuff
  rm -rf "$pkgdir"/usr/include/
  rm -rf "$pkgdir"/usr/lib/firefox-devel-${pkgver}/
  rm -rf "$pkgdir"/usr/share/idl/
  return 0
}

Last edited by blasse (2009-06-10 05:14:24)


Proud ex-maintainer of firefox-pgo

Offline

#41 2009-06-10 06:36:01

jordz
Member
Registered: 2006-02-01
Posts: 250

Re: Official firefox-pgo thread

I just tried to compile the latest version, it compiled fine but when I tried to run it:

[jordz@jordz-desktop Desktop]$ firefox 
/usr/lib/firefox-3.5b99/run-mozilla.sh: line 131: 28582 Segmentation fault      "$prog" ${1+"$@"}

Offline

#42 2009-06-10 06:40:40

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

Re: Official firefox-pgo thread

Yes, it's happens. I also got problem, that whole build is working mostly good, but ff doesn't start for profiling, because of segmentation fault or other errors. Ted Mielczarek posted in pgo bug report, that error 11 in python script is connected with firefox cannot be started from objdir... So maybe something's wrong with arch makepkg not with firefox code?


Proud ex-maintainer of firefox-pgo

Offline

#43 2009-06-10 06:59:18

foolosophy
Member
Registered: 2009-04-17
Posts: 48

Re: Official firefox-pgo thread

I get a weird error:

OBJDIR=/home/pablo/builds/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo /home/pablo/builds/firefox-pgo-beta/src/mozilla-1.9.1/profileserver.sh
/bin/sh: /home/pablo/builds/firefox-pgo-beta/src/mozilla-1.9.1/profileserver.sh: Permiso denegado
make: *** [profiledbuild] Error 126
==> ERROR: Falló la compilación.
    Abortando...

"Permiso denegado" = "Access denied"

Last edited by foolosophy (2009-06-10 06:59:51)

Offline

#44 2009-06-10 07:37:37

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

Re: Official firefox-pgo thread

Check permissons on file, maybe I've messed something smile

Last edited by blasse (2009-06-10 07:37:50)


Proud ex-maintainer of firefox-pgo

Offline

#45 2009-06-10 08:57:56

ammon
Member
Registered: 2008-12-11
Posts: 413

Re: Official firefox-pgo thread

Got this. With latest aur pkgbuild

/usr/lib/firefox-3.5b99/run-mozilla.sh: line 131: 12118 Segmentation fault      "$prog" ${1+"$@"}

Offline

#46 2009-06-10 09:31:58

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

Re: Official firefox-pgo thread

The same as jordz before. I still haven't found workaround...
Latest firefox sucks a bit when it comes to pgo wink


Proud ex-maintainer of firefox-pgo

Offline

#47 2009-06-10 10:54:26

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

Re: Official firefox-pgo thread

i too am getting the segmentation fault on the 3.5b99 build, x86_64

same error for building with pgo and without ...


I also can't build off the 1.9.1 mercurial tree anymore ... getting an error because my autoconf is greater than version 2.13 roll


could it have anything to do with the launcher patch?

Offline

#48 2009-06-10 12:05:55

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

Re: Official firefox-pgo thread

bond wrote:

i too am getting the segmentation fault on the 3.5b99 build, x86_64

same error for building with pgo and without ...


I also can't build off the 1.9.1 mercurial tree anymore ... getting an error because my autoconf is greater than version 2.13 roll


could it have anything to do with the launcher patch?

Try to disable patch. autoconf 2.13 is avaiable as autoconf-compat in aur. In my mozconfig there is (commented out) line, that makes mozilla use autoconf 2.13. Mercurial uses it since I remember wink


Proud ex-maintainer of firefox-pgo

Offline

#49 2009-06-10 21:20:14

Mossisen
Member
Registered: 2007-10-15
Posts: 3

Re: Official firefox-pgo thread

I get this weird thing:

/tmp/yaourt-tmp-mossisen/aur-firefox-pgo-beta/firefox-pgo-beta/src/mozilla-1.9.1/intl/uconv/ucvmath/nsUnicodeToMathematica2.cpp: In constructor 'nsUnicodeToMathematica2::nsUnicodeToMathematica2()':
/tmp/yaourt-tmp-mossisen/aur-firefox-pgo-beta/firefox-pgo-beta/src/mozilla-1.9.1/intl/uconv/ucvmath/nsUnicodeToMathematica2.cpp:55: error: coverage mismatch for function '_ZN23nsUnicodeToMathematica2C1Ev' while reading counter 'arcs'
/tmp/yaourt-tmp-mossisen/aur-firefox-pgo-beta/firefox-pgo-beta/src/mozilla-1.9.1/intl/uconv/ucvmath/nsUnicodeToMathematica2.cpp:55: note: checksum is ea8967c8 instead of c9be1c89
/tmp/yaourt-tmp-mossisen/aur-firefox-pgo-beta/firefox-pgo-beta/src/mozilla-1.9.1/intl/uconv/ucvmath/nsUnicodeToMathematica2.cpp: In constructor 'nsUnicodeToMathematica2::nsUnicodeToMathematica2()':
/tmp/yaourt-tmp-mossisen/aur-firefox-pgo-beta/firefox-pgo-beta/src/mozilla-1.9.1/intl/uconv/ucvmath/nsUnicodeToMathematica2.cpp:55: error: coverage mismatch for function '_ZN23nsUnicodeToMathematica2C2Ev' while reading counter 'arcs'
/tmp/yaourt-tmp-mossisen/aur-firefox-pgo-beta/firefox-pgo-beta/src/mozilla-1.9.1/intl/uconv/ucvmath/nsUnicodeToMathematica2.cpp:55: note: checksum is 6cbea000 instead of a9c9aee7
/tmp/yaourt-tmp-mossisen/aur-firefox-pgo-beta/firefox-pgo-beta/src/mozilla-1.9.1/intl/uconv/ucvmath/nsUnicodeToMathematica2.cpp: In destructor 'virtual nsUnicodeToMathematica2::~nsUnicodeToMathematica2()':
/tmp/yaourt-tmp-mossisen/aur-firefox-pgo-beta/firefox-pgo-beta/src/mozilla-1.9.1/intl/uconv/ucvmath/nsUnicodeToMathematica2.cpp:55: error: coverage mismatch for function '_ZN23nsUnicodeToMathematica2D0Ev' while reading counter 'arcs'
/tmp/yaourt-tmp-mossisen/aur-firefox-pgo-beta/firefox-pgo-beta/src/mozilla-1.9.1/intl/uconv/ucvmath/nsUnicodeToMathematica2.cpp:55: note: checksum is 38119bff instead of 60dd3ba9
/tmp/yaourt-tmp-mossisen/aur-firefox-pgo-beta/firefox-pgo-beta/src/mozilla-1.9.1/intl/uconv/ucvmath/nsUnicodeToMathematica2.cpp: In destructor 'virtual nsUnicodeToMathematica2::~nsUnicodeToMathematica2()':
/tmp/yaourt-tmp-mossisen/aur-firefox-pgo-beta/firefox-pgo-beta/src/mozilla-1.9.1/intl/uconv/ucvmath/nsUnicodeToMathematica2.cpp:55: error: coverage mismatch for function '_ZN23nsUnicodeToMathematica2D1Ev' while reading counter 'arcs'
/tmp/yaourt-tmp-mossisen/aur-firefox-pgo-beta/firefox-pgo-beta/src/mozilla-1.9.1/intl/uconv/ucvmath/nsUnicodeToMathematica2.cpp:55: note: checksum is a0a88d87 instead of bcb0a11e
make[7]: *** [nsUnicodeToMathematica2.o] Error 1
make[7]: Leaving directory `/tmp/yaourt-tmp-mossisen/aur-firefox-pgo-beta/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo/intl/uconv/ucvmath'
make[6]: *** [libs] Error 2
make[6]: Leaving directory `/tmp/yaourt-tmp-mossisen/aur-firefox-pgo-beta/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo/intl/uconv'
make[5]: *** [libs] Error 2
make[5]: Leaving directory `/tmp/yaourt-tmp-mossisen/aur-firefox-pgo-beta/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo/intl'
make[4]: *** [libs_tier_necko] Error 2
make[4]: Leaving directory `/tmp/yaourt-tmp-mossisen/aur-firefox-pgo-beta/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo'
make[3]: *** [tier_necko] Error 2
make[3]: Leaving directory `/tmp/yaourt-tmp-mossisen/aur-firefox-pgo-beta/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/tmp/yaourt-tmp-mossisen/aur-firefox-pgo-beta/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/tmp/yaourt-tmp-mossisen/aur-firefox-pgo-beta/firefox-pgo-beta/src/mozilla-1.9.1'
make: *** [profiledbuild] Error 2

I've tried with different -j values but it doesn't seem to help.

Offline

#50 2009-06-10 21:26:32

foolosophy
Member
Registered: 2009-04-17
Posts: 48

Re: Official firefox-pgo thread

I got it to build right but I get the segfault. I'll try without PGO.

Offline

Board footer

Powered by FluxBB