You are not logged in.
I am using the standard PKGBUILD script and try to build it on my machine. But I got this error:
symbol lookup error: ./ff-pgo/dist/bin/xpcshell: undefined symbol: __gcov_indirect_call_profilerDoes anyone encounter this error? I am using gcc 4.6.
Last edited by sunliwei (2011-11-14 10:47:27)
Offline
I've just enountered it.
/home/archman/.abs/extra/firefox/src/mozilla-release/ff-pgo/dist/bin/xpcshell: symbol lookup error: /home/archman/.abs/extra/firefox/src/mozilla-release/ff-pgo/dist/bin/xpcshell: undefined symbol: __gcov_indirect_call_profiler
make[3]: *** [make-package] Error 127
make[3]: Leaving directory `/home/archman/.abs/extra/firefox/src/mozilla-release/ff-pgo/browser/installer'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/home/archman/.abs/extra/firefox/src/mozilla-release/ff-pgo/browser/installer'
make[1]: *** [package] Error 2
make[1]: Leaving directory `/home/archman/.abs/extra/firefox/src/mozilla-release/ff-pgo'
make: *** [profiledbuild] Error 2
==> ERROR: A failure occurred in build().Any ideas, maybe?
Offline
do you guys use gcc-multilib?
j
Give what you have. To someone, it may be better than you dare to think.
Offline
Aah, nvm this, the solution is in using a clean chroot. Use extra-i686-build for Firefox 10. It will run makepkg for you after it creates a clean new chroot env.
extra-i686-build -r /path/to/your/wanted/chroot/dirWonder: Nope, I'm not.
Update: Seems like extra-i686-build is not respecting /etc/makepkg.conf at all...
Update: Of course it's not, since I haven't edited a new file in chroot. Be aware of this. ![]()
Update (lol): Nah, it clears it up after editing, sure. No ideas..
Solution (finally): Use the "Classic Way" from the archwiki guide.
https://wiki.archlinux.org/index.php/De … ean_Chroot
Last edited by archman-cro (2012-02-03 22:54:49)
Offline
I am using the standard PKGBUILD script and try to build it on my machine. But I got this error:
symbol lookup error: ./ff-pgo/dist/bin/xpcshell: undefined symbol: __gcov_indirect_call_profilerDoes anyone encounter this error? I am using gcc 4.6.
Many people encounter this error. It is a known bug in the make system for firefox https://bugzilla.mozilla.org/show_bug.cgi?id=686097. Some distros fix it up but Archlinux has a policy of focusing on creating binary packages for us, for which purpose they build each package in a "clean chroot".
I got around the problem by using firefox-kde-opensuse from AUR, which does compile properly. (and I appreciate the nicer kde integration). It's one version behind but I can't imagine that matters --- firefox is somewhat buggy no matter how big the version number gets.
Offline
xpcshell is loading its shared libraries from /usr/lib/firefox first.
What the chroot environment do not have that your regular environment have is firefox already installed.
If you want to build firefox without a dev chroot, all you have to do is to uninstalled firefox from your system before attempting to build it yourself.
Offline