You are not logged in.
Update your source links a build2 of rc1 is available.
On AUR there is RC1 release available.
hmmm I tried updating my trunk and today I can't build anymore ...
getting this error on both 1.9.1 and Central trees:
Encountered the same last night when trying to build debug build. Since that every build stops with this for me...
I'm getting tired of firefox
Proud ex-maintainer of firefox-pgo
Offline
Encountered the same last night when trying to build debug build. Since that every build stops with this for me...
I'm getting tired of firefox
Please...don't give up.
I've complished the compilation, for twice, with your help, Thank you!:)
My modification based on your files:
1, as you mentioned, remove ldflags2.patch and comment out the line
sed -i -e "s/${pkgname}-${pkgver}/mozilla-1.9.1/g" -e "s/mozilla-devel-${pkgver}/mozilla-devel-1.9.1/g" ${pkgdir}/usr/lib/pkgconfig/*.pc || return 1
2, replace the line
rm -rf "$pkgdir"/usr/lib/firefox-devel-${pkgver}/
with
rm -rf "$pkgdir"/usr/lib/firefox-devel-3.5/
it will delete the devel files;
3, unset CFLAGS and CXXFLAGS in PKGBUILD;
4, use CFLAGS in mozconfig, mine:
ac_add_options --enable-optimize="-march=native -O2 -pipe -fomit-frame-pointer -fforce-addr -ftracer -floop-block -floop-interchange -floop-strip-mine"
BTW,on my machine,
-finline-functions -funswitch-loops
leads to errors like "...coverage...".
Last edited by bingyuan (2009-06-19 10:19:49)
Offline
well it builds and runs fine without profiledbuild in the client.mk line ....
I had accidently deleted my old pgo pkg files, so at least I can still have a new firefox build installed
I'll try playing around with some different flags in the mozconfig to see if I can get rid of this __gcov_ error ...
Has anyone thought of writing a better profileserver.sh script?
ie one that automatically loads up the sunspider page and runs some tests, then closes the browser?
Offline
OK, I've got it compiled
http://omploader.org/vMXY2cA
To deal with gcov problem I've added -lgcov to ldflags. Also I've disabled almost all patches and optimizations (I've left mozilla's default). And I compiled it with gcc-4.5 (gcc-snapshot from AUR) - gcc4.4 finishes with errors with the same settings.
Proud ex-maintainer of firefox-pgo
Offline
Has anyone thought of writing a better profileserver.sh script?
ie one that automatically loads up the sunspider page and runs some tests, then closes the browser?
I thought the generic python script already does this? I used it to build a new minefield yesterday from central.
Offline
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
If testing confirms this workaround I will update aur package.
Proud ex-maintainer of firefox-pgo
Offline
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
If testing confirms this workaround I will update aur package.
is it 32bit or 64bit?
Offline
I'm building gcc-snapshot and I'm going to try to build the new pkg rel.
How did you found out the new gcc would help?
Edit: FYI use makepkg --source
Last edited by jordz (2009-06-22 18:41:06)
Offline
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
If testing confirms this workaround I will update aur package.is it 32bit or 64bit?
It's plain pkgbuild and other files. If you build it 32bit - it will be 32bit. If you build it 64bit - i will be 64bit
I'm building gcc-snapshot and I'm going to try to build the new pkg rel.
How did you found out the new gcc would help?
The problems started with gcc4.4, Ted Mielczarek fro mozilla also suggested bugs in gcc. So I've decided to try newer version, which luckily is available on AUR
Proud ex-maintainer of firefox-pgo
Offline
No luck x86_64 + testing
OBJDIR=/home/jordz/Desktop/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo python /home/jordz/Desktop/firefox-pgo-beta/src/mozilla-1.9.1/ff-pgo/_profile/pgo/profileserver.py
INFO | (automation.py) | Application pid: 19546
TEST-UNEXPECTED-FAIL | (automation.py) | Exited with code -11 during test run
INFO | (automation.py) | Application ran for: 0:00:00.028509
make: *** [profiledbuild] Error 245
==> ERROR: Build Failed.
Aborting...
Offline
What error when running ./firefox -no-remote from src/ff-pgo/dist/bin ?
Proud ex-maintainer of firefox-pgo
Offline
It's plain pkgbuild and other files. If you build it 32bit - it will be 32bit. If you build it 64bit - i will be 64bit
sorry, my bad, I mean, if ff3.5 can already be built on x86_64 with pgo. I'm not sure if someone in this thread had already done it succussfully. at least for me, still no luck.
Offline
blasse wrote:It's plain pkgbuild and other files. If you build it 32bit - it will be 32bit. If you build it 64bit - i will be 64bit
sorry, my bad, I mean, if ff3.5 can already be built on x86_64 with pgo. I'm not sure if someone in this thread had already done it succussfully. at least for me, still no luck.
I'm on 64bit So it can be done. btw. Remember to do pacman -S base-devel before install - without full devel something may not work....
Proud ex-maintainer of firefox-pgo
Offline
Offline
Compiles fine for me on x86_64 using firefox-pgo-beta-3.5rc2-1 and AFAIK the pkgbuild was just cleaned up in -2.
Thanks blasse for all of your hard work!
Cleaned pkgbuild, cleaned optimizations, cleaned patches and added export for gcc-4.5. But that makes it work on my rig
Proud ex-maintainer of firefox-pgo
Offline
pyther wrote:Compiles fine for me on x86_64 using firefox-pgo-beta-3.5rc2-1 and AFAIK the pkgbuild was just cleaned up in -2.
Thanks blasse for all of your hard work!
Cleaned pkgbuild, cleaned optimizations, cleaned patches and added export for gcc-4.5. But that makes it work on my rig
oh, my... gcc4.5
Offline
Offline
Blasse, you're my hero. That was the first PGO Firefox I've been able to build in over a month. I had also read that GCC was to blame, but was kinda afraid to run an untested version since I compile a lot of stuff. However, the 4.5 snapshot you suggested seems to co-exist quite happily with 4.4. I went from 6000 to 4000ms on Sunspider vs a regular RC2 build on 32-bit, which is not too shabby.
Offline
What error when running ./firefox -no-remote from src/ff-pgo/dist/bin ?
[jordz@jordz-desktop bin]$ ./firefox-bin
./firefox-bin: error while loading shared libraries: libxul.so: cannot open shared object file: No such file or directory
[jordz@jordz-desktop bin]$ ./firefox
./run-mozilla.sh: line 131: 17729 Segmentation fault "$prog" ${1+"$@"}
[jordz@jordz-desktop bin]$
Offline
That is the same I've got before switching to gcc-4.5... Could you try compile it without PGO and see if it will work that way?
Proud ex-maintainer of firefox-pgo
Offline
I also get the error ...
./run-mozilla.sh: line 131: 22865 Segmentation fault "$prog" ${1+"$@"}
I'll try non pgo, and debug in a moment
Offline
built non profiledbuild fine
Offline
OK, so something is wrong with profiling. Try disabling optimize in mozconfig. First by commenting the line, second if the first doesn't help - add --disable-optimize. Also ldflags2 patch can help (but is intended for help in other problem, so don't expect a miracle). Unsetting ldflags may also help.
Proud ex-maintainer of firefox-pgo
Offline
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.
Last edited by bond (2009-06-23 22:56:20)
Offline
Blasse, you're my hero. That was the first PGO Firefox I've been able to build in over a month. I had also read that GCC was to blame, but was kinda afraid to run an untested version since I compile a lot of stuff. However, the 4.5 snapshot you suggested seems to co-exist quite happily with 4.4. I went from 6000 to 4000ms on Sunspider vs a regular RC2 build on 32-bit, which is not too shabby.
Yeah that gcc-snapshot has solved everything for me. I built one using your default package and my cflags changed to "march=athlon64-sse3" and "-Os", and it built perfectly. My benchmarks went from 4800 to 4600, not much but at least it seems a bit quicker.
Thanks blasse. You might as well remove that ldflags2 patch that was from the mozilla bugs page, because it does screws something up.
Last edited by methuselah (2009-06-24 03:43:43)
Offline