This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch i386]: PR/39356 name collision of __chkstk


On Tue, Mar 24, 2009 at 2:36 PM, Dave Korn
<dave.korn.cygwin@googlemail.com> wrote:
> Danny Smith wrote:
>> On my builds on 32 bit mingw., ?libgcc_s*.dll does not export symbol's
>> in cygwin.o

err, I meant  _chkstk.o

>> Does it do so on mingw64? ?Why?
>>
<snip reference to Dave's patch:  Sorry Dave.>

The patch which introduced libgcc_s.dll on mingw and cygwin is here:
2008-08-31  Aaron W. LaFramboise

	* mkmap-flat.awk: Add option pe_dll.
	* config/i386/t-cygming (SHLIB_LINK): Support building libgcc_s.
	* config/i386/t-cygwin (SHLIB_LC): Add.
	* config/i386/t-mingw32 (SHLIB_LC): Add.
	* config/i386/mingw32.h (SHARED_LIBGCC_UNDEFS_SPEC): New.
	(SUBTARGET_EXTRA_SPECS): Use SHARED_LIBGCC_UNDEFS_SPEC.
	(LINK_SPEC): Support libgcc_s.
	(LIBGCC_SPEC): Support libgcc_s.
	(LIBGCC_SONAME): New.

mkmap-flat.awk generates the def file for shared libgcc.  It does
*not* put __chkstk into the dll.  How does it get there on your
builds?

Danny


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]