FFmpeg Intel icl compile (configure) issue
Hello, I know officially newer icl compilers are not supported but is there a way to make latest icl (2016.2) work? here is the config.log; http://pastebin.com/3HWB0EnV <http://pastebin.com/3HWB0EnV> Thank you Regards, Emre Beşirik nomercy@gmail.com
Emre Besirik <nomercy <at> gmail.com> writes:
I know officially newer icl compilers are not supported
Why do you think so? Please post your configure line here on the mailing list, if you have a problem, also show the tail of config.log (here) und please use an as-simple-as-possible configure line as a start. Carl Eugen
Thank you for your answer, The pastebin link I sent on my first mail is the full config.log file which also includes configure line at the begining. for convinience here is the configure line; ./configure --toolchain=icl --disable-static --enable-shared --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmfx --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib --enable-dxva2 --enable-hwaccel=h263_dxva2 --enable-hwaccel=h264_dxva2 --enable-hwaccel=mpeg2_dxva2 --enable-hwaccel=mpeg4_dxva2 --enable-hwaccel=vc1_dxva2 --enable-hwaccel=wmv3_dxva2 the only difference from official windows build is toolchain is icl and added hwaccell parts. it fails on configure test compiles (where it says that it fail to create tmp file). Regards, Emre Beşirik nomercy@gmail.com
On 04 Mar 2016, at 12:12, Carl Eugen Hoyos <cehoyos@ag.or.at> wrote:
Emre Besirik <nomercy <at> gmail.com> writes:
I know officially newer icl compilers are not supported
Why do you think so?
Please post your configure line here on the mailing list, if you have a problem, also show the tail of config.log (here) und please use an as-simple-as-possible configure line as a start.
Carl Eugen
_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Emre Besirik <nomercy <at> gmail.com> writes:
for convinience here is the configure line;
./configure --toolchain=icl
Please test with "./configure --toolchain=icl" If it does not work, please post the tail of config.log here on the mailing list, please do not use external resources (except for providing media files), they may disappear while others may be interested in your issue. Please do not top-post here, it is considered rude. Carl Eugen
On 04 Mar 2016, at 12:54, Carl Eugen Hoyos <cehoyos@ag.or.at> wrote:
Emre Besirik <nomercy <at> gmail.com> writes:
for convinience here is the configure line;
./configure --toolchain=icl
Please test with "./configure --toolchain=icl" If it does not work, please post the tail of config.log here on the mailing list, please do not use external resources (except for providing media files), they may disappear while others may be interested in your issue.
Please do not top-post here, it is considered rude.
Carl Eugen
_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
I don’t understand why it is considered rude, but ok. Here is the tail of ./configure —toolchain=icl mktemp -u XXXXXX qsyHi5 check_ld cc check_cc BEGIN ./ffconf.Rq9eBKU3.c 1 int main(void){ return 0; } END ./ffconf.Rq9eBKU3.c icl -nologo -Qdiag-error:4044,10157 -D_USE_MATH_DEFINES -Qms0 -Qvec- -Qsimd- -GS -fp:precise -c -Fo./ffconf.z4HBGn3q.o ./ffconf.Rq9eBKU3.c ffconf.Rq9eBKU3.c ": internal error: Fatal Error: Can not create tmp file compilation aborted for ./ffconf.Rq9eBKU3.c (code 4) C compiler test failed. I’m not sure if I mentioned but this is running on windows msys2 btw. Regards, Emre Beşirik nomercy@gmail.com
Emre Besirik <nomercy <at> gmail.com> writes:
Please do not top-post here, it is considered rude.
I don’t understand why it is considered rude,
Mostly because you are expected to have read https://ffmpeg.org/contact.html before asking for help here. Please also slightly cut your quotes.
Here is the tail of ./configure —toolchain=icl
mktemp -u XXXXXX qsyHi5 check_ld cc check_cc BEGIN ./ffconf.Rq9eBKU3.c 1 int main(void){ return 0; } END ./ffconf.Rq9eBKU3.c icl -nologo -Qdiag-error:4044,10157 -D_USE_MATH_DEFINES -Qms0 -Qvec- -Qsimd- -GS -fp:precise -c -Fo./ffconf.z4HBGn3q.o ./ffconf.Rq9eBKU3.c ffconf.Rq9eBKU3.c ": internal error: Fatal Error: Can not create tmp file
Did you try to create a file "test.c" with content "int i;" and compile it with "icl -c test.c"? If you get the same error message, you have to fix this first: Google seems to suggest that "/tmp" has to be available but I may have misread... Carl Eugen
On 04 Mar 2016, at 13:32, Carl Eugen Hoyos <cehoyos@ag.or.at> wrote: Mostly because you are expected to have read https://ffmpeg.org/contact.html before asking for help here.
Please also slightly cut your quotes.
Ok
Did you try to create a file "test.c" with content "int i;" and compile it with "icl -c test.c"?
it compiled without any errors
If you get the same error message, you have to fix this first: Google seems to suggest that "/tmp" has to be available but I may have misread… “/tmp” exists and writeable
Regards/Saygilar, Emre Beşirik nomercy@gmail.com
Emre Besirik <nomercy <at> gmail.com> writes:
Did you try to create a file "test.c" with content "int i;" and compile it with "icl -c test.c"?
it compiled without any errors
Then please make test.c "int main(void){ return 0; }" and try with "icl test.c" It is necessary to find out why / how the error message you see in config.log happens. Carl Eugen
On Fri, Mar 4, 2016 at 2:44 PM, Carl Eugen Hoyos <cehoyos@ag.or.at> wrote:
Then please make test.c "int main(void){ return 0; }" and try with "icl test.c"
It is necessary to find out why / how the error message you see in config.log happens.
it also compiled without any errors. I'm trying these on 64bit environment btw.
On Fri, Mar 4, 2016 at 2:55 PM, NoMercy <nomercy@gmail.com> wrote:
On Fri, Mar 4, 2016 at 2:44 PM, Carl Eugen Hoyos <cehoyos@ag.or.at> wrote:
Then please make test.c "int main(void){ return 0; }" and try with "icl test.c"
It is necessary to find out why / how the error message you see in config.log happens.
it also compiled without any errors. I'm trying these on 64bit environment btw.
maybe the problem is in the linker? (tried on 32 bit too with same results)
NoMercy <nomercy <at> gmail.com> writes:
On Fri, Mar 4, 2016 at 2:44 PM, Carl Eugen Hoyos wrote:
Then please make test.c "int main(void){ return 0; }" and try with "icl test.c"
It is necessary to find out why / how the error message you see in config.log happens.
it also compiled without any errors.
Then please try (one line, with the same test.c file): icl -nologo -Qdiag-error:4044,10157 -D_USE_MATH_DEFINES -Qms0 -Qvec- -Qsimd- -GS -fp:precise -c -Fo./test.o ./test.c Carl Eugen
On Fri, Mar 4, 2016 at 4:22 PM, Carl Eugen Hoyos <cehoyos@ag.or.at> wrote:
it also compiled without any errors.
Then please try (one line, with the same test.c file): icl -nologo -Qdiag-error:4044,10157 -D_USE_MATH_DEFINES -Qms0 -Qvec- -Qsimd- -GS -fp:precise -c -Fo./test.o ./test.c
still no errors :(
NoMercy <nomercy <at> gmail.com> writes:
Then please try (one line, with the same test.c file): icl -nologo -Qdiag-error:4044,10157 -D_USE_MATH_DEFINES -Qms0 -Qvec- -Qsimd- -GS -fp:precise -c -Fo./test.o ./test.c
still no errors :(
My next suggestion is to test the following (one line): /bin/sh -c "icl -nologo -Qdiag-error:4044,10157 -D_USE_MATH_DEFINES -Qms0 -Qvec- -Qsimd- -GS -fp:precise -c -Fo./test.o ./test.c" Or there is a variable set in the configure script that is bad for icl but I am not sure which it could be: The script sets TMPDIR to "." to be on the safe side... Carl Eugen
On Fri, Mar 4, 2016 at 11:42 PM, Carl Eugen Hoyos <cehoyos@ag.or.at> wrote:
NoMercy <nomercy <at> gmail.com> writes:
Then please try (one line, with the same test.c file): icl -nologo -Qdiag-error:4044,10157 -D_USE_MATH_DEFINES -Qms0 -Qvec- -Qsimd- -GS -fp:precise -c -Fo./test.o ./test.c
still no errors :(
My next suggestion is to test the following (one line): /bin/sh -c "icl -nologo -Qdiag-error:4044,10157 -D_USE_MATH_DEFINES -Qms0 -Qvec- -Qsimd- -GS -fp:precise -c -Fo./test.o ./test.c"
Or there is a variable set in the configure script that is bad for icl but I am not sure which it could be: The script sets TMPDIR to "." to be on the safe side...
sorry for late response. still no errors. I think it is something in configure script that icl do not like as you suggested... Regards, Emre
NoMercy <nomercy <at> gmail.com> writes:
My next suggestion is to test the following (one line): /bin/sh -c "icl -nologo -Qdiag-error:4044,10157 -D_USE_MATH_DEFINES -Qms0 -Qvec- -Qsimd- -GS -fp:precise -c -Fo./test.o ./test.c"
still no errors.
There should be an icl option for verbose mode, you can either patch configure to use it or pass it as part of the --cc option to configure. Carl Eugen
Has anyone solved this issue already??? I´m having the EXACT same issue... I´m trying to compile ffmpeg 3.1.2 (Also tried with 2.3.3) with ICL 2014 and it does not work... It must be something from MSYS2 environment... If I compile it under MSYS 1.0 environment it works fine (And I´ve been using it for years). But now I need MSYS2 environment because I need to use Intel Quick Sync and use the library libmfx, but I can´t make it worn under MSYS1 because it says pkg-config could not locate libmfx... So.. a dilema... ICL won´t work on MSYS2 and under MSYS1 I can´t use libmfx... -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/FFmpeg-Intel-icl-compile-configure-... Sent from the FFmpeg-users mailing list archive at Nabble.com.
Le nonidi 9 fructidor, an CCXXIV, primarypower a écrit :
I´m having the EXACT same issue...
MSYS1 because it says pkg-config could not locate libmfx...
So absolutely not the same issue as "internal error: Fatal Error: Can not create tmp file". Just make sure pkg-config can find libmfx. If you do not manage that, start your own thread following the bug-reporting guidelines. Regards, -- Nicolas George
It is the absolute same issue when using MSYS2, please read my post again... The other user was using MSYS2 as well... In MSYS1 I´m able to compile properly... but cannot compile with libmfx that is why I´m trying to use MSYS2 where I can use libmfx... So.. it is the same issue, even the log messages he posted are equal.. the compiler cannot create tmp file Anyway... I´m posting again because I fixed the issue in MSYS2... Basically before calling ./configure we have to UNSET temp and tmp variables (Dunno which one of those affects the compiler, but I removed both), and then ICL will be able to create the temporary files properly unset temp unset tmp All lowercase in my case, there is a TEMP and TMP variables (uppercase) defined.. but that is fine... Also, just need to make sure that link points to the proper linker (In my case MSVC) instead of GCC linker So now I was able to properly compile using ICL and MSYS2 -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/FFmpeg-Intel-icl-compile-configure-... Sent from the FFmpeg-users mailing list archive at Nabble.com.
participants (5)
-
Carl Eugen Hoyos -
Emre Besirik -
Nicolas George -
NoMercy -
primarypower