* [Bug ada/29127] gnatchop-gcc: installation problem, executable not found
2006-09-18 12:28 [Bug ada/29127] New: gnatchop-gcc: installation problem, executable not found schwab at suse dot de
@ 2006-09-18 17:21 ` pinskia at gcc dot gnu dot org
2006-09-18 18:12 ` laurent at guerby dot net
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-18 17:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-09-18 17:20 -------
See comment #6 in PR 864, this is a known bug.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|major |normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29127
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug ada/29127] gnatchop-gcc: installation problem, executable not found
2006-09-18 12:28 [Bug ada/29127] New: gnatchop-gcc: installation problem, executable not found schwab at suse dot de
2006-09-18 17:21 ` [Bug ada/29127] " pinskia at gcc dot gnu dot org
@ 2006-09-18 18:12 ` laurent at guerby dot net
2006-09-18 19:29 ` schwab at suse dot de
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: laurent at guerby dot net @ 2006-09-18 18:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from laurent at guerby dot net 2006-09-18 18:12 -------
Hi Andreas, could you try this patch? If this works I'll submit it, if not
please let me know what's the next blocking point.
--- osint.adb.orig 2006-09-18 20:05:30.000000000 +0200
+++ osint.adb 2006-09-18 20:08:33.000000000 +0200
@@ -1027,7 +1027,7 @@
-- This would take the form of TOOL.exe followed by a ";" or "."
-- and a sequence of one or more numbers.
- if Command_Name (Cindex2) in '0' .. '9' then
+ if Hostparm.OpenVMS and Command_Name (Cindex2) in '0' .. '9' then
for J in reverse Cindex1 .. Cindex2 loop
if Command_Name (J) = '.' or Command_Name (J) = ';' then
Cindex2 := J - 1;
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29127
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug ada/29127] gnatchop-gcc: installation problem, executable not found
2006-09-18 12:28 [Bug ada/29127] New: gnatchop-gcc: installation problem, executable not found schwab at suse dot de
2006-09-18 17:21 ` [Bug ada/29127] " pinskia at gcc dot gnu dot org
2006-09-18 18:12 ` laurent at guerby dot net
@ 2006-09-18 19:29 ` schwab at suse dot de
2006-09-18 22:04 ` laurent at guerby dot net
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: schwab at suse dot de @ 2006-09-18 19:29 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from schwab at suse dot de 2006-09-18 19:29 -------
That didn't change anything.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29127
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug ada/29127] gnatchop-gcc: installation problem, executable not found
2006-09-18 12:28 [Bug ada/29127] New: gnatchop-gcc: installation problem, executable not found schwab at suse dot de
` (2 preceding siblings ...)
2006-09-18 19:29 ` schwab at suse dot de
@ 2006-09-18 22:04 ` laurent at guerby dot net
2006-09-19 11:19 ` schwab at suse dot de
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: laurent at guerby dot net @ 2006-09-18 22:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from laurent at guerby dot net 2006-09-18 22:04 -------
(sorry to be guessing, but I don't understand much of what this code is doing.)
Here is another try (probably breaks cross tools, but if it works at least we
know where the problem lies):
--- osint.adb.orig 2006-09-18 20:05:30.000000000 +0200
+++ osint.adb 2006-09-19 00:03:14.000000000 +0200
@@ -1027,7 +1027,7 @@
-- This would take the form of TOOL.exe followed by a ";" or "."
-- and a sequence of one or more numbers.
- if Command_Name (Cindex2) in '0' .. '9' then
+ if Hostparm.OpenVMS and Command_Name (Cindex2) in '0' .. '9' then
for J in reverse Cindex1 .. Cindex2 loop
if Command_Name (J) = '.' or Command_Name (J) = ';' then
Cindex2 := J - 1;
@@ -1831,15 +1831,7 @@
while Name_Len > 0 loop
- -- All done if we find the last hyphen
-
- if Name_Buffer (Name_Len) = '-' then
- exit;
-
- -- If directory separator found, we don't want to look further
- -- since in this case, no prefix has been found.
-
- elsif Is_Directory_Separator (Name_Buffer (Name_Len)) then
+ if Is_Directory_Separator (Name_Buffer (Name_Len)) then
Name_Len := 0;
exit;
end if;
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29127
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug ada/29127] gnatchop-gcc: installation problem, executable not found
2006-09-18 12:28 [Bug ada/29127] New: gnatchop-gcc: installation problem, executable not found schwab at suse dot de
` (3 preceding siblings ...)
2006-09-18 22:04 ` laurent at guerby dot net
@ 2006-09-19 11:19 ` schwab at suse dot de
2008-05-12 22:48 ` charlet at gcc dot gnu dot org
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: schwab at suse dot de @ 2006-09-19 11:19 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from schwab at suse dot de 2006-09-19 11:19 -------
Doesn't change anything either. I don't think this function is ever called
anyway.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29127
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug ada/29127] gnatchop-gcc: installation problem, executable not found
2006-09-18 12:28 [Bug ada/29127] New: gnatchop-gcc: installation problem, executable not found schwab at suse dot de
` (4 preceding siblings ...)
2006-09-19 11:19 ` schwab at suse dot de
@ 2008-05-12 22:48 ` charlet at gcc dot gnu dot org
2008-05-12 23:42 ` charlet at gcc dot gnu dot org
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: charlet at gcc dot gnu dot org @ 2008-05-12 22:48 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from charlet at gcc dot gnu dot org 2008-05-12 22:47 -------
*** Bug 33820 has been marked as a duplicate of this bug. ***
--
charlet at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |Markus dot Elfring at web
| |dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29127
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug ada/29127] gnatchop-gcc: installation problem, executable not found
2006-09-18 12:28 [Bug ada/29127] New: gnatchop-gcc: installation problem, executable not found schwab at suse dot de
` (5 preceding siblings ...)
2008-05-12 22:48 ` charlet at gcc dot gnu dot org
@ 2008-05-12 23:42 ` charlet at gcc dot gnu dot org
2008-05-13 9:40 ` rguenth at gcc dot gnu dot org
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: charlet at gcc dot gnu dot org @ 2008-05-12 23:42 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from charlet at gcc dot gnu dot org 2008-05-12 23:42 -------
Turns out that this PR is the same as PR864
*** This bug has been marked as a duplicate of 864 ***
--
charlet at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29127
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug ada/29127] gnatchop-gcc: installation problem, executable not found
2006-09-18 12:28 [Bug ada/29127] New: gnatchop-gcc: installation problem, executable not found schwab at suse dot de
` (6 preceding siblings ...)
2008-05-12 23:42 ` charlet at gcc dot gnu dot org
@ 2008-05-13 9:40 ` rguenth at gcc dot gnu dot org
2008-05-13 13:25 ` charlet at gcc dot gnu dot org
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-05-13 9:40 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from rguenth at gcc dot gnu dot org 2008-05-13 09:39 -------
It's not the same. This is the problem that surfaces if you fix PR864.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|DUPLICATE |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29127
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug ada/29127] gnatchop-gcc: installation problem, executable not found
2006-09-18 12:28 [Bug ada/29127] New: gnatchop-gcc: installation problem, executable not found schwab at suse dot de
` (7 preceding siblings ...)
2008-05-13 9:40 ` rguenth at gcc dot gnu dot org
@ 2008-05-13 13:25 ` charlet at gcc dot gnu dot org
2008-05-13 13:37 ` rguenther at suse dot de
2008-05-13 13:40 ` charlet at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: charlet at gcc dot gnu dot org @ 2008-05-13 13:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from charlet at gcc dot gnu dot org 2008-05-13 13:24 -------
I'm sorry, but I have an experimental patch (still needs some refining) fixing
PR864 which does also fix this PR, so I do not understand your comment, could
you
please elaborate ?
Arno
--
charlet at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29127
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug ada/29127] gnatchop-gcc: installation problem, executable not found
2006-09-18 12:28 [Bug ada/29127] New: gnatchop-gcc: installation problem, executable not found schwab at suse dot de
` (8 preceding siblings ...)
2008-05-13 13:25 ` charlet at gcc dot gnu dot org
@ 2008-05-13 13:37 ` rguenther at suse dot de
2008-05-13 13:40 ` charlet at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: rguenther at suse dot de @ 2008-05-13 13:37 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from rguenther at suse dot de 2008-05-13 13:36 -------
Subject: Re: gnatchop-gcc: installation problem, executable
not found
On Tue, 13 May 2008, charlet at gcc dot gnu dot org wrote:
> ------- Comment #9 from charlet at gcc dot gnu dot org 2008-05-13 13:24 -------
> I'm sorry, but I have an experimental patch (still needs some refining) fixing
> PR864 which does also fix this PR, so I do not understand your comment, could
> you
> please elaborate ?
Most distributions have local patches that apply --program-suffix (and
similar configure switches) also to Ada executables (this is PR864).
If you do so and use for example '-4.3' as suffix you will hit
this (PR29127) PR because the Ada driver now thinks that binaries
with '-' contained are cross-compiling. See also PR33857 for a
symptom of that.
It would be really nice if the Ada driver would finally cope with
being suffixed with the gcc version number.
Richard.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29127
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug ada/29127] gnatchop-gcc: installation problem, executable not found
2006-09-18 12:28 [Bug ada/29127] New: gnatchop-gcc: installation problem, executable not found schwab at suse dot de
` (9 preceding siblings ...)
2008-05-13 13:37 ` rguenther at suse dot de
@ 2008-05-13 13:40 ` charlet at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: charlet at gcc dot gnu dot org @ 2008-05-13 13:40 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from charlet at gcc dot gnu dot org 2008-05-13 13:39 -------
Right, as I said, this is exactly PR864 for which I have an experimental
patch which needs small refinements.
Arno
*** This bug has been marked as a duplicate of 864 ***
--
charlet at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29127
^ permalink raw reply [flat|nested] 12+ messages in thread