[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#863909: linux/a.out.h: should use #ifdef __linux__ not #ifdef linux, etc



Control: severity -1 wishlist

On Thu, 2017-06-01 at 16:37 -0400, Zack Weinberg wrote:
> Package: linux-libc-dev
> Version: 4.11-1~exp2
> Severity: normal
> File: /usr/include/linux/a.out.h
> Tags: upstream, patch
> 
> linux/a.out.h contains a number of uses of "deprecated
> system-specific predefined macros" that will not be defined
> when the compiler is used in a strict conformance mode, see
> https://gcc.gnu.org/onlinedocs/gcc-6.3.0/cpp/System-specific-Predefined-Macros.html
> for details.
> 
> This would only be a minor problem, except that it causes the GCC build
> process to copy the header, "fix" it, and install the "fixed" copy in a
> private directory that is searched before /usr/include.  It is desirable
> for GCC not to do this to any headers, because it means updates to the
> original are silently ignored until the GCC package is itself updated.

The a.out format is obsolete and was replaced by ELF even before Debian
made its first release.  This header is unlikely to be updated upstream
in any interesting way.

> Please apply the attached patch.  It would be best if it were installed
> to all actively maintained Debian kernels.  I will submit it upstream.

I see no urgency in fixing this.  Downgrading it accordingly.

Ben.

-- 
Ben Hutchings
Experience is directly proportional to the value of equipment
destroyed.
                                                         - Carolyn
Scheppner

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: