From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] squashfs: fix build with gcc 7
Date: Mon, 04 Sep 2017 22:56:44 +0200 [thread overview]
Message-ID: <87pob6mbcj.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <51890a64ced8a223b72a52bdb0e98fc31f539a30.1501007295.git.baruch@tkos.co.il> (Baruch Siach's message of "Tue, 25 Jul 2017 21:28:15 +0300")
>>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:
> gcc 7 with -Os (optimize for size) takes the liberty to remove the code of
> inline function entirely. This leads to undefined function references at link
> time. Restore gcc original inline behaviour to fix this issue.
> Fixes:
> http://autobuild.buildroot.net/results/3c5/3c5b1d799dce3ba361d618330c242bf4eba76019/
> http://autobuild.buildroot.net/results/09f/09f350b62e2486404b78222dce211400bb233000/
> http://autobuild.buildroot.net/results/693/693960ed7c01622c756dcc929e83b3b713c16ccc/
> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
> The gcc doc[1] doesn't mention that feature of C99. A gcc bug, maybe?
> [1] https://gcc.gnu.org/onlinedocs/gcc/Inline.html
Committed to 2017.02.x, thanks.
--
Bye, Peter Korsgaard
prev parent reply other threads:[~2017-09-04 20:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-25 18:28 [Buildroot] [PATCH] squashfs: fix build with gcc 7 Baruch Siach
2017-07-31 17:34 ` Thomas Petazzoni
2017-08-06 7:28 ` Baruch Siach
2017-09-04 20:56 ` Peter Korsgaard [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=87pob6mbcj.fsf@dell.be.48ers.dk \
--to=peter@korsgaard.com \
--cc=buildroot@busybox.net \
/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