[MPlayer-dev-eng] [PATCH v2] configure: Avoid eh_frame bloat in release builds

Gianluigi Tiesi mplayer at netfarm.it
Wed Mar 2 00:49:36 CET 2016


On Sun, Feb 28, 2016 at 02:40:59PM +0100, Reimar Döffinger wrote:
> Could you please provide details?
> I can't reproduce with neither 32 nor 64 bit mingw64 (latest
> Debian version).
> I'd rather avoid special cases especially without being
> able to include an explanation/reproduction examples.

Hi,

linker error:
libmpdemux/demux_rtp.o:demux_rtp.cpp:(.text+0x1985): undefined reference to `__gxx_personality_sj0'
libmpdemux/demux_rtp.o:demux_rtp.cpp:(.text+0x19eb): undefined reference to `_Unwind_SjLj_Register'
libmpdemux/demux_rtp.o:demux_rtp.cpp:(.text+0x1da2): undefined reference to `_Unwind_SjLj_Unregister'
libmpdemux/demux_rtp.o:demux_rtp.cpp:(.text+0x25b2): undefined reference to `_Unwind_SjLj_Resume'

generated asm with -fno-asynchronous-unwind-tables:
demux_open_rtp:
    pushq   %rbp
    pushq   %rdi
    leaq    __gxx_personality_sj0(%rip), %rax
    pushq   %rsi
    subq    $368, %rsp
    movq    %rax, 256(%rsp)
    leaq    .LLSDA5900(%rip), %rax
    movq    %rcx, 400(%rsp)
    movq    %rsp, 288(%rsp)
    movq    %rax, 264(%rsp)
    leaq    368(%rsp), %rax
    movq    %rax, 272(%rsp)
    leaq    .L373(%rip), %rax
    movq    %rax, 280(%rsp)
    leaq    208(%rsp), %rax
    movq    %rax, %rcx
    movq    %rax, 184(%rsp)
    call    _Unwind_SjLj_Register

without -fno-asynchronous-unwind-tables I only see references to:
__gxx_personality_seh0, _Unwind_Resume

gcc version:
x86_64-w64-mingw32-gcc -v
Using built-in specs.
COLLECT_GCC=x86_64-w64-mingw32-gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-w64-mingw32/5.3-win32/lto-wrapper
Target: x86_64-w64-mingw32
Configured with: ../../src/configure --build=x86_64-linux-gnu --prefix=/usr --includedir='/usr/include' --mandir='/usr/share/man' --infodir='/usr/share/info' --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libexecdir='/usr/lib/gcc-mingw-w64' --disable-maintainer-mode --disable-dependency-tracking --prefix=/usr --enable-shared --enable-static --disable-multilib --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --libdir=/usr/lib --enable-libstdcxx-time=yes --with-tune=generic --enable-version-specific-runtime-libs --enable-fully-dynamic-string --enable-libgomp --enable-languages=c,c++,fortran,objc,obj-c++ --enable-lto --with-plugin-ld --enable-threads=win32 --program-suffix=-win32 --program-prefix=x86_64-w64-mingw32- --target=x86_64-w64-mingw32 --with-as=/usr/bin/x86_64-w64-mingw32-as --with-ld=/usr/bin/x86_64-w64-mingw32-ld --disable-libatomic
Thread model: win32
gcc version 5.3.1 20160205 (GCC) 

MinGW-w64 4.0.5 on Debian sid

Attached gcc specs

Tell me if you need more

Regards

-- 
Gianluigi Tiesi <sherpya at netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: specs.txt.gz
Type: application/gzip
Size: 2365 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20160302/769efeb4/attachment.bin>


More information about the MPlayer-dev-eng mailing list