public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/14435] gnatchop cannot use the compiled compiler in Ada's testsuite because of changed GCC_EXEC_PREFIX semantics
       [not found] <bug-14435-682@http.gcc.gnu.org/bugzilla/>
@ 2006-01-22 14:47 ` hjl at lucon dot org
  2006-01-24 13:43 ` hjl at lucon dot org
                   ` (23 subsequent siblings)
  24 siblings, 0 replies; 25+ messages in thread
From: hjl at lucon dot org @ 2006-01-22 14:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from hjl at lucon dot org  2006-01-22 14:47 -------
*** Bug 25898 has been marked as a duplicate of this bug. ***


-- 

hjl at lucon dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org


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


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

* [Bug ada/14435] gnatchop cannot use the compiled compiler in Ada's testsuite because of changed GCC_EXEC_PREFIX semantics
       [not found] <bug-14435-682@http.gcc.gnu.org/bugzilla/>
  2006-01-22 14:47 ` [Bug ada/14435] gnatchop cannot use the compiled compiler in Ada's testsuite because of changed GCC_EXEC_PREFIX semantics hjl at lucon dot org
@ 2006-01-24 13:43 ` hjl at lucon dot org
  2006-01-24 14:10 ` hjl at lucon dot org
                   ` (22 subsequent siblings)
  24 siblings, 0 replies; 25+ messages in thread
From: hjl at lucon dot org @ 2006-01-24 13:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from hjl at lucon dot org  2006-01-24 13:43 -------
*** Bug 25898 has been marked as a duplicate of this bug. ***


-- 


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


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

* [Bug ada/14435] gnatchop cannot use the compiled compiler in Ada's testsuite because of changed GCC_EXEC_PREFIX semantics
       [not found] <bug-14435-682@http.gcc.gnu.org/bugzilla/>
  2006-01-22 14:47 ` [Bug ada/14435] gnatchop cannot use the compiled compiler in Ada's testsuite because of changed GCC_EXEC_PREFIX semantics hjl at lucon dot org
  2006-01-24 13:43 ` hjl at lucon dot org
@ 2006-01-24 14:10 ` hjl at lucon dot org
  2006-01-24 14:10 ` hjl at lucon dot org
                   ` (21 subsequent siblings)
  24 siblings, 0 replies; 25+ messages in thread
From: hjl at lucon dot org @ 2006-01-24 14:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from hjl at lucon dot org  2006-01-24 14:10 -------
*** Bug 25898 has been marked as a duplicate of this bug. ***


-- 


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


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

* [Bug ada/14435] gnatchop cannot use the compiled compiler in Ada's testsuite because of changed GCC_EXEC_PREFIX semantics
       [not found] <bug-14435-682@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2006-01-24 14:10 ` hjl at lucon dot org
@ 2006-01-24 14:10 ` hjl at lucon dot org
  2006-01-24 14:12 ` [Bug ada/14435] [4.2 Regression] " pinskia at gcc dot gnu dot org
                   ` (20 subsequent siblings)
  24 siblings, 0 replies; 25+ messages in thread
From: hjl at lucon dot org @ 2006-01-24 14:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from hjl at lucon dot org  2006-01-24 14:10 -------
Reopen it since it is seen again.


-- 

hjl at lucon dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WONTFIX                     |


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


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

* [Bug ada/14435] [4.2 Regression] gnatchop cannot use the compiled compiler in Ada's testsuite because of changed GCC_EXEC_PREFIX semantics
       [not found] <bug-14435-682@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2006-01-24 14:10 ` hjl at lucon dot org
@ 2006-01-24 14:12 ` pinskia at gcc dot gnu dot org
  2006-01-25 16:56 ` hjl at lucon dot org
                   ` (19 subsequent siblings)
  24 siblings, 0 replies; 25+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-24 14:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from pinskia at gcc dot gnu dot org  2006-01-24 14:12 -------
This is now a regression because of PR 25898.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEW
            Summary|gnatchop cannot use the     |[4.2 Regression] gnatchop
                   |compiled compiler in Ada's  |cannot use the compiled
                   |testsuite because of changed|compiler in Ada's testsuite
                   |GCC_EXEC_PREFIX semantics   |because of changed
                   |                            |GCC_EXEC_PREFIX semantics
   Target Milestone|---                         |4.2.0


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


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

* [Bug ada/14435] [4.2 Regression] gnatchop cannot use the compiled compiler in Ada's testsuite because of changed GCC_EXEC_PREFIX semantics
       [not found] <bug-14435-682@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2006-01-24 14:12 ` [Bug ada/14435] [4.2 Regression] " pinskia at gcc dot gnu dot org
@ 2006-01-25 16:56 ` hjl at lucon dot org
  2006-01-25 16:59 ` charlet at adacore dot com
                   ` (18 subsequent siblings)
  24 siblings, 0 replies; 25+ messages in thread
From: hjl at lucon dot org @ 2006-01-25 16:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from hjl at lucon dot org  2006-01-25 16:56 -------
How committed are we to fix this bug? Last time it was closed as WONTFIX. If
we are 100% committed to fix this, I can try to come up with something.


-- 

hjl at lucon dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2004-03-05 01:47:05         |2006-01-25 16:56:53
               date|                            |


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


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

* [Bug ada/14435] [4.2 Regression] gnatchop cannot use the compiled compiler in Ada's testsuite because of changed GCC_EXEC_PREFIX semantics
       [not found] <bug-14435-682@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2006-01-25 16:56 ` hjl at lucon dot org
@ 2006-01-25 16:59 ` charlet at adacore dot com
  2006-01-25 17:25 ` hjl at lucon dot org
                   ` (17 subsequent siblings)
  24 siblings, 0 replies; 25+ messages in thread
From: charlet at adacore dot com @ 2006-01-25 16:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #14 from charlet at adacore dot com  2006-01-25 16:59 -------
Subject: Re:  [4.2 Regression] gnatchop cannot use the compiled compiler in
Ada's testsuite because of changed GCC_EXEC_PREFIX semantics

> How committed are we to fix this bug? Last time it was closed as WONTFIX. If
> we are 100% committed to fix this, I can try to come up with something.

Well, the first thing to do is really to fix the documentation, since
GCC_EXEC_PREFIX is mentioned in several places in the documentation,
in an inconsistent manner.

Some places do document the behavior which the Ada test suite would like
to rely upon (GCC_EXEC_PREFIX strictly equivalent to the -B switch), that's
basically the old behavior, and some other places don't (that's the new
behavior).

I would personally vote for fixing things so that GCC_EXEC_PREFIX can be
used instead of -B

Arno


-- 


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


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

* [Bug ada/14435] [4.2 Regression] gnatchop cannot use the compiled compiler in Ada's testsuite because of changed GCC_EXEC_PREFIX semantics
       [not found] <bug-14435-682@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2006-01-25 16:59 ` charlet at adacore dot com
@ 2006-01-25 17:25 ` hjl at lucon dot org
  2006-01-25 17:31 ` charlet at adacore dot com
                   ` (16 subsequent siblings)
  24 siblings, 0 replies; 25+ messages in thread
From: hjl at lucon dot org @ 2006-01-25 17:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #15 from hjl at lucon dot org  2006-01-25 17:25 -------
The gcc 4.2 manual says

`GCC_EXEC_PREFIX'
     If `GCC_EXEC_PREFIX' is set, it specifies a prefix to use in the
     names of the subprograms executed by the compiler.  No slash is
     added when this prefix is combined with the name of a subprogram,
     but you can specify a prefix that ends with a slash if you wish.

Is gnat1 a subprogram executed by the compiler? If anwser is yes and
we agree the manual is correct, I will try to fix the driver.


-- 


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


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

* [Bug ada/14435] [4.2 Regression] gnatchop cannot use the compiled compiler in Ada's testsuite because of changed GCC_EXEC_PREFIX semantics
       [not found] <bug-14435-682@http.gcc.gnu.org/bugzilla/>
                   ` (7 preceding siblings ...)
  2006-01-25 17:25 ` hjl at lucon dot org
@ 2006-01-25 17:31 ` charlet at adacore dot com
  2006-01-25 19:28 ` hjl at lucon dot org
                   ` (15 subsequent siblings)
  24 siblings, 0 replies; 25+ messages in thread
From: charlet at adacore dot com @ 2006-01-25 17:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #16 from charlet at adacore dot com  2006-01-25 17:31 -------
Subject: Re:  [4.2 Regression] gnatchop cannot use the compiled compiler in
Ada's testsuite because of changed GCC_EXEC_PREFIX semantics

> Is gnat1 a subprogram executed by the compiler? If anwser is yes and
> we agree the manual is correct, I will try to fix the driver.

gnat1 is similar to cc1 and cc1plus, i.e. executed by the gcc driver.

Arno


-- 


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


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

* [Bug ada/14435] [4.2 Regression] gnatchop cannot use the compiled compiler in Ada's testsuite because of changed GCC_EXEC_PREFIX semantics
       [not found] <bug-14435-682@http.gcc.gnu.org/bugzilla/>
                   ` (8 preceding siblings ...)
  2006-01-25 17:31 ` charlet at adacore dot com
@ 2006-01-25 19:28 ` hjl at lucon dot org
  2006-01-26  9:56 ` charlet at gcc dot gnu dot org
                   ` (14 subsequent siblings)
  24 siblings, 0 replies; 25+ messages in thread
From: hjl at lucon dot org @ 2006-01-25 19:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #17 from hjl at lucon dot org  2006-01-25 19:28 -------
A patch was posted at

http://gcc.gnu.org/ml/gcc-patches/2006-01/msg01757.html


-- 

hjl at lucon dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


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


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

* [Bug ada/14435] [4.2 Regression] gnatchop cannot use the compiled compiler in Ada's testsuite because of changed GCC_EXEC_PREFIX semantics
       [not found] <bug-14435-682@http.gcc.gnu.org/bugzilla/>
                   ` (9 preceding siblings ...)
  2006-01-25 19:28 ` hjl at lucon dot org
@ 2006-01-26  9:56 ` charlet at gcc dot gnu dot org
  2006-01-26 14:20 ` hjl at lucon dot org
                   ` (13 subsequent siblings)
  24 siblings, 0 replies; 25+ messages in thread
From: charlet at gcc dot gnu dot org @ 2006-01-26  9:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #18 from charlet at gcc dot gnu dot org  2006-01-26 09:56 -------
Adding dependency on PR 21553


-- 

charlet at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |21553


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


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

* [Bug ada/14435] [4.2 Regression] gnatchop cannot use the compiled compiler in Ada's testsuite because of changed GCC_EXEC_PREFIX semantics
       [not found] <bug-14435-682@http.gcc.gnu.org/bugzilla/>
                   ` (10 preceding siblings ...)
  2006-01-26  9:56 ` charlet at gcc dot gnu dot org
@ 2006-01-26 14:20 ` hjl at lucon dot org
  2006-01-26 14:47 ` hjl at lucon dot org
                   ` (12 subsequent siblings)
  24 siblings, 0 replies; 25+ messages in thread
From: hjl at lucon dot org @ 2006-01-26 14:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #19 from hjl at lucon dot org  2006-01-26 14:20 -------
*** Bug 21553 has been marked as a duplicate of this bug. ***


-- 

hjl at lucon dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|21553                       |
                 CC|                            |roche at adacore dot com


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


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

* [Bug ada/14435] [4.2 Regression] gnatchop cannot use the compiled compiler in Ada's testsuite because of changed GCC_EXEC_PREFIX semantics
       [not found] <bug-14435-682@http.gcc.gnu.org/bugzilla/>
                   ` (11 preceding siblings ...)
  2006-01-26 14:20 ` hjl at lucon dot org
@ 2006-01-26 14:47 ` hjl at lucon dot org
  2006-02-27 19:45 ` [Bug ada/14435] [3.4/4.0/4.1/4.2 " jason_gouger at mentor dot com
                   ` (11 subsequent siblings)
  24 siblings, 0 replies; 25+ messages in thread
From: hjl at lucon dot org @ 2006-01-26 14:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #20 from hjl at lucon dot org  2006-01-26 14:47 -------
Created an attachment (id=10733)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10733&action=view)
A testcase

[hjl@gnu-12 prefix]$ make
gcc --version
gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-53)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

GCC_EXEC_PREFIX=./ gcc -S foo.i | grep GOOD || exit 1
GOOD
[hjl@gnu-12 prefix]$

[hjl@gnu-16 prefix]$ make
gcc --version
gcc (GCC) 3.4.4 20050721 (Red Hat 3.4.4-2)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

GCC_EXEC_PREFIX=./ gcc -S foo.i | grep GOOD || exit 1
make: *** [foo.s] Error 1
[hjl@gnu-16 prefix]$

With my patch, I got

[hjl@gnu-16 prefix]$ make
/export/build/gnu/gcc/build-x86_64-linux/./prev-gcc//xgcc --version
xgcc (GCC) 4.2.0 20060126 (experimental) [trunk revision 110254 clean]
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

GCC_EXEC_PREFIX=./ /export/build/gnu/gcc/build-x86_64-linux/./prev-gcc//xgcc -S
foo.i | grep GOOD || exit 1
GOOD
[hjl@gnu-16 prefix]$


-- 


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


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

* [Bug ada/14435] [3.4/4.0/4.1/4.2 Regression] gnatchop cannot use the compiled compiler in Ada's testsuite because of changed GCC_EXEC_PREFIX semantics
       [not found] <bug-14435-682@http.gcc.gnu.org/bugzilla/>
                   ` (12 preceding siblings ...)
  2006-01-26 14:47 ` hjl at lucon dot org
@ 2006-02-27 19:45 ` jason_gouger at mentor dot com
  2007-04-30  9:53 ` [Bug driver/14435] [4.0/4.1/4.2/4.3 " charlet at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  24 siblings, 0 replies; 25+ messages in thread
From: jason_gouger at mentor dot com @ 2006-02-27 19:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #21 from jason_gouger at mentor dot com  2006-02-27 18:11 -------
Note / patch taken from duplicate bug 21553

------- Comment #5 From Jason 2005-09-20 02:17 [reply] -------

(In reply to comment #0)
> looking at gcc.c it looks like the problem is coming from the following line:
>  gcc_libexec_prefix = make_relative_prefix 
>     (gcc_exec_prefix,
>      standard_exec_prefix,
>      standard_libexec_prefix);
> 
> The problem is that make_relative_prefix is expecting a program name as first
> argument. But the gcc_exec_prefix is a directory. So that's why /my_prefix/ is
> removed when computing gcc_libexec_prefix...

I think there are more issues than that incorrect argument.  From what I could
see was that even though make_relative_path expects a program name the return
path discards it which may be okay.  

I am not sure on the original intent but preserving the common suffixes on arg2
and arg3 and then reapplying to the result seems to fix or at least work around
the problem.

>From make-relative-prefix.c :

For example, if @var{bin_prefix} is @code{/alpha/beta/gamma/gcc/delta},
@var{prefix} is @code{/alpha/beta/gamma/omega/}, and @var{progname} is
@code{/red/green/blue/gcc}, then this function will return
@code{/red/green/blue/../../omega/}.

progname = /red/green/blue/gcc
bin_prefix = /alpha/beta/gamma/gcc/delta
prefix = /alpha/beta/gamma/omega/
returns = /red/green/blue/../../omega/

In this case :

progname = <NEW_PATH>/gcc-Y.Y.Y/lib/gcc (gcc_exec_prefix)
bin_prefix = <COMPILE_PATH>/gcc-X.X.X/lib/gcc (standard_exec_prefix)
prefix = <COMPILE_PATH>/gcc-X.X.X/libexec/gcc (standard_libexec_prefix)
returns = <NEW_PATH>/gcc-Y.Y.Y/lib/../../libexec/gcc

1. make bin_prefix relative to prefix
   <COMPILE_PATH>/gcc-X.X.X/lib/gcc/../../libexec/gcc
2. Replace the program path '<NEW_PATH>/gcc-X.X.X/lib' (dropped prg name gcc)
   <NEW_PATH>/gcc-Y.Y.Y/lib/../../libexec/gcc

So the ../.. is caused by the fact in step one make_relative_path needed to go
up two directories.

If we strip the common suffixes of bin_prefix and prefix and then reappend we
will get the desired result.

common_suffix=/gcc
progname = <NEW_PATH>/gcc-Y.Y.Y/lib/gcc (gcc_exec_prefix)
bin_prefix = <COMPILE_PATH>/gcc-X.X.X/lib (standard_exec_prefix w/out common
suffix)
prefix = <COMPILE_PATH>/gcc-X.X.X/libexec (standard_libexec_prefix w/out common
suffix)
returns = <NEW_PATH>/gcc-Y.Y.Y/lib/../libexec/gcc

1. make bin_prefix relative to prefix
   <COMPILE_PATH>/gcc-X.X.X/lib/../libexec
2. Replace the program path '<NEW_PATH>/gcc-X.X.X/lib' (dropped prg name gcc)
   <NEW_PATH>/gcc-Y.Y.Y/lib/../libexec
3. Reappend common suffix
   <NEW_PATH>/gcc-Y.Y.Y/lib/../libexec/gcc

> Besides this I think that since 3.4.x series GCC_EXEC_PREFIX is quite useless
> indeed it is quite hard to redefine the location where cc1 is found

This worked properly in gcc 3.4.3 and prior releases.

To reproduce the problem install to a non-standard location.  Remove (rename)
the build area.  Rename the non-standard location to another non-standard name
and set the GCC_EXEC_PREFIX.  In 3.4.3 this worked...

Here is a patch file against gcc 4.0.1 (gcc/gcc.c) which implements the
algorithm mentioned above.

3232,3235c
  else 
    {
      /* Find common ending of stanard_exec_prefix and standard_libexec_prefix.
      // Essentially we are stripping /gcc/ for later use... This is required
      // because make_relative path will just add ..'s for these directories.
      // This is not the intention as the make_relative_path given three 
      // paths "progname", "bin_prefix", and "prefix"; returns the path that
      // is in the same position relative to "progname's" directory as "prefix"
      // is relative to "bin_prefix".  So we can achieve the desired result by
      // stripping this common suffix and concat'ing the result */
      const char *exec_ptr = standard_exec_prefix + strlen
(standard_exec_prefix);
      const char *libexec_ptr = standard_libexec_prefix + strlen
(standard_libexec_prefix);
      char *exec_buf;
      char *libexec_buf;
      char *gccexec_buf;
      int exec_len;
      int libexec_len;
      while (exec_ptr > standard_exec_prefix
             && libexec_ptr > standard_libexec_prefix
             && *exec_ptr == *libexec_ptr )
        {
          --exec_ptr;
          --libexec_ptr;
        }
      if (exec_ptr > standard_exec_prefix)
        ++exec_ptr;
      exec_len = exec_ptr - standard_exec_prefix;
      exec_buf = xmalloc(exec_len + 1);
      strncpy(exec_buf, standard_exec_prefix, exec_len);
      exec_buf[exec_len] = '\0';
      if (libexec_ptr > standard_libexec_prefix)
        ++libexec_ptr;
      libexec_len = libexec_ptr - standard_libexec_prefix;
      libexec_buf = xmalloc(libexec_len + 1);
      strncpy(libexec_buf, standard_libexec_prefix, libexec_len);
      libexec_buf[libexec_len] = '\0';
      /* NOTE: make_relative_path really takes a program name as the
      //       first argument.  However, even though it is a directory
      //       it just needs to be stripped. */
      gccexec_buf = make_relative_prefix (gcc_exec_prefix,
                                          exec_buf,
                                          libexec_buf);
      free(exec_buf);
      free(libexec_buf);
      if (gccexec_buf)
        {
          gcc_libexec_prefix = concat(gccexec_buf, exec_ptr, NULL);
          free(gccexec_buf);
        }
      else
        gcc_libexec_prefix = 0;
    }
.
w


-- 


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


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

* [Bug driver/14435] [4.0/4.1/4.2/4.3 Regression] gnatchop cannot use the compiled compiler in Ada's testsuite because of changed GCC_EXEC_PREFIX semantics
       [not found] <bug-14435-682@http.gcc.gnu.org/bugzilla/>
                   ` (13 preceding siblings ...)
  2006-02-27 19:45 ` [Bug ada/14435] [3.4/4.0/4.1/4.2 " jason_gouger at mentor dot com
@ 2007-04-30  9:53 ` charlet at gcc dot gnu dot org
  2007-05-14 21:26 ` mmitchel at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  24 siblings, 0 replies; 25+ messages in thread
From: charlet at gcc dot gnu dot org @ 2007-04-30  9:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #22 from charlet at gcc dot gnu dot org  2007-04-30 10:52 -------
Requalifying as a driver issue (handling of GCC_EXEC_PREFIX)


-- 

charlet at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|ada                         |driver


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


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

* [Bug driver/14435] [4.0/4.1/4.2/4.3 Regression] gnatchop cannot use the compiled compiler in Ada's testsuite because of changed GCC_EXEC_PREFIX semantics
       [not found] <bug-14435-682@http.gcc.gnu.org/bugzilla/>
                   ` (14 preceding siblings ...)
  2007-04-30  9:53 ` [Bug driver/14435] [4.0/4.1/4.2/4.3 " charlet at gcc dot gnu dot org
@ 2007-05-14 21:26 ` mmitchel at gcc dot gnu dot org
  2007-07-20  3:52 ` mmitchel at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  24 siblings, 0 replies; 25+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-05-14 21:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #23 from mmitchel at gcc dot gnu dot org  2007-05-14 22:25 -------
Will not be fixed in 4.2.0; retargeting at 4.2.1.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.2.0                       |4.2.1


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


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

* [Bug driver/14435] [4.0/4.1/4.2/4.3 Regression] gnatchop cannot use the compiled compiler in Ada's testsuite because of changed GCC_EXEC_PREFIX semantics
       [not found] <bug-14435-682@http.gcc.gnu.org/bugzilla/>
                   ` (15 preceding siblings ...)
  2007-05-14 21:26 ` mmitchel at gcc dot gnu dot org
@ 2007-07-20  3:52 ` mmitchel at gcc dot gnu dot org
  2007-10-09 19:30 ` mmitchel at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  24 siblings, 0 replies; 25+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-07-20  3:52 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.2.1                       |4.2.2


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


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

* [Bug driver/14435] [4.0/4.1/4.2/4.3 Regression] gnatchop cannot use the compiled compiler in Ada's testsuite because of changed GCC_EXEC_PREFIX semantics
       [not found] <bug-14435-682@http.gcc.gnu.org/bugzilla/>
                   ` (16 preceding siblings ...)
  2007-07-20  3:52 ` mmitchel at gcc dot gnu dot org
@ 2007-10-09 19:30 ` mmitchel at gcc dot gnu dot org
  2008-01-17 17:02 ` jsm28 at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  24 siblings, 0 replies; 25+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-10-09 19:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #24 from mmitchel at gcc dot gnu dot org  2007-10-09 19:20 -------
Change target milestone to 4.2.3, as 4.2.2 has been released.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.2.2                       |4.2.3


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


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

* [Bug driver/14435] [4.0/4.1/4.2/4.3 Regression] gnatchop cannot use the compiled compiler in Ada's testsuite because of changed GCC_EXEC_PREFIX semantics
       [not found] <bug-14435-682@http.gcc.gnu.org/bugzilla/>
                   ` (17 preceding siblings ...)
  2007-10-09 19:30 ` mmitchel at gcc dot gnu dot org
@ 2008-01-17 17:02 ` jsm28 at gcc dot gnu dot org
  2008-02-01 16:54 ` jsm28 at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  24 siblings, 0 replies; 25+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-01-17 17:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #25 from jsm28 at gcc dot gnu dot org  2008-01-17 16:14 -------
The issue with make_relative_prefix needing a program name should have been
addressed by my patch:

r113345 | jsm28 | 2006-04-28 12:15:36 +0000 (Fri, 28 Apr 2006) | 3 lines

        * gcc.c (process_command): Add program name to GCC_EXEC_PREFIX
        value before passing to make_relative_prefix.

As for the rest of this issue, HJ, could you resubmit whatever is still
relevant of your patch?

This bug has not previously been assigned a priority by an RM.  Downgrading to
P4, but please restore to P3 if it affects non-Ada testsuites or any case where
the compiler exports GCC_EXEC_PREFIX internally rather than GCC_EXEC_PREFIX
being set manually by a compiler user (my patch was for an issue showing up
with -frepo and collect2 calling back to the compiler).


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P4


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


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

* [Bug driver/14435] [4.0/4.1/4.2/4.3 Regression] gnatchop cannot use the compiled compiler in Ada's testsuite because of changed GCC_EXEC_PREFIX semantics
       [not found] <bug-14435-682@http.gcc.gnu.org/bugzilla/>
                   ` (18 preceding siblings ...)
  2008-01-17 17:02 ` jsm28 at gcc dot gnu dot org
@ 2008-02-01 16:54 ` jsm28 at gcc dot gnu dot org
  2008-05-19 20:23 ` [Bug driver/14435] [4.1/4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  24 siblings, 0 replies; 25+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-02-01 16:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #26 from jsm28 at gcc dot gnu dot org  2008-02-01 16:52 -------
4.2.3 is being released now, changing milestones of open bugs to 4.2.4.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.2.3                       |4.2.4


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


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

* [Bug driver/14435] [4.1/4.2/4.3/4.4 Regression] gnatchop cannot use the compiled compiler in Ada's testsuite because of changed GCC_EXEC_PREFIX semantics
       [not found] <bug-14435-682@http.gcc.gnu.org/bugzilla/>
                   ` (19 preceding siblings ...)
  2008-02-01 16:54 ` jsm28 at gcc dot gnu dot org
@ 2008-05-19 20:23 ` jsm28 at gcc dot gnu dot org
  2008-07-04 22:45 ` [Bug driver/14435] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  24 siblings, 0 replies; 25+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-05-19 20:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #27 from jsm28 at gcc dot gnu dot org  2008-05-19 20:22 -------
4.2.4 is being released, changing milestones to 4.2.5.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.2.4                       |4.2.5


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


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

* [Bug driver/14435] [4.2/4.3/4.4 Regression] gnatchop cannot use the compiled compiler in Ada's testsuite because of changed GCC_EXEC_PREFIX semantics
       [not found] <bug-14435-682@http.gcc.gnu.org/bugzilla/>
                   ` (20 preceding siblings ...)
  2008-05-19 20:23 ` [Bug driver/14435] [4.1/4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
@ 2008-07-04 22:45 ` jsm28 at gcc dot gnu dot org
  2009-03-31 16:16 ` [Bug driver/14435] [4.3/4.4/4.5 " jsm28 at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  24 siblings, 0 replies; 25+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-07-04 22:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #28 from jsm28 at gcc dot gnu dot org  2008-07-04 22:44 -------
Closing 4.1 branch.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.1/4.2/4.3/4.4 Regression]|[4.2/4.3/4.4 Regression]
                   |gnatchop cannot use the     |gnatchop cannot use the
                   |compiled compiler in Ada's  |compiled compiler in Ada's
                   |testsuite because of changed|testsuite because of changed
                   |GCC_EXEC_PREFIX semantics   |GCC_EXEC_PREFIX semantics


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


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

* [Bug driver/14435] [4.3/4.4/4.5 Regression] gnatchop cannot use the compiled compiler in Ada's testsuite because of changed GCC_EXEC_PREFIX semantics
       [not found] <bug-14435-682@http.gcc.gnu.org/bugzilla/>
                   ` (21 preceding siblings ...)
  2008-07-04 22:45 ` [Bug driver/14435] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
@ 2009-03-31 16:16 ` jsm28 at gcc dot gnu dot org
  2009-08-04 12:27 ` rguenth at gcc dot gnu dot org
  2010-05-22 18:11 ` [Bug driver/14435] [4.3/4.4/4.5/4.6 " rguenth at gcc dot gnu dot org
  24 siblings, 0 replies; 25+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-03-31 16:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #29 from jsm28 at gcc dot gnu dot org  2009-03-31 16:16 -------
Closing 4.2 branch.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.2/4.3/4.4/4.5 Regression]|[4.3/4.4/4.5 Regression]
                   |gnatchop cannot use the     |gnatchop cannot use the
                   |compiled compiler in Ada's  |compiled compiler in Ada's
                   |testsuite because of changed|testsuite because of changed
                   |GCC_EXEC_PREFIX semantics   |GCC_EXEC_PREFIX semantics
   Target Milestone|4.2.5                       |4.3.4


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


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

* [Bug driver/14435] [4.3/4.4/4.5 Regression] gnatchop cannot use the compiled compiler in Ada's testsuite because of changed GCC_EXEC_PREFIX semantics
       [not found] <bug-14435-682@http.gcc.gnu.org/bugzilla/>
                   ` (22 preceding siblings ...)
  2009-03-31 16:16 ` [Bug driver/14435] [4.3/4.4/4.5 " jsm28 at gcc dot gnu dot org
@ 2009-08-04 12:27 ` rguenth at gcc dot gnu dot org
  2010-05-22 18:11 ` [Bug driver/14435] [4.3/4.4/4.5/4.6 " rguenth at gcc dot gnu dot org
  24 siblings, 0 replies; 25+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-08-04 12:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #30 from rguenth at gcc dot gnu dot org  2009-08-04 12:25 -------
GCC 4.3.4 is being released, adjusting target milestone.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.4                       |4.3.5


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


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

* [Bug driver/14435] [4.3/4.4/4.5/4.6 Regression] gnatchop cannot use the compiled compiler in Ada's testsuite because of changed GCC_EXEC_PREFIX semantics
       [not found] <bug-14435-682@http.gcc.gnu.org/bugzilla/>
                   ` (23 preceding siblings ...)
  2009-08-04 12:27 ` rguenth at gcc dot gnu dot org
@ 2010-05-22 18:11 ` rguenth at gcc dot gnu dot org
  24 siblings, 0 replies; 25+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-05-22 18:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #31 from rguenth at gcc dot gnu dot org  2010-05-22 18:10 -------
GCC 4.3.5 is being released, adjusting target milestone.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.5                       |4.3.6


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


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

end of thread, other threads:[~2010-05-22 18:11 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-14435-682@http.gcc.gnu.org/bugzilla/>
2006-01-22 14:47 ` [Bug ada/14435] gnatchop cannot use the compiled compiler in Ada's testsuite because of changed GCC_EXEC_PREFIX semantics hjl at lucon dot org
2006-01-24 13:43 ` hjl at lucon dot org
2006-01-24 14:10 ` hjl at lucon dot org
2006-01-24 14:10 ` hjl at lucon dot org
2006-01-24 14:12 ` [Bug ada/14435] [4.2 Regression] " pinskia at gcc dot gnu dot org
2006-01-25 16:56 ` hjl at lucon dot org
2006-01-25 16:59 ` charlet at adacore dot com
2006-01-25 17:25 ` hjl at lucon dot org
2006-01-25 17:31 ` charlet at adacore dot com
2006-01-25 19:28 ` hjl at lucon dot org
2006-01-26  9:56 ` charlet at gcc dot gnu dot org
2006-01-26 14:20 ` hjl at lucon dot org
2006-01-26 14:47 ` hjl at lucon dot org
2006-02-27 19:45 ` [Bug ada/14435] [3.4/4.0/4.1/4.2 " jason_gouger at mentor dot com
2007-04-30  9:53 ` [Bug driver/14435] [4.0/4.1/4.2/4.3 " charlet at gcc dot gnu dot org
2007-05-14 21:26 ` mmitchel at gcc dot gnu dot org
2007-07-20  3:52 ` mmitchel at gcc dot gnu dot org
2007-10-09 19:30 ` mmitchel at gcc dot gnu dot org
2008-01-17 17:02 ` jsm28 at gcc dot gnu dot org
2008-02-01 16:54 ` jsm28 at gcc dot gnu dot org
2008-05-19 20:23 ` [Bug driver/14435] [4.1/4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
2008-07-04 22:45 ` [Bug driver/14435] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
2009-03-31 16:16 ` [Bug driver/14435] [4.3/4.4/4.5 " jsm28 at gcc dot gnu dot org
2009-08-04 12:27 ` rguenth at gcc dot gnu dot org
2010-05-22 18:11 ` [Bug driver/14435] [4.3/4.4/4.5/4.6 " rguenth at gcc dot gnu dot 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).