GNOME Bugzilla – Bug 795355
Fails to build on iOS "stack subl instruction is too different from dwarf stack size"
Last modified: 2018-05-04 09:25:26 UTC
/macminicustomer/jenkins/workspace/cerbero-ios-universal-7.1/workdir/dist/ios_universal/lib/libz.dylib /Users/macminicustomer/jenkins/workspace/cerbero-ios-universal-7.1/workdir/dist/ios_universal/lib/libbz2.dylib -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk -mios-simulator-version-min=8.0 -g -Os -Wl,-read_only_relocs -Wl,suppress -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk -mios-simulator-version-min=8.0 -Wl,-ios_simulator_version_min -Wl,8.0 -Wl,-undefined -Wl,error -Wl,-headerpad_max_install_names -Wl,-framework -Wl,CoreFoundation -Wl,-framework -Wl,CoreFoundation -Wl,-exported_symbols_list,.libs/libgstlibav-symbols.expsym 11:35:06 ld: warning: could not create compact unwind for _av_log_format_line: stack subl instruction is too different from dwarf stack size 11:35:06 ld: warning: could not create compact unwind for _av_log_format_line2: stack subl instruction is too different from dwarf stack size 11:35:06 ld: warning: could not create compact unwind for _av_log_default_callback: stack subl instruction is too different from dwarf stack size 11:35:06 ld: warning: could not create compact unwind for _read_header: stack subl instruction is too different from dwarf stack size 11:35:06 ld: warning: could not create compact unwind for _h264_probe: stack subl instruction is too different from dwarf stack size 11:35:06 ld: warning: could not create compact unwind for _hls_write_header: stack subl instruction is too different from dwarf stack size
commit 81175eeb5ae1e0281f0d7591702160a67cda43f7 (HEAD -> master, origin/master, origin/HEAD) Author: Sebastian Dröge <sebastian@centricular.com> Date: Wed Apr 18 14:44:57 2018 +0300 Try to fix iOS build by disabling assembly on x86 https://bugzilla.gnome.org/show_bug.cgi?id=795355 Maybe this is also fixed by -mincoming-stack-boundary=4, like on Android. Needs someone to test.
Does not help, and it also fails for arm a bit later.
Jan was looking at this the other day. I think the linker thing is a red herring, it's only a warning. The real problem si the arm asm it fails on later IIRC.
Fixed in gst-libav by getting it to use gas-preprocessor. I think it was auto-detecting before but something in clang now make it think it doesn't need it. commit 7f11e32e8bea2643336941400784b647717e1f5a Author: Jan Schmidt <jan@centricular.com> Date: Sat Apr 28 00:14:45 2018 +1000 configure: fix handling of the input AS var passed to ffmpeg Store the original AS environment variable passed to configure correctly, and export it so it's actually available to the sub-process when configuring the embedded ffmpeg