[FFmpeg-trac] #5895(build system:closed): Configure error with GCC 6.2.0 and libsnappy

FFmpeg trac at avcodec.org
Wed Oct 11 07:56:19 EEST 2017


#5895: Configure error with GCC 6.2.0 and libsnappy
-------------------------------------+-------------------------------------
             Reporter:  Zeranoe      |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  important    |                Component:  build
              Version:  git-master   |  system
             Keywords:  regression   |               Resolution:  fixed
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------
Changes (by Zeranoe):

 * status:  open => closed
 * resolution:   => fixed


Comment:

 This was resolved by patching
 libstdc++-v3/config/os/mingw32-w64/os_defines.h in GCC's source.

 {{{
 diff -uprN a/libstdc++-v3/config/os/mingw32-w64/os_defines.h
 b/libstdc++-v3/config/os/mingw32-w64/os_defines.h
 --- a/libstdc++-v3/config/os/mingw32-w64/os_defines.h   2017-01-01
 04:07:43.000000000 -0800
 +++ b/libstdc++-v3/config/os/mingw32-w64/os_defines.h   2017-05-25
 18:47:52.161016148 -0700
 @@ -76,6 +76,7 @@
  #ifdef __x86_64__
  #define _GLIBCXX_LLP64 1
 +#define _GLIBCXX_USE_WEAK_REF 0
  #endif
  // Enable use of GetModuleHandleEx (requires Windows XP/2003) in
 }}}

 Further info [https://github.com/rdp/ffmpeg-windows-build-
 helpers/issues/203#issuecomment-285281419 here]

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5895#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list