Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #57887

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

From Ben Hutchings <ben@decadent.org.uk>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#863909: linux/a.out.h: should use #ifdef __linux__ not #ifdef linux, etc
Date 2017-06-03 23:10 +0200
Message-ID <tOot3-3F1-17@gated-at.bofh.it> (permalink)
References <tNF2V-7C0-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#863909: linux/a.out.h: should use #ifdef __linux__ not #ifdef linux, etc Zack Weinberg <zackw@panix.com> - 2017-06-01 22:40 +0200
  Bug#863909: linux/a.out.h: should use #ifdef __linux__ not #ifdef linux, etc Ben Hutchings <ben@decadent.org.uk> - 2017-06-03 23:10 +0200
  Processed: Re: Bug#863909: linux/a.out.h: should use #ifdef  __linux__ not #ifdef linux, etc owner@bugs.debian.org (Debian Bug Tracking System) - 2017-06-03 23:10 +0200

csiph-web