public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/15668] New: install-sh is now based on $srcdir, make install fails
@ 2004-05-27 14:54 fcusack at fcusack dot com
2004-05-27 14:56 ` [Bug bootstrap/15668] " fcusack at fcusack dot com
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: fcusack at fcusack dot com @ 2004-05-27 14:54 UTC (permalink / raw)
To: gcc-bugs
(On Solaris, install-sh is used insted of the system 'install'; this
affects every platform where that is true.)
If configure is invoked via a relative path, the Makefile INSTALL
macro is also a relative path. This does not work ... This is new
in 3.4.0; previously a lot of gyrations were done to make install-sh
an absolute path.
--
Summary: install-sh is now based on $srcdir, make install fails
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: fcusack at fcusack dot com
CC: dhighley at highley-recommended dot com,gcc-bugs at gcc
dot gnu dot org
GCC host triplet: sparc-sun-solaris2.9
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15668
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/15668] install-sh is now based on $srcdir, make install fails
2004-05-27 14:54 [Bug bootstrap/15668] New: install-sh is now based on $srcdir, make install fails fcusack at fcusack dot com
@ 2004-05-27 14:56 ` fcusack at fcusack dot com
2004-05-27 14:59 ` fcusack at fcusack dot com
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: fcusack at fcusack dot com @ 2004-05-27 14:56 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From fcusack at fcusack dot com 2004-05-26 22:32 -------
Created an attachment (id=6390)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6390&action=view)
use absolute path to install-sh
This simple change is similar to the earlier gcc's setting.
I went ahead and fixed the path to move-if-change as well.
Also, since the docs have said for some time that srcdir should
not be equal to objdir I changed the test to give an error rather
than setup a special case.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15668
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/15668] install-sh is now based on $srcdir, make install fails
2004-05-27 14:54 [Bug bootstrap/15668] New: install-sh is now based on $srcdir, make install fails fcusack at fcusack dot com
2004-05-27 14:56 ` [Bug bootstrap/15668] " fcusack at fcusack dot com
@ 2004-05-27 14:59 ` fcusack at fcusack dot com
2004-05-27 15:36 ` pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: fcusack at fcusack dot com @ 2004-05-27 14:59 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From fcusack at fcusack dot com 2004-05-26 22:36 -------
Could you also (or instead) update
<http://gcc.gnu.org/install/specific.html#*-*-solaris2>?
It claims, "proceed as described in the build instructions, where we
strongly recommend ... specifying an absolute path to invoke srcdir/configure".
- The correct place would be the configure instructions, not the build insns.
- I read both the build and configure instructions very carefully 3 times and
found no mention of using an absolute path.
BTW, patch is tested to work (natch).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15668
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/15668] install-sh is now based on $srcdir, make install fails
2004-05-27 14:54 [Bug bootstrap/15668] New: install-sh is now based on $srcdir, make install fails fcusack at fcusack dot com
2004-05-27 14:56 ` [Bug bootstrap/15668] " fcusack at fcusack dot com
2004-05-27 14:59 ` fcusack at fcusack dot com
@ 2004-05-27 15:36 ` pinskia at gcc dot gnu dot org
2004-05-27 15:50 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-27 15:36 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-26 22:54 -------
Does it work correctly with setting CONFIG_SHELL? If so then this is not a bug at all.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15668
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/15668] install-sh is now based on $srcdir, make install fails
2004-05-27 14:54 [Bug bootstrap/15668] New: install-sh is now based on $srcdir, make install fails fcusack at fcusack dot com
` (2 preceding siblings ...)
2004-05-27 15:36 ` pinskia at gcc dot gnu dot org
@ 2004-05-27 15:50 ` pinskia at gcc dot gnu dot org
2004-05-27 17:32 ` drow at gcc dot gnu dot org
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-27 15:50 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-26 23:01 -------
Not a bug, solaris /bin/sh is not really a full POSIX shell closing.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15668
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/15668] install-sh is now based on $srcdir, make install fails
2004-05-27 14:54 [Bug bootstrap/15668] New: install-sh is now based on $srcdir, make install fails fcusack at fcusack dot com
` (3 preceding siblings ...)
2004-05-27 15:50 ` pinskia at gcc dot gnu dot org
@ 2004-05-27 17:32 ` drow at gcc dot gnu dot org
2004-05-27 17:33 ` drow at false dot org
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: drow at gcc dot gnu dot org @ 2004-05-27 17:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From drow at gcc dot gnu dot org 2004-05-27 03:25 -------
Why do you believe this has anything to do with the Solaris shell?
This has been reported for binutils also and I don't see any indication that
the shell is responsible. Instead it is a problem with the use of install-sh.
You can reproduce it on GNU/Linux by moving /usr/bin/install out of the way;
otherwise ./install-sh is not used.
Please don't close bugs without waiting more than seven minutes for feedback.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15668
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/15668] install-sh is now based on $srcdir, make install fails
2004-05-27 14:54 [Bug bootstrap/15668] New: install-sh is now based on $srcdir, make install fails fcusack at fcusack dot com
` (4 preceding siblings ...)
2004-05-27 17:32 ` drow at gcc dot gnu dot org
@ 2004-05-27 17:33 ` drow at false dot org
2004-05-28 7:53 ` fcusack at fcusack dot com
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: drow at false dot org @ 2004-05-27 17:33 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From drow at false dot org 2004-05-27 03:28 -------
Subject: Re: install-sh is now based on $srcdir, make install fails
I believe this is caused by including INSTALL in BASE_FLAGS_TO_PASS.
I'm not sure if it will break anything to remove that; but if we're
going to do that we need to ensure an absolute path to install-sh.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15668
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/15668] install-sh is now based on $srcdir, make install fails
2004-05-27 14:54 [Bug bootstrap/15668] New: install-sh is now based on $srcdir, make install fails fcusack at fcusack dot com
` (5 preceding siblings ...)
2004-05-27 17:33 ` drow at false dot org
@ 2004-05-28 7:53 ` fcusack at fcusack dot com
2004-05-28 17:08 ` fcusack at fcusack dot com
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: fcusack at fcusack dot com @ 2004-05-28 7:53 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From fcusack at fcusack dot com 2004-05-27 18:15 -------
(In reply to comment #3)
> Does it work correctly with setting CONFIG_SHELL?
No.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15668
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/15668] install-sh is now based on $srcdir, make install fails
2004-05-27 14:54 [Bug bootstrap/15668] New: install-sh is now based on $srcdir, make install fails fcusack at fcusack dot com
` (6 preceding siblings ...)
2004-05-28 7:53 ` fcusack at fcusack dot com
@ 2004-05-28 17:08 ` fcusack at fcusack dot com
2004-05-28 19:58 ` pinskia at gcc dot gnu dot org
2004-06-02 20:18 ` pinskia at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: fcusack at fcusack dot com @ 2004-05-28 17:08 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From fcusack at fcusack dot com 2004-05-27 21:52 -------
(In reply to comment #1)
> Also, since the docs have said for some time that srcdir should
> not be equal to objdir I changed the test to give an error rather
> than setup a special case.
oops, on re-reading the docs srcdir==objdir is explicitly ok (but not
recommended) so if you accept this patch you should obviously keep the
comment about "srcdir=." etc instead of exiting. It'd be easy to test
if objdir is a subdir of srcdir, you might want to add that bit.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15668
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/15668] install-sh is now based on $srcdir, make install fails
2004-05-27 14:54 [Bug bootstrap/15668] New: install-sh is now based on $srcdir, make install fails fcusack at fcusack dot com
` (7 preceding siblings ...)
2004-05-28 17:08 ` fcusack at fcusack dot com
@ 2004-05-28 19:58 ` pinskia at gcc dot gnu dot org
2004-06-02 20:18 ` pinskia at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-28 19:58 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-28 02:01 -------
Please send patches to gcc-patches@gcc.gnu.org after reading <http://gcc.gnu.org/contribute.html>.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15668
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/15668] install-sh is now based on $srcdir, make install fails
2004-05-27 14:54 [Bug bootstrap/15668] New: install-sh is now based on $srcdir, make install fails fcusack at fcusack dot com
` (8 preceding siblings ...)
2004-05-28 19:58 ` pinskia at gcc dot gnu dot org
@ 2004-06-02 20:18 ` pinskia at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-02 20:18 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-02 20:18 -------
This is a dup of bug 13993.
*** This bug has been marked as a duplicate of 13993 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15668
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2004-06-02 20:18 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-27 14:54 [Bug bootstrap/15668] New: install-sh is now based on $srcdir, make install fails fcusack at fcusack dot com
2004-05-27 14:56 ` [Bug bootstrap/15668] " fcusack at fcusack dot com
2004-05-27 14:59 ` fcusack at fcusack dot com
2004-05-27 15:36 ` pinskia at gcc dot gnu dot org
2004-05-27 15:50 ` pinskia at gcc dot gnu dot org
2004-05-27 17:32 ` drow at gcc dot gnu dot org
2004-05-27 17:33 ` drow at false dot org
2004-05-28 7:53 ` fcusack at fcusack dot com
2004-05-28 17:08 ` fcusack at fcusack dot com
2004-05-28 19:58 ` pinskia at gcc dot gnu dot org
2004-06-02 20:18 ` pinskia 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).