This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/47163] New: Failure building target-libada for MingW64
- From: "vityan at vityan dot sytes.net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 4 Jan 2011 05:08:51 +0000
- Subject: [Bug ada/47163] New: Failure building target-libada for MingW64
- Auto-submitted: auto-generated
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.