public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/47163] New: Failure building target-libada for MingW64
@ 2011-01-04  5:08 vityan at vityan dot sytes.net
  2011-01-04  5:17 ` [Bug ada/47163] " vityan at vityan dot sytes.net
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: vityan at vityan dot sytes.net @ 2011-01-04  5:08 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47163

           Summary: Failure building target-libada for MingW64
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: vityan@vityan.sytes.net
              Host: x86_64-w64-mingw32
            Target: x86_64-w64-mingw32,i686-w64-mingw32
             Build: i686-pc-mingw32(msys)


Created attachment 22892
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22892
libada patch for MingW64 target

libada fails to build for MingW64 target.

I gonna touch 4 issues in this report.

1) Ada doesn't include winsock2.h leaving MSG_WAITALL undefined.
Affected file: gcc/ada/s-oscons-tmplt.c
2) PERSONALITY_FUNCTION doesnt have declaration(Cosmetic improvement -
Predeclaration exists for PERSONALITY functions of libgcc and libstdc++).
Affected file: gcc/ada/raise-gcc.c
3) Linked PE+(X64) static libada.a is not functional then exceptions are
needed(Undefined GNAT PERSONALITY symbol) due to incorrect exception handling
mechanism selected for x86_64-w64-mingw32 target.
Affected file: gcc/ada/gcc-interface/Makefile.in
4) Failure to link shared libada.dll for alternative target in multilib
configuration because arch-flag(-m32/-m64) is not passed to the linker(But
passed to compiler while building object files)
Affected file: gcc/ada/gcc-interface/Makefile.in


My patch to those 4 issues is attached.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-05-13 20:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-04  5:08 [Bug ada/47163] New: Failure building target-libada for MingW64 vityan at vityan dot sytes.net
2011-01-04  5:17 ` [Bug ada/47163] " vityan at vityan dot sytes.net
2011-01-04  7:05 ` laurent at guerby dot net
2011-04-04  7:33 ` ktietz at gcc dot gnu.org
2011-04-04  7:55 ` ebotcazou at gcc dot gnu.org
2011-04-04 18:07 ` ebotcazou at gcc dot gnu.org
2013-05-13 20:06 ` ktietz at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).