This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
Re: build/894: GDB 5.3 incompatibilities with coreutils 4.5.4 in POSIX-2001 mode
- From: Michael Elizabeth Chastain <mec at shout dot net>
- To: mec at shout dot net
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 25 Feb 2003 14:58:00 -0000
- Subject: Re: build/894: GDB 5.3 incompatibilities with coreutils 4.5.4 in POSIX-2001 mode
- Reply-to: Michael Elizabeth Chastain <mec at shout dot net>
The following reply was made to PR build/894; it has been noted by GNATS.
From: Michael Elizabeth Chastain <mec at shout dot net>
To: gdb-gnats at sources dot redhat dot com
Cc:
Subject: Re: build/894: GDB 5.3 incompatibilities with coreutils 4.5.4 in POSIX-2001 mode
Date: Tue, 25 Feb 2003 08:51:07 -0600
This patch has some obsolete bits:
Makefile.in
head -1 => sed q
No longer needed.
Makefile.in has no more 'head' commands.
configure
tail -1 => sed -n '$p'
No longer needed.
This file has no more 'tail' commands.
if [ ... -o ... ]
No longer needed.
This code has been replaced.
These files have changed a lot. I eyeballed them for obsolete bits
such as 'head' and 'tail' but didn't spot anything.
These bits are still relevant:
ltcf-c.sh
head -1 => sed 1q
This occurs in a "host=cygwin|mingw" section so I am unable
to test it at this time.
ltcf-gcj.sh
head -1 => sed 1q
This occurs in a "host=cygwin|mingw" section so I am unable
to test it at this time.
ltmain.sh
sort +2 => sort -k 3
This occurs in a "host=rhapsody|darwin" section so I am unable
to test it at this time.
Since I'm unable to test these, I'm not going to pursue trying
to merge them. I may file a gcc PR so that they can pursue this.
I did build and install gdb and run a complete gdb_mbuild.sh with
textutils 2.1 and _POSIX2_VERSION=200112 on my machine (host
i686-pc-linux-gnu), so that code path is clean.
Note that if someone adds a new strictly POSIX host, it will likely
work, because the dirty code is in host-specific code.
Michael C