public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/8898] [Ada] cannot link with tasks and pragma Linker_Options ("-Wl,--stack=0x80000");
[not found] <20021211010601.8898.n.brunot@cadwin.com>
@ 2003-05-27 18:21 ` fw@gcc.gnu.org
2003-06-02 8:16 ` n.brunot@cadwin.com
` (7 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: fw@gcc.gnu.org @ 2003-05-27 18:21 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8898
fw@gcc.gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|major |minor
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2003-05-27 18:06:30
date| |
------- Additional Comments From fw@gcc.gnu.org 2003-05-27 18:06 -------
Can you you provide "gnatlink -v -v" output? It would be nice to have
the actual linker invocation, to see what's really going on.
As a workaround, you could specify the linker options on the gnatmake
command line, using the "-largs" option.
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug ada/8898] [Ada] cannot link with tasks and pragma Linker_Options ("-Wl,--stack=0x80000");
[not found] <20021211010601.8898.n.brunot@cadwin.com>
2003-05-27 18:21 ` [Bug ada/8898] [Ada] cannot link with tasks and pragma Linker_Options ("-Wl,--stack=0x80000"); fw@gcc.gnu.org
@ 2003-06-02 8:16 ` n.brunot@cadwin.com
2003-06-02 10:04 ` dannysmith@clear.net.nz
` (6 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: n.brunot@cadwin.com @ 2003-06-02 8:16 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8898
------- Additional Comments From n.brunot@cadwin.com 2003-06-02 08:16 -------
Subject: RE: [Ada] cannot link with tasks and pragma Linker
_Options ("-Wl,--stack=0x80000");
Hello
>As a workaround, you could specify the linker options on the gnatmake
>command line, using the "-largs" option.
This doesn't help.
The same problem occurs.
I put the pragma linker_options in the sample code to simplify the command
line.
>Can you you provide "gnatlink -v -v" output? It would be nice to have
>the actual linker invocation, to see what's really going on.
The problem occurs on every gcc 3.3 or 3.4 for Mingw I tried.
You can try with current HEAD
You can also use the experimental gnatgcc-3.3-exp-20021006 available at
http://prdownloads.sf.net/mingw
It gives
[c:\work.gnat]gnatlink -v -v cadwinfm.ali
GNATLINK 3.3 20021223 (mingw prerelease) Copyright 1996-2002 Free Software
Foundation, Inc.
-----Message d'origine-----
De: fw@gcc.gnu.org
A: n.brunot@cadwin.com
Date: 27/05/2003 20:06
Objet: [Bug ada/8898] [Ada] cannot link with tasks and pragma Linker_Options
("-Wl,--stack=0x80000");
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT*
gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8898
fw@gcc.gnu.org changed:
What |Removed |Added
------------------------------------------------------------------------
----
Severity|major |minor
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2003-05-27 18:06:30
date| |
------- Additional Comments From fw@gcc.gnu.org 2003-05-27 18:06
-------
Can you you provide "gnatlink -v -v" output? It would be nice to have
the actual linker invocation, to see what's really going on.
As a workaround, you could specify the linker options on the gnatmake
command line, using the "-largs" option.
------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug ada/8898] [Ada] cannot link with tasks and pragma Linker_Options ("-Wl,--stack=0x80000");
[not found] <20021211010601.8898.n.brunot@cadwin.com>
2003-05-27 18:21 ` [Bug ada/8898] [Ada] cannot link with tasks and pragma Linker_Options ("-Wl,--stack=0x80000"); fw@gcc.gnu.org
2003-06-02 8:16 ` n.brunot@cadwin.com
@ 2003-06-02 10:04 ` dannysmith@clear.net.nz
2003-06-25 21:39 ` bosch at gcc dot gnu dot org
` (5 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: dannysmith@clear.net.nz @ 2003-06-02 10:04 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8898
------- Additional Comments From dannysmith@clear.net.nz 2003-06-02 10:04 -------
Replacing pragma Linker_Options line with
pragma Link_With ("-Xlinker --stack=0x80000");
the testcase compiles with gcc-3.3 (release) mingw build.
Danny
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug ada/8898] [Ada] cannot link with tasks and pragma Linker_Options ("-Wl,--stack=0x80000");
[not found] <20021211010601.8898.n.brunot@cadwin.com>
` (2 preceding siblings ...)
2003-06-02 10:04 ` dannysmith@clear.net.nz
@ 2003-06-25 21:39 ` bosch at gcc dot gnu dot org
2003-08-24 18:25 ` dhazeghi at yahoo dot com
` (4 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: bosch at gcc dot gnu dot org @ 2003-06-25 21:39 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8898
bosch at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug ada/8898] [Ada] cannot link with tasks and pragma Linker_Options ("-Wl,--stack=0x80000");
[not found] <20021211010601.8898.n.brunot@cadwin.com>
` (3 preceding siblings ...)
2003-06-25 21:39 ` bosch at gcc dot gnu dot org
@ 2003-08-24 18:25 ` dhazeghi at yahoo dot com
2003-08-27 4:45 ` dannysmith at gcc dot gnu dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-08-24 18:25 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8898
dhazeghi at yahoo dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dannysmith at clear dot net
| |dot nz
GCC target triplet| |*-mingw32
------- Additional Comments From dhazeghi at yahoo dot com 2003-08-24 18:25 -------
Can someone please state what the status of this bug is? Is it fixed, or still present? Thanks.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug ada/8898] [Ada] cannot link with tasks and pragma Linker_Options ("-Wl,--stack=0x80000");
[not found] <20021211010601.8898.n.brunot@cadwin.com>
` (4 preceding siblings ...)
2003-08-24 18:25 ` dhazeghi at yahoo dot com
@ 2003-08-27 4:45 ` dannysmith at gcc dot gnu dot org
2003-09-28 22:04 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: dannysmith at gcc dot gnu dot org @ 2003-08-27 4:45 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8898
------- Additional Comments From dannysmith at gcc dot gnu dot org 2003-08-27 04:45 -------
The bug is still present on gcc version 3.4 20030825 (experimental) with mingw32
This patch _avoids_ the bug but I suspect it is not really the correct fix:
Danny
Index: gcc/gcc/ada/5wsystem.ads
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ada/5wsystem.ads,v
retrieving revision 1.4
diff -c -3 -p -r1.4 5wsystem.ads
*** gcc/gcc/ada/5wsystem.ads 23 Oct 2002 07:33:20 -0000 1.4
--- gcc/gcc/ada/5wsystem.ads 19 Aug 2003 08:06:01 -0000
*************** private
*** 187,193 ****
Interrupt_Priority => 15);
! pragma Linker_Options ("-Wl,--stack=0x2000000");
-- This is used to change the default stack (32 MB) size for non tasking
-- programs. We change this value for GNAT on Windows here because the
-- binutils on this platform have switched to a too low value for Ada
--- 187,193 ----
Interrupt_Priority => 15);
! pragma Link_With ("-Xlinker --stack=0x2000000");
-- This is used to change the default stack (32 MB) size for non tasking
-- programs. We change this value for GNAT on Windows here because the
-- binutils on this platform have switched to a too low value for Ada
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug ada/8898] [Ada] cannot link with tasks and pragma Linker_Options ("-Wl,--stack=0x80000");
[not found] <20021211010601.8898.n.brunot@cadwin.com>
` (5 preceding siblings ...)
2003-08-27 4:45 ` dannysmith at gcc dot gnu dot org
@ 2003-09-28 22:04 ` pinskia at gcc dot gnu dot org
2003-10-21 14:12 ` charlet at gcc dot gnu dot org
2003-10-27 17:14 ` n dot brunot at cadwin dot com
8 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-09-28 22:04 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8898
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
Last reconfirmed|2003-05-27 18:06:30 |2003-09-28 21:29:43
date| |
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-09-28 21:29 -------
Danny say this still exists on the mainline (there is even a workaround in this bug now).
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug ada/8898] [Ada] cannot link with tasks and pragma Linker_Options ("-Wl,--stack=0x80000");
[not found] <20021211010601.8898.n.brunot@cadwin.com>
` (6 preceding siblings ...)
2003-09-28 22:04 ` pinskia at gcc dot gnu dot org
@ 2003-10-21 14:12 ` charlet at gcc dot gnu dot org
2003-10-27 17:14 ` n dot brunot at cadwin dot com
8 siblings, 0 replies; 9+ messages in thread
From: charlet at gcc dot gnu dot org @ 2003-10-21 14:12 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8898
charlet at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From charlet at gcc dot gnu dot org 2003-10-21 14:09 -------
If there's still a bug, it is in mingw, not in GNAT or GCC (I used
a combination of multiple -wl,--stack option under windows with
no trouble), so I am closing this PR.
Arno
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug ada/8898] [Ada] cannot link with tasks and pragma Linker_Options ("-Wl,--stack=0x80000");
[not found] <20021211010601.8898.n.brunot@cadwin.com>
` (7 preceding siblings ...)
2003-10-21 14:12 ` charlet at gcc dot gnu dot org
@ 2003-10-27 17:14 ` n dot brunot at cadwin dot com
8 siblings, 0 replies; 9+ messages in thread
From: n dot brunot at cadwin dot com @ 2003-10-27 17:14 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8898
------- Additional Comments From n dot brunot at cadwin dot com 2003-10-27 16:33 -------
Subject: RE: [Ada] cannot link with tasks and pragma Linker_Options ("-Wl,--stack=0x80000");
This is not surprising there is no trouble, because a patch was applied, to
prevent crash at compile time.
Actually, there is no crash, but given option has no effect, so the problem
is still there.
The author of the patch didn't close the PR
See comment #5 from Danny Smith
I heard once that the problem could be due to the way Gnat handle the order
of options.
Anybody knows what is the correct explanation, and where is the problem,
GCC, GNAT or MinGW ?
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2003-10-27 16:33 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20021211010601.8898.n.brunot@cadwin.com>
2003-05-27 18:21 ` [Bug ada/8898] [Ada] cannot link with tasks and pragma Linker_Options ("-Wl,--stack=0x80000"); fw@gcc.gnu.org
2003-06-02 8:16 ` n.brunot@cadwin.com
2003-06-02 10:04 ` dannysmith@clear.net.nz
2003-06-25 21:39 ` bosch at gcc dot gnu dot org
2003-08-24 18:25 ` dhazeghi at yahoo dot com
2003-08-27 4:45 ` dannysmith at gcc dot gnu dot org
2003-09-28 22:04 ` pinskia at gcc dot gnu dot org
2003-10-21 14:12 ` charlet at gcc dot gnu dot org
2003-10-27 17:14 ` n dot brunot at cadwin dot com
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).