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
* [Bug ada/47163] Failure building target-libada for MingW64
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 ` vityan at vityan dot sytes.net
2011-01-04 7:05 ` laurent at guerby dot net
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: vityan at vityan dot sytes.net @ 2011-01-04 5:17 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47163
--- Comment #1 from Victor K. <vityan at vityan dot sytes.net> 2011-01-04 05:17:03 UTC ---
Forgot to mention about 5-th issue:
Failure to copy adainclude/adalib libraries in MSYS.
Caused by LN_S set to cp -p for MSYS and this command is not suitable to copy
folder to folder(only suitable for files).
To copy folders cp-pr should be used and this is fixed too in the attached
patch.
Affected file: gcc/ada/gcc-interface/Makefile.in
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug ada/47163] Failure building target-libada for MingW64
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
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: laurent at guerby dot net @ 2011-01-04 7:05 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47163
Laurent GUERBY <laurent at guerby dot net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |charlet at gcc dot gnu.org,
| |laurent at guerby dot net
--- Comment #2 from Laurent GUERBY <laurent at guerby dot net> 2011-01-04 07:05:37 UTC ---
Add Ada maintainer in CC.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug ada/47163] Failure building target-libada for MingW64
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
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: ktietz at gcc dot gnu.org @ 2011-04-04 7:33 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47163
--- Comment #3 from Kai Tietz <ktietz at gcc dot gnu.org> 2011-04-04 07:31:16 UTC ---
Author: ktietz
Date: Mon Apr 4 07:31:11 2011
New Revision: 171926
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171926
Log:
2011-04-04 Kai Tietz <ktietz@redhat.com>
PR ada/47163
* s-oscons-tmplt.c (MSG_WAITALL): Define it for native windows
targets to flag value.
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/s-oscons-tmplt.c
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug ada/47163] Failure building target-libada for MingW64
2011-01-04 5:08 [Bug ada/47163] New: Failure building target-libada for MingW64 vityan at vityan dot sytes.net
` (2 preceding siblings ...)
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
5 siblings, 0 replies; 7+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-04-04 7:55 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47163
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.04.04 07:53:22
CC| |ebotcazou at gcc dot
| |gnu.org
Ever Confirmed|0 |1
--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-04-04 07:53:22 UTC ---
Feel free to backport all the fixes to the 4.6 branch if you can test them on
the branch too, this is early enough.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug ada/47163] Failure building target-libada for MingW64
2011-01-04 5:08 [Bug ada/47163] New: Failure building target-libada for MingW64 vityan at vityan dot sytes.net
` (3 preceding siblings ...)
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
5 siblings, 0 replies; 7+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-04-04 18:07 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47163
--- Comment #5 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-04-04 18:06:58 UTC ---
Author: ebotcazou
Date: Mon Apr 4 18:06:55 2011
New Revision: 171943
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171943
Log:
PR ada/47163
* s-oscons-tmplt.c (MSG_WAITALL): Fix thinko in previous change.
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/s-oscons-tmplt.c
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug ada/47163] Failure building target-libada for MingW64
2011-01-04 5:08 [Bug ada/47163] New: Failure building target-libada for MingW64 vityan at vityan dot sytes.net
` (4 preceding siblings ...)
2011-04-04 18:07 ` ebotcazou at gcc dot gnu.org
@ 2013-05-13 20:06 ` ktietz at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: ktietz at gcc dot gnu.org @ 2013-05-13 20:06 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47163
Kai Tietz <ktietz at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |ktietz at gcc dot gnu.org
Resolution|--- |FIXED
--- Comment #6 from Kai Tietz <ktietz at gcc dot gnu.org> ---
The remaining issue about LN -s is also mentioned in PR/52122 report. So I
close this bug as fixed.
^ 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).