public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/8018] 'install-headers-dir' should default to 'install-headers-cp'
       [not found] <20020924034600.8018.raul@pleyades.net>
@ 2003-05-26  8:09 ` dhazeghi@yahoo.com
  2003-05-26 14:05 ` pinskia@physics.uc.edu
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: dhazeghi@yahoo.com @ 2003-05-26  8:09 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=8018



------- Additional Comments From dhazeghi@yahoo.com  2003-05-26 07:45 -------
Hello,

can you please confirm that this problem still occurs with gcc 3.3? I suspect it does, but none of 
my systems lack tar, and I don't have the privileges to remove it to check what happens. Thanks,

Dara



------- 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] 11+ messages in thread

* [Bug bootstrap/8018] 'install-headers-dir' should default to 'install-headers-cp'
       [not found] <20020924034600.8018.raul@pleyades.net>
  2003-05-26  8:09 ` [Bug bootstrap/8018] 'install-headers-dir' should default to 'install-headers-cp' dhazeghi@yahoo.com
@ 2003-05-26 14:05 ` pinskia@physics.uc.edu
  2003-05-26 14:57 ` raul@pleyades.net
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia@physics.uc.edu @ 2003-05-26 14:05 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=8018


pinskia@physics.uc.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


------- Additional Comments From pinskia@physics.uc.edu  2003-05-26 14:03 -------
See Dara' s question



------- 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] 11+ messages in thread

* [Bug bootstrap/8018] 'install-headers-dir' should default to 'install-headers-cp'
       [not found] <20020924034600.8018.raul@pleyades.net>
  2003-05-26  8:09 ` [Bug bootstrap/8018] 'install-headers-dir' should default to 'install-headers-cp' dhazeghi@yahoo.com
  2003-05-26 14:05 ` pinskia@physics.uc.edu
@ 2003-05-26 14:57 ` raul@pleyades.net
  2003-06-02  4:27 ` dhazeghi@yahoo.com
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: raul@pleyades.net @ 2003-05-26 14:57 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1664 bytes --]

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From raul@pleyades.net  2003-05-26 14:54 -------
Subject: Re: [Bug bootstrap/8018] 'install-headers-dir' should default to 'install-headers-cp'

 * dhazeghi@yahoo.com <gcc-bugzilla@gcc.gnu.org> dixit:
> can you please confirm that this problem still occurs with gcc 3.3?
> I suspect it does, but none of my systems lack tar, and I don't
> have the privileges to remove it to check what happens. Thanks,

    Confirmed. I have access to a machine where tar in installed, but
my production machine just have 'pax', and of course 'cp', so the
target 'install-headers-cp' works fine. In fact, this is what I do to
do the installation:

gcc_version=3.3
../gcc-$gcc_version/configure --prefix=/user/gccfull/ --with-cpp-install-dir=lib --program-transform-name='s/^c++filt$/gcc-c++filt/' --disable-nls --enable-languages=c,c++ --disable-multilib --disable-version-specific-runtime-libs --with-gxx-include-dir=/user/gccfull/include/myg++
mv gcc/Makefile gcc/Makefile.TMP
sed -e "s/INSTALL_HEADERS_DIR *=.*/INSTALL_HEADERS_DIR=install-headers-cp/" < gcc/Makefile.TMP > gcc/Makefile
rm gcc/Makefile.TMP
make CFLAGS='-O2' BOOT_CFLAGS='-O2' LIBCFLAGS='-g -O2' bootstrap
make install

    This way all goes ok, except the g++ include directory, which is
mentioned in another bug report and that I'm testing in 3.3.

    Thanks a lot for dealing with this.

    Raúl Núñez de Arenas Coronado





------- 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] 11+ messages in thread

* [Bug bootstrap/8018] 'install-headers-dir' should default to 'install-headers-cp'
       [not found] <20020924034600.8018.raul@pleyades.net>
                   ` (2 preceding siblings ...)
  2003-05-26 14:57 ` raul@pleyades.net
@ 2003-06-02  4:27 ` dhazeghi@yahoo.com
  2003-06-02  8:40 ` jsm28@cam.ac.uk
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: dhazeghi@yahoo.com @ 2003-06-02  4:27 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=8018


dhazeghi@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|major                       |enhancement
             Status|WAITING                     |NEW
     Ever Confirmed|                            |1
           Priority|P3                          |P4
   Last reconfirmed|0000-00-00 00:00:00         |2003-06-02 04:27:54
               date|                            |


------- Additional Comments From dhazeghi@yahoo.com  2003-06-02 04:27 -------
Confirmed by submitter. I'm going to mark this as an enhancement request, though, because 
having tar on one's system is a pretty reasonable request, and it will soon be a documented 
requirement for developing with gcc...



------- 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] 11+ messages in thread

* [Bug bootstrap/8018] 'install-headers-dir' should default to 'install-headers-cp'
       [not found] <20020924034600.8018.raul@pleyades.net>
                   ` (3 preceding siblings ...)
  2003-06-02  4:27 ` dhazeghi@yahoo.com
@ 2003-06-02  8:40 ` jsm28@cam.ac.uk
  2003-06-02 18:14 ` dhazeghi@yahoo.com
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: jsm28@cam.ac.uk @ 2003-06-02  8:40 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=8018



------- Additional Comments From jsm28@cam.ac.uk  2003-06-02 08:40 -------
Subject: Re:  'install-headers-dir' should default to
 'install-headers-cp'

On Mon, 2 Jun 2003, dhazeghi@yahoo.com wrote:

> Confirmed by submitter. I'm going to mark this as an enhancement
> request, though, because having tar on one's system is a pretty
> reasonable request, and it will soon be a documented requirement for
> developing with gcc...

It should be documented only for using tarballs - not for working from
CVS.

The inappropriate use of tar here is also a factor in PR 8121 (wrong 
ownership on installed header files).  (Though the use of -p may need to 
be removed in install-headers-cp to avoid the same problem there.)  We 
don't need multiple methods of installing headers, just install-headers-cp 
will suffice.





------- 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] 11+ messages in thread

* [Bug bootstrap/8018] 'install-headers-dir' should default to 'install-headers-cp'
       [not found] <20020924034600.8018.raul@pleyades.net>
                   ` (4 preceding siblings ...)
  2003-06-02  8:40 ` jsm28@cam.ac.uk
@ 2003-06-02 18:14 ` dhazeghi@yahoo.com
  2003-06-03  9:23 ` raul@pleyades.net
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: dhazeghi@yahoo.com @ 2003-06-02 18: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=8018


dhazeghi@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|enhancement                 |normal


------- Additional Comments From dhazeghi@yahoo.com  2003-06-02 18:14 -------
Very well, I will upgrade this to normal severity. Honestly, it probably won't matter, since nobody 
seems too interested in fixing it, but maybe one of these days...



------- 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] 11+ messages in thread

* [Bug bootstrap/8018] 'install-headers-dir' should default to 'install-headers-cp'
       [not found] <20020924034600.8018.raul@pleyades.net>
                   ` (5 preceding siblings ...)
  2003-06-02 18:14 ` dhazeghi@yahoo.com
@ 2003-06-03  9:23 ` raul@pleyades.net
  2003-06-03 12:22 ` pinskia@physics.uc.edu
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: raul@pleyades.net @ 2003-06-03  9:23 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1345 bytes --]

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From raul@pleyades.net  2003-06-03 09:23 -------
Subject: Re:  'install-headers-dir' should default to 'install-headers-cp'


    Hi Dara :)

 * dhazeghi@yahoo.com <gcc-bugzilla@gcc.gnu.org> dixit:
> Very well, I will upgrade this to normal severity. Honestly, it
> probably won't matter, since nobody seems too interested in fixing
> it, but maybe one of these days...

    I'm aware of this. I could send a patch, but I'm afraid it will
be silently ignored :(( And you're right: a change to normal severity
won't affect the bug. What I was telling is just that, no matter if
this is an enhancement or a bug, it should be fixed and not rely on
'tar'. If you think it will be accepted, I can prepare a trivial
patch making 'install-headers-cp' default instead of
'install-headers-tar', or even add an 'install-headers-pax' (a friend
of mine sent a patch with this a few days ago). I can even prepare a
more complete patch with detection or things like those, if I can
afford the time.

    Thanks a lot for your interest :)

    Raúl Núñez de Arenas Coronado





------- 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] 11+ messages in thread

* [Bug bootstrap/8018] 'install-headers-dir' should default to 'install-headers-cp'
       [not found] <20020924034600.8018.raul@pleyades.net>
                   ` (6 preceding siblings ...)
  2003-06-03  9:23 ` raul@pleyades.net
@ 2003-06-03 12:22 ` pinskia@physics.uc.edu
  2003-08-25  5:04 ` pinskia at gcc dot gnu dot org
  2004-04-23 18:13 ` raul at pleyades dot net
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia@physics.uc.edu @ 2003-06-03 12:22 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=8018



------- Additional Comments From pinskia@physics.uc.edu  2003-06-03 12:22 -------
Make sure if you send a patch that you email to gcc-patches@gcc.gnu.org, and read 
http://gcc.gnu.org/contribute.html.



------- 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] 11+ messages in thread

* [Bug bootstrap/8018] 'install-headers-dir' should default to 'install-headers-cp'
       [not found] <20020924034600.8018.raul@pleyades.net>
                   ` (7 preceding siblings ...)
  2003-06-03 12:22 ` pinskia@physics.uc.edu
@ 2003-08-25  5:04 ` pinskia at gcc dot gnu dot org
  2004-04-23 18:13 ` raul at pleyades dot net
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-25  5: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=8018


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
  GCC build triplet|i686-pc-linux-gnu           |
   GCC host triplet|i686-pc-linux-gnu           |
 GCC target triplet|i686-pc-linux-gnu           |
   Last reconfirmed|2003-06-02 04:27:54         |2003-08-25 05:04:49
               date|                            |


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

* [Bug bootstrap/8018] 'install-headers-dir' should default to 'install-headers-cp'
       [not found] <20020924034600.8018.raul@pleyades.net>
                   ` (8 preceding siblings ...)
  2003-08-25  5:04 ` pinskia at gcc dot gnu dot org
@ 2004-04-23 18:13 ` raul at pleyades dot net
  9 siblings, 0 replies; 11+ messages in thread
From: raul at pleyades dot net @ 2004-04-23 18:13 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2338 bytes --]


------- Additional Comments From raul at pleyades dot net  2004-04-23 18:00 -------
Subject: Re:  'install-headers-dir' should default to 'install-headers-cp'

    Hi Dana :)

    Excuse me for bothering you again with this issue, but the
problem still persists in gcc 3.4.0 and now it's *worse*, because I
cannot solve the problem just with an script, I need in fact to tweak
the sources :(

    I quote part of my last message in the issue:

>  * dhazeghi@yahoo.com <gcc-bugzilla@gcc.gnu.org> dixit:
> > can you please confirm that this problem still occurs with gcc 3.3?
> > I suspect it does, but none of my systems lack tar, and I don't
> > have the privileges to remove it to check what happens. Thanks,
>     Confirmed. I have access to a machine where tar in installed, but
> my production machine just have 'pax', and of course 'cp', so the
> target 'install-headers-cp' works fine. In fact, this is what I do to
> do the installation:
> gcc_version=3.3
> ../gcc-$gcc_version/configure --prefix=/user/gccfull/ --with-cpp-install-dir=lib --program-transform-name='s/^c++filt$/gcc-c++filt/' --disable-nls --enable-languages=c,c++ --disable-multilib --disable-version-specific-runtime-libs --with-gxx-include-dir=/user/gccfull/include/myg++
> mv gcc/Makefile gcc/Makefile.TMP
> sed -e "s/INSTALL_HEADERS_DIR *=.*/INSTALL_HEADERS_DIR=install-headers-cp/" < gcc/Makefile.TMP > gcc/Makefile
> rm gcc/Makefile.TMP
> make CFLAGS='-O2' BOOT_CFLAGS='-O2' LIBCFLAGS='-g -O2' bootstrap
> make install

    Now I cannot do this tweak because in 3.4.0 the 'gcc/' subsystem
is configured not while running 'configure', but when doing the 'make
bootstrap', so I don't have access to the generated Makefile at the
proper time. The only solution for me is to tweak the sources and
change the default way of installing headers. This is not a good
thing to do, because if I use those modified sources on other systems
where the default should be 'install-headers-tar', this will break
things. This should be configurable by modifying the
INSTALL_HEADERS_DIR variable while doing make install or something
like that :(

    Thanks a lot for your attention :) If you need more details
please let me know and I'll provide you with all information I can.

    Raúl Núñez de Arenas Coronado



-- 


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


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

* [Bug bootstrap/8018] 'install-headers-dir' should default to 'install-headers-cp'
       [not found] <bug-8018-741@http.gcc.gnu.org/bugzilla/>
@ 2005-10-24  2:21 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-24  2:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from pinskia at gcc dot gnu dot org  2005-10-24 02:21 -------
The prerequistites for GCC listed here:
http://gcc.gnu.org/install/prerequisites.html

says that GNU tar is required.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


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


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

end of thread, other threads:[~2005-10-24  2:21 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20020924034600.8018.raul@pleyades.net>
2003-05-26  8:09 ` [Bug bootstrap/8018] 'install-headers-dir' should default to 'install-headers-cp' dhazeghi@yahoo.com
2003-05-26 14:05 ` pinskia@physics.uc.edu
2003-05-26 14:57 ` raul@pleyades.net
2003-06-02  4:27 ` dhazeghi@yahoo.com
2003-06-02  8:40 ` jsm28@cam.ac.uk
2003-06-02 18:14 ` dhazeghi@yahoo.com
2003-06-03  9:23 ` raul@pleyades.net
2003-06-03 12:22 ` pinskia@physics.uc.edu
2003-08-25  5:04 ` pinskia at gcc dot gnu dot org
2004-04-23 18:13 ` raul at pleyades dot net
     [not found] <bug-8018-741@http.gcc.gnu.org/bugzilla/>
2005-10-24  2:21 ` 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).