[x264-devel] x264 build problem under Mac OS X El Capitan
桃源老師
xanadu6291 at dream.jp
Fri Apr 15 19:57:57 CEST 2016
Hello,
I'm not sure this list is correct place to post my issue. But please let me try...
I got error with building x264 using make fprofiled.
It occurs under Mac OS X El Capitan only. I mean that I have confirmed x264 can be build without error under previous version of Mac OS X, Yosemite and Mavericks.
The error is occurring following line:
/Applications/Xcode.app/Contents/Developer/usr/bin/make CFLAGS="-Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64 -Wall -I. -I. -D_DARWIN_C_SOURCE -mdynamic-no-pic -arch x86_64 -std=gnu99 -D_POSIX_C_SOURCE=200112L -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fprofile-use" LDFLAGS="-m64 -lm -arch x86_64 -lpthread -ldl -fprofile-use"
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64 -Wall -I. -I. -D_DARWIN_C_SOURCE -mdynamic-no-pic -arch x86_64 -std=gnu99 -D_POSIX_C_SOURCE=200112L -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fprofile-use -c -o x264.o x264.c
The error is:
error: Could not read profile default.profdata: No such file or directory
I checked x264 source directory and found there are a file named "default.profraw". This file is created under Mac OS X El Capitan only.
After this error, I can generate the file "default.profdata" using the following command:
$ xcrun llvm-profdata merge -output=default.profdata default.profraw
And I can build x264 successfully by running make fprofiled again.
But in my think, this procedure is irregular. The error should not be occurred. Am I right?
Best Regards,
// Miya aka. TougenRoushi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3577 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20160416/f004edb9/attachment.bin>
More information about the x264-devel
mailing list