Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] argp-standalone: fix build with > GCC5.1
Date: Tue, 31 Oct 2017 13:51:57 +0100	[thread overview]
Message-ID: <20171031135157.41463df8@windsurf> (raw)
In-Reply-To: <20171031061834.27832-1-matthew.weber@rockwellcollins.com>

Hello,

On Tue, 31 Oct 2017 01:18:34 -0500, Matt Weber wrote:
> The problem is the change of the default C standard from gnu89 to gnu11
> which changes the semantics of 'inline'. The issue is described in the
> Porting guide at https://gcc.gnu.org/gcc-5/porting_to.html. Adding the
> '-fgnu89-inline' option fixes the issue.
> 
> Similar issue:
> https://www.mail-archive.com/ptxdist at pengutronix.de/msg09746.html
> 
> Fixes:
> http://autobuild.buildroot.net/results/a9c/a9cedc54829b7bd2dd7ae6ff2bd6c6db242f1c35//
> 
> Tested via test-pkg with the following cfg
> BR2_PACKAGE_ARGP_STANDALONE=y
> 
> Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>

Thanks for looking into this. A few questions though:

 - Why does this happen only on ARC ?

 - Why are we seeing this issue only now, while we have started to use
   gcc 5.x a long, long time ago ?

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

  reply	other threads:[~2017-10-31 12:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-31  6:18 [Buildroot] [PATCH] argp-standalone: fix build with > GCC5.1 Matt Weber
2017-10-31 12:51 ` Thomas Petazzoni [this message]
2017-11-01 19:58 ` Thomas Petazzoni
2017-11-01 20:10   ` Matthew Weber
2017-11-26  9:17   ` Peter Korsgaard

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=20171031135157.41463df8@windsurf \
    --to=thomas.petazzoni@free-electrons.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