You are not logged in.
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
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.
Was hopeful about this one, installed gcc 4.5 and everything.
Unfortunate I got the same error as everyone else
./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
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
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
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
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
even after disabling optimize/unset cflags/printing
./run-mozilla.sh: line 131: 8349 Segmentation fault "$prog" ${1+"$@"
arrrrggggg
Offline
That is some code/gcc error.... It must be so...
BTW. On AUR there is new version of ffrc3
Proud ex-maintainer of firefox-pgo
Offline
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
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
Offline
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
+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
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline
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
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
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
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)
Offline
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
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
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
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 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
Run firefox{-bin} from ff-pgo/dist/bin/
What does that mean?
Offline
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 So running it manually from console can tell us what's wrong.
Proud ex-maintainer of firefox-pgo
Offline
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 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
And this clearly show, that you are affected by the same bug, as many here btw. Strange, that this happens only on x86-64...
Proud ex-maintainer of firefox-pgo
Offline
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
Offline
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
Proud ex-maintainer of firefox-pgo
Offline