--- Begin Message ---
Subject: |
Compilation problems with coreutils-8.9 |
Date: |
Fri, 26 Aug 2011 15:58:25 +0100 |
User-agent: |
Mozilla/5.0 (X11; SunOS i86pc; rv:6.0) Gecko/20110814 Thunderbird/6.0 |
I suspect you're going to say "upgrade to a more modern compiler" for
most of these patches, but I had cause to install a later coreutils on
an old box where this is not a viable option, running
cc: Sun WorkShop 6 update 2 C 5.3 Patch 111679-12 2003/05/18
There are many uses of later C compilers to accept declarations
intermingled with statements, which are not supported by this compiler.
The attached diffs fix all these problems. Many of them are just
swapping a couple of lines, which is probably worth it in the interests
of compatibility.
Rob
--
E-Mail: address@hidden PHONE: +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England
diffs
Description: Text document
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#9380: Compilation problems with coreutils-8.9 |
Date: |
Fri, 26 Aug 2011 10:17:13 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.20) Gecko/20110817 Fedora/3.1.12-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.12 |
tag 9380 notabug
thanks
On 08/26/2011 08:58 AM, Rob McMahon wrote:
I suspect you're going to say "upgrade to a more modern compiler" for
most of these patches, but I had cause to install a later coreutils on
an old box where this is not a viable option,
Thanks for the efforts; and hopefully by posting to the list, you have
made life for someone else in the same situation. However, you are
correct that we will not take these patches into the upstream
repository. According to README, coreutils intentionally requires
minimal C99 features from your compiler, one of which is supporting
declaration-after-statement, and we are unwilling to take on the
maintenance burden of uglifying the code just to support super-old C89
compilers.
You may also want to try building the latest release (coreutils is
currently at 8.12), although you will have to make the same manual C89
patches on your own, as it will not be supported upstream.
--
Eric Blake address@hidden +1-801-349-2682
Libvirt virtualization library http://libvirt.org
--- End Message ---