Erik van Pienbroek schreef op do 23-05-2013 om 23:29 [+0200]:
> Hi,
> 
> During review of one of our Fedora packages we noticed an unexpected
> change in behavior in recent mingw-w64 trunk snapshots. We noticed that
> several libraries which were built against recent mingw-w64 trunk
> snapshots suddenly started to export the symbols
> _InterlockedCompareExchange and InterlockedCompareExchange@12 in their
> shared libraries. 

Here's a really minimal testcase which demonstrates the problem:

$ touch foo.c
$ i686-w64-mingw32-gcc -shared foo.c -o foo.dll -Wl,--export-all-symbols
$ i686-w64-mingw32-objdump -p foo.dll
<snip>
[Ordinal/Name Pointer] Table
        [   0] InterlockedCompareExchange@12
        [   1] _InterlockedCompareExchange
<snip>

So even when an empty library is built it will export the two
InterlockedCompareExchange symbols..




------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to