This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/42213] New: GCC chkstk clash with Microsoft version
- From: "p dot obry at wanadoo dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Nov 2009 11:53:12 -0000
- Subject: [Bug ada/42213] New: GCC chkstk clash with Microsoft version
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The Win64 version of the libkernel32.a import library defined ___chkstk. This
routine is also defined in i386/cygwin.asm.
The later preserve important registers whereas the Microsoft version probably
does not. Anyway, this has proved to create a breakage into the GNAT compiler.
It seems that this name clash is quite dangerous and should be avoided. A
possible solution would be to rename the GCC version to ___gcc_chkstk. Would
this work?
Before summiting a patch I'd like your input about this. Thanks.
--
Summary: GCC chkstk clash with Microsoft version
Product: gcc
Version: 4.3.4
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ada
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: p dot obry at wanadoo dot fr
GCC host triplet: x86_64-pc-mingw32
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42213