This is the mail archive of the gcc-bugs@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]

[Bug ada/42213] New: GCC chkstk clash with Microsoft version


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


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