Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error building 32bit linux #28

Closed
smolleyes opened this issue Dec 18, 2016 · 8 comments
Closed

error building 32bit linux #28

smolleyes opened this issue Dec 18, 2016 · 8 comments

Comments

@smolleyes
Copy link

hello

already had this error ?

python build_ffmpeg.py -c -nw 0.19.2 -ta ia32 -pc

everything fine then

-o obj/third_party/ffmpeg/ffmpeg_internal/hevc_cabac.o -x c ../../third_party/ffmpeg/libavcodec/hevc_cabac.c 
1.	<eof> parser at end of file
2.	Code generation
3.	Running pass 'Function Pass Manager' on module '../../third_party/ffmpeg/libavcodec/hevc_cabac.c'.
4.	Running pass 'Greedy Register Allocator' on function '@ff_hevc_part_mode_decode'
clang: error: unable to execute command: Aborted (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 4.0.0 (trunk 282487)
Target: i386-unknown-linux-gnu
Thread model: posix
InstalledDir: /opt/nwjs_build/build_dir/ffmpeg/nwjs-ffmpeg-prebuilt/build/src/out/nw/../../third_party/llvm-build/Release+Asserts/bin
clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
clang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/hevc_cabac-2b36ca.c
clang: note: diagnostic msg: /tmp/hevc_cabac-2b36ca.sh
clang: note: diagnostic msg: 

********************
[408/448] CC obj/third_party/ffmpeg/ffmpeg_internal/h264qpel.o
ninja: build stopped: subcommand failed.
ERROR: Traceback (most recent call last):
  File "build_ffmpeg.py", line 98, in main
    build(target_cpu)
  File "build_ffmpeg.py", line 409, in build
    subprocess.check_call('ninja -C out/nw ffmpeg', shell=True)
  File "/usr/lib/python2.7/subprocess.py", line 541, in check_call
    raise CalledProcessError(retcode, cmd)
CalledProcessError: Command 'ninja -C out/nw ffmpeg' returned non-zero exit status 1

thanks

@vzamanillo
Copy link
Contributor

Same for me :/

@smolleyes
Copy link
Author

damn :(

something changed in ffmpeg, was working before since you builded it :p

i search for changes in upstream

@smolleyes
Copy link
Author

it works if i use --disable-asm but don t know if it has side-effects :/

@smolleyes
Copy link
Author

main ffmpeg delevloper say:

that looks like a bug in clang 4 rather than FFmpeg, no?
I mean, clang crashed
also llvm+clang 4.0 isn't even stable yet
see: http://llvm.org/
so yes, go provide a bug report to the llvm+clang people
it shouldn't crash

....

@vzamanillo
Copy link
Contributor

You are tenacious, thank you very much!

@smolleyes
Copy link
Author

smolleyes commented Dec 18, 2016

yes... i do it once for all and next time in 3 years lol, still waiting for the account to be able to post in llvm bug tracker...

i tested the videos with the --disable-asm, i don t see any performance issue so... good for me

@vzamanillo
Copy link
Contributor

vzamanillo commented Dec 19, 2016

Confirmed, the build ends with success disabling asm, but seems like is not a good practice, the ffmpeg crew refers to the use of that flag as "in the worst case", I don't know really why, could be related to performance but I cant not find more information about it ...

Anyway, thank you very much!!

@vzamanillo
Copy link
Contributor

Same asm related errors on building for windows x64

../../third_party/ffmpeg/libavcodec/x86/vp8dsp_loopfilter.asm:1584: error: invalid size for operand 1

@iteufel iteufel closed this as completed Jul 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants