clang -fprofile-generate
illoai at gmail.com
illoai at gmail.com
Mon Sep 2 20:15:14 UTC 2013
On 2 September 2013 15:40, Tijl Coosemans <tijl at freebsd.org> wrote:
> Hi,
>
> I was trying to build multimedia/x264 using clang as follows:
> In the Makefile remove USE_GCC=any.
> In option dialog on leave PGO on.
>
> It ends in the following linker error:
>
> cc -o x264 x264.o input/input.o input/timecode.o input/raw.o input/y4m.o output/raw.o output/matroska.o output/matroska_ebml.o output/flv.o output/flv_bytestream.o filters/filters.o filters/video/video.o filters/video/source.o filters/video/internal.o filters/video/resize.o filters/video/cache.o filters/video/fix_vfr_pts.o filters/video/select_every.o filters/video/crop.o filters/video/depth.o input/thread.o libx264.a -m32 -fstack-protector -fstack-protector -L/usr/local/lib -lm -pthread -fprofile-generate
> /usr/bin/ld: /usr/bin/../lib/libprofile_rt.a: No such file: No such file or directory
> cc: error: linker command failed with exit code 1 (use -v to see invocation)
>
> Isn't libprofile_rt.a included with the base system llvm?
-CURRENT or -STABLE?
It seems to only exist here (9.2-RC3 amd64) as
/usr/local/lib/libprofile_rt.a
which is installed by devel/llvm-devel (3.4-something).
--
--
More information about the freebsd-toolchain
mailing list