[Bug 790396] New: build-tools/m4 broken on macOS 10.13 High Sierra

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Nov 15 18:49:45 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=790396

            Bug ID: 790396
           Summary: build-tools/m4 broken on macOS 10.13 High Sierra
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Mac OS
            Status: NEW
          Severity: major
          Priority: Normal
         Component: cerbero
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: aachkar at miovision.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

There is a known change to printf-family functions in macOS 10.13 High Sierra
that causes unpatched m4 to crash, affecting the build of any recipe that
requires m4.

This bug has been discussed here:
http://lists.gnu.org/archive/html/bug-gnulib/2017-07/msg00056.html

A patch to build-tools/bison was recently added at git master:
https://github.com/GStreamer/cerbero/commit/8cd4cb8eaee7d492d33f8dcc6c97156f5b668e8a

The fix to this bug would be a similar patch being added to the m4 recipe (and
any other source that may have a copy of gnu vasnprintf)


Repro instruction:

checkout git master
./cerbero-uninstalled bootstrap

try to run:
build-tools/bin/m4 --version
Illegal instruction: 4


lldb trace:

lldb build-tools/bin/m4
(lldb) target create "build-tools/bin/m4"
Current executable set to 'build-tools/bin/m4' (x86_64).
(lldb) run --version
Process 55454 launched: 'build-tools/bin/m4' (x86_64)
Process 55454 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_INSTRUCTION
(code=EXC_I386_INVOP, subcode=0x0)
    frame #0: 0x00007fff73aaea23 libsystem_c.dylib`__vfprintf + 16437
libsystem_c.dylib`__vfprintf:
->  0x7fff73aaea23 <+16437>: ud2
    0x7fff73aaea25 <+16439>: nopl   (%rax)
    0x7fff73aaea28 <+16442>: retq
Target 0: (m4) stopped.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list