public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/24984]  New: Use of old "tail" parameters in Makefile*
@ 2005-11-22  2:59 malitzke at metronets dot com
  2005-11-22  3:03 ` [Bug bootstrap/24984] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: malitzke at metronets dot com @ 2005-11-22  2:59 UTC (permalink / raw)
  To: gcc-bugs

The "tail" utility in its newer versions requires 'tail -c +16' instead of the
previous 'tail +16c'.
This older version seems to used from gcc-3.4* through gcc-4.1* Makefile.in. It
affects testing against stage2.
a simple test that shows this is to execute from the gcc-package root the
following:
for i in `find -name 'Makefile*'` ; do grep -H -e 'tail +16' $i ; done
This is pretty petty stuff but cqan save some annoyance.


-- 
           Summary: Use of old "tail" parameters in Makefile*
           Product: gcc
           Version: 3.4.5
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: malitzke at metronets dot com
 GCC build triplet: all
  GCC host triplet: all
GCC target triplet: all


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


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

* [Bug bootstrap/24984] Use of old "tail" parameters in Makefile*
  2005-11-22  2:59 [Bug bootstrap/24984] New: Use of old "tail" parameters in Makefile* malitzke at metronets dot com
@ 2005-11-22  3:03 ` pinskia at gcc dot gnu dot org
  2005-11-22  6:00 ` malitzke at metronets dot com
  2005-11-22  6:13 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-22  3:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2005-11-22 03:03 -------
As mentioned over and over again, coreutils is wrong.

See PR 14251 and some new discussions on this recently.

*** This bug has been marked as a duplicate of 14251 ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE
            Summary|Use of old "tail" parameters|Use of old "tail" parameters
                   |in Makefile*                |in Makefile*


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


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

* [Bug bootstrap/24984] Use of old "tail" parameters in Makefile*
  2005-11-22  2:59 [Bug bootstrap/24984] New: Use of old "tail" parameters in Makefile* malitzke at metronets dot com
  2005-11-22  3:03 ` [Bug bootstrap/24984] " pinskia at gcc dot gnu dot org
@ 2005-11-22  6:00 ` malitzke at metronets dot com
  2005-11-22  6:13 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: malitzke at metronets dot com @ 2005-11-22  6:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from malitzke at metronets dot com  2005-11-22 06:00 -------
Upon further investigation using coreutils-5.93 (using both the documentation
and the compiled tail as test case) the following stands out:
The interpretation adopted by support is on valid if env _POSIX2_VERSION=199209
is set. The default used by the coreutils group is valid if 
env _POSIX2_VERSION=200112 is set.
If the GCC group has valid reason to insist on the older (1992) POSIX standard
the the __solution__ to this issue might be to have a statement in the main
configure file like: env _POSIX2_VERSION=199209 preceded by a comment like:
# As all other GCC applicable standards refer to the period befor December 2001
we are also using the POSIX2 standard of 1992 for our use of head or tail.
Claiming the coreutils group to be wrong will not solve the problem for the
users of GCC.


-- 

malitzke at metronets dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|sje at cup dot hp dot com   |
             Status|RESOLVED                    |UNCONFIRMED
  GCC build triplet|all                         |
         Resolution|DUPLICATE                   |


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


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

* [Bug bootstrap/24984] Use of old "tail" parameters in Makefile*
  2005-11-22  2:59 [Bug bootstrap/24984] New: Use of old "tail" parameters in Makefile* malitzke at metronets dot com
  2005-11-22  3:03 ` [Bug bootstrap/24984] " pinskia at gcc dot gnu dot org
  2005-11-22  6:00 ` malitzke at metronets dot com
@ 2005-11-22  6:13 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-22  6:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2005-11-22 06:13 -------
Please read the recent thread:
http://gcc.gnu.org/ml/gcc-patches/2005-11/msg00618.html

Especially this one:
http://gcc.gnu.org/ml/gcc-patches/2005-11/msg00783.html

Again coreutils is buggy.

*** This bug has been marked as a duplicate of 14251 ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2005-11-22  6:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-22  2:59 [Bug bootstrap/24984] New: Use of old "tail" parameters in Makefile* malitzke at metronets dot com
2005-11-22  3:03 ` [Bug bootstrap/24984] " pinskia at gcc dot gnu dot org
2005-11-22  6:00 ` malitzke at metronets dot com
2005-11-22  6:13 ` 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).