From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Closed]: gcc + cross: remove default definition of __gnu_linux__ on ppc*-musl
Date: Sun, 05 May 2019 23:42:30 +0200 [thread overview]
Message-ID: <20190505214230.OikUvYRgvzWawTA3XxVcUTj01LLp2rGzUjA1YZZpmP8@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11524@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 725 bytes --]
There's a closed pull request on the void-packages repository
gcc + cross: remove default definition of __gnu_linux__ on ppc*-musl
https://github.com/void-linux/void-packages/pull/11524
Description: The ppc compilers on musl define the `__gnu_linux__` macro by default, while on other architectures they do not.
Expected output:
```
$ gcc -dM -E - < /dev/null|grep gnu_linux
$
```
Output before patching:
```
$ gcc -dM -E - < /dev/null|grep gnu_linux
#define __gnu_linux__ 1
$
```
This breaks compilation of gimp and maybe other things. It is fixed in gcc 9.1, but the patch is a part of a bigger refactor that's too big to apply, so just do it conditionally like this, we can remove it once we update gcc.
prev parent reply other threads:[~2019-05-05 21:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-05 20:14 [PR PATCH] " voidlinux-github
2019-05-05 21:42 ` voidlinux-github [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190505214230.OikUvYRgvzWawTA3XxVcUTj01LLp2rGzUjA1YZZpmP8@z \
--to=voidlinux-github@inbox.vuxu.org \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).