[Mono-bugs] [Bug 670071] Do not define GC_DLL for GNU compiler

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Feb 8 16:03:16 EST 2011


https://bugzilla.novell.com/show_bug.cgi?id=670071

https://bugzilla.novell.com/show_bug.cgi?id=670071#c2


--- Comment #2 from Hib Eris <hib at hiberis.nl> 2011-02-08 22:03:15 CET ---
(In reply to comment #1)
> This looks OK, but I think it would be better if this won't affect the i386
> build.

The mingw-w64 compiler can compile for both x86 and x64 windows. I actually use
the x86 target, and had to apply the patch to successfully build 32-bit mono.
So I think it is actually correct that this affects the i386 build.

As I wrote, I just copied this patch from the upstream libgc project.
Unfortunately the cvs of libgc
(http://bdwgc.cvs.sourceforge.net/viewvc/bdwgc/bdwgc/) is currently unavailable
due to the recent Sourceforge attack, so I cannot look up their cvs commit.

> If GC_DLL isn't defined, GC_* symbols won't be exported anymore, and there
> might be some folks (Mono embedders) that rely on those symbols.

I do not know much about embedding Mono, but shouldn't they only rely on
symbols that are defined in publicly exposed header files?

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list