After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 795355 - Fails to build on iOS "stack subl instruction is too different from dwarf stack size"
Fails to build on iOS "stack subl instruction is too different from dwarf sta...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-libav
unspecified
Other Linux
: Normal blocker
: 1.14.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-04-18 11:37 UTC by Sebastian Dröge (slomo)
Modified: 2018-05-04 09:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastian Dröge (slomo) 2018-04-18 11:37:23 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
Comment 1 Sebastian Dröge (slomo) 2018-04-18 11:45:50 UTC
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.
Comment 2 Sebastian Dröge (slomo) 2018-04-18 13:40:13 UTC
Does not help, and it also fails for arm a bit later.
Comment 3 Tim-Philipp Müller 2018-04-27 13:24:13 UTC
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.
Comment 4 Jan Schmidt 2018-05-04 09:25:26 UTC
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