Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Feb 2013 11:50:13 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Andrea Venturoli <ml@netfence.it>, gecko@FreeBSD.org
Cc:        ports@freebsd.org
Subject:   Re: Firefox upgrade fails
Message-ID:  <51274D65.3060900@FreeBSD.org>
In-Reply-To: <51260890.6030807@netfence.it>
References:  <51260890.6030807@netfence.it>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2013-02-21 12:44, Andrea Venturoli wrote:
>> # uname -a
>> FreeBSD xxxxxx.xxxxx 9.0-RELEASE-p5 FreeBSD 9.0-RELEASE-p5 #2: Sat Dec  1 14:43:22 CET 2012     root@xxxxxx.xxxxx:/usr/obj/usr/src/sys/XXXXXX  i386
>
>   > portupgrade -R firefox
>   > ...
>> /usr/local/local/storage/alamartmp/usr/ports/www/firefox/work/mozilla-release/obj-i386-portbld-fla-release/config/pythonpath.py -I../../config /usr/local/local/storage/alamartmp/usr/ports/www/mozalloc.so --uselist --  clang++ -Qunused-arguments -isystem/usr/local/include  -Qunused-argumetor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wno-c++0x-ech=athlon-mp -fno-strict-aliasing -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sectfomit-frame-pointer -fPIC -shared -Wl,-z,defs -Wl,-h,libmozalloc.so -o libmozalloc.so  mozalloc.GIN -Wl,-z,noexecstack  -fprofile-generate -Wl,-rpath-link,/usr/local/local/storage/alamartmp/usocal/local/storage/alamartmp/usr/ports/www/firefox/work/fake/lib
>> /usr/bin/ld: /usr/bin/../lib/libprofile_rt.a: No such file: No such file or directory
>> clang++: error: linker command failed with exit code 1 (use -v to see invocation)
>> gmake[5]: *** [libmozalloc.so] Error 1
>   > ...

The commands in your log seem to be strangely corrupted, maybe something
went wrong with saving the log?

In any case, this looks like Firefox is attempting to use profile guided
optimization (via -fprofile-generate, etc), which is currently not
supported.  Try turning it off.

-Dimitry



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51274D65.3060900>