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


Groups > linux.debian.kernel > #57873 > unrolled thread

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

Started byZack Weinberg <zackw@panix.com>
First post2017-06-01 22:40 +0200
Last post2017-06-03 23:10 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.debian.kernel


Contents

  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

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

FromZack Weinberg <zackw@panix.com>
Date2017-06-01 22:40 +0200
SubjectBug#863909: linux/a.out.h: should use #ifdef __linux__ not #ifdef linux, etc
Message-ID<tNF2V-7C0-5@gated-at.bofh.it>

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

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.

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

zw

-- System Information:
Debian Release: 9.0
  APT prefers unstable
  APT policy: (501, 'unstable'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'testing'), (101, 'experimental'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-- no debconf information

[toc] | [next] | [standalone]


#57887

FromBen Hutchings <ben@decadent.org.uk>
Date2017-06-03 23:10 +0200
Message-ID<tOot3-3F1-17@gated-at.bofh.it>
In reply to#57873

[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

[toc] | [prev] | [next] | [standalone]


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

Fromowner@bugs.debian.org (Debian Bug Tracking System)
Date2017-06-03 23:10 +0200
SubjectProcessed: Re: Bug#863909: linux/a.out.h: should use #ifdef __linux__ not #ifdef linux, etc
Message-ID<tOot3-3F1-19@gated-at.bofh.it>
In reply to#57873
Processing control commands:

> severity -1 wishlist
Bug #863909 [linux-libc-dev] linux/a.out.h: should use #ifdef __linux__ not #ifdef linux, etc
Severity set to 'wishlist' from 'normal'

-- 
863909: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863909
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web