[Bug 762291] New: Cerbero failed (once) to build gnutls with current MinGW

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Feb 18 23:15:38 UTC 2016


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

            Bug ID: 762291
           Summary: Cerbero failed (once) to build gnutls with current
                    MinGW
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Windows
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: cerbero
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: gyunaev at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

This is a weird bug since it did not happen after I repeated the build, so I
would just keep it here in case someone else hits it and could reproduce it.

Basically Cerbero failed to compile gnutls and configure aborted with the
following message:

checking whether <wchar.h> uses 'inline' correctly... no
configure: error: <wchar.h> cannot be used with this compiler.
This is a known interoperability problem of glibc <= 2.5 with gcc >= 4.3 in C99
mode. You have four options:
 - Add the flag -fgnu89-inline to CC and reconfigure, or
 - Fix your include files, using parts of
  
<http://sourceware.org/git/?p=glibc.git;a=commitdiff;=b037a293a48718af30d706c2e18c929d0e69a621>,
or
 - Use a gcc version older than 4.3, or
 - Don't use the flags -std=c99 or -std=gnu99.

I copied this message from
https://lists.freebsd.org/pipermail/freebsd-stable/2013-April/073108.html - the
exact compiler flags were different, but did NOT include -std=c99 nor
-std=gnu99.

After I deleted the windows_x86_64.cache file and restarted the build,
everything was built correctly.

-- 
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