Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] Analysis results for 2018-10-09
Date: Thu, 11 Oct 2018 08:53:57 +0200	[thread overview]
Message-ID: <20181011085357.191cfccb@windsurf> (raw)
In-Reply-To: <87y3b5ks97.fsf@tkos.co.il>

Hello,

On Thu, 11 Oct 2018 07:43:32 +0300, Baruch Siach wrote:
> Thomas Petazzoni writes:
> >>          arm |                boa-0.94.14rc21 | NOK | http://autobuild.buildroot.net/results/e5ff4589243ce1f11248b5f9fab3cca614a48b11 | ORPH  
> >
> > (cd src && make - --no-print-directory - --jobserver-fds=6,7 -j)
> > make: unrecognized option '--jobserver-fds=6,7'
> >
> > This suddenly started happening on September 9, 2018. We have not
> > bumped boa. I'm not sure what caused this. It fails on different
> > autobuilder machines. Boa is calling submake with $(MFLAGS), which is
> > probably the issue, but why did this suddenly started to happen ?
> >
> > With a minimal configuration with just Boa, I cannot reproduce on my
> > machine here, neither on my autobuilder where the problem is reported
> > to occur.  
> 
> I guess it is related to commit 05167a9ffa (package/make: add host
> variant) which was applied on September 8, 23:36. Build seems to fail
> only on hosts with make older than 4.0, so the host-make build is
> triggered.

Yes, I figured that out after sending my summary. I reproduced the
issue on my build server, which has an old make installed system-wide,
and this issue seems to appear only when host-make is built prior to
boa. There's a mixup of make being used, with a new "make" used at the
top-level, passing options unknown to the old "make" used at the
lower-level.

> This failure is from before my patch bumping squid to 4.3 (commit
> 419c47a2135). But I believe we'll see the same failure with 4.3.
> 
> The build only fails with the CT-NG PowerPC e500 toolchain. Is that the
> only gcc 4.7 toolchain?
> 
> This is the failing code:
> 
> typedef double hbase_f(double);
> 
> class StatHist
> {
>     ...
>     hbase_f *val_in = nullptr;        /* e.g., log() for log-based histogram */
>     hbase_f *val_out = nullptr;       /* e.g., exp() for log based histogram */
> }
> 
> For some reason this version of gcc considers val_in/val_out as
> methods. But "fixing" the problem by changing the assignment to '= 0'
> makes gcc segfault, not even ICE. So I think this is a compiler
> bug. Should squid depend on gcc >= 4.8?

It would be nice to find an actual gcc bug report for this. I very much
prefer to document such issues using BR2_TOOLCHAIN_HAS_GCC_BUG_xyz
dependencies rather than semi-random gcc version dependencies.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

  reply	other threads:[~2018-10-11  6:53 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-10  6:00 [Buildroot] [autobuild.buildroot.net] Build results for 2018-10-09 Thomas Petazzoni
2018-10-10 15:48 ` [Buildroot] Analysis " Thomas Petazzoni
2018-10-10 16:28   ` Matthew Weber
2018-10-10 17:57     ` Fabrice Fontaine
2018-10-10 19:14       ` Thomas Petazzoni
2018-10-10 21:25         ` Matthew Weber
2018-10-11  6:50           ` Thomas Petazzoni
2018-10-11 13:35             ` Matthew Weber
2018-10-12  3:57             ` Matthew Weber
2018-10-12 14:16               ` Matthew Weber
2018-10-20 14:10                 ` Matthew Weber
2018-10-10 19:05     ` Thomas Petazzoni
2018-10-12 16:00     ` Matthew Weber
2018-10-10 21:30   ` Arnout Vandecappelle
2018-10-11  6:46     ` Thomas Petazzoni
2018-10-11  9:21     ` Peter Korsgaard
2018-10-11 21:32       ` Arnout Vandecappelle
2018-10-10 21:35   ` Arnout Vandecappelle
2018-10-12  6:54     ` Jörg Krause
2018-10-10 21:52   ` Christian Stewart
2018-10-10 21:54   ` Arnout Vandecappelle
2018-10-11  4:43   ` Baruch Siach
2018-10-11  6:53     ` Thomas Petazzoni [this message]
2018-10-11  9:48       ` Peter Korsgaard
2018-10-11 14:12         ` Thomas Petazzoni
2018-10-11 15:25           ` Peter Korsgaard
2018-10-11  8:39     ` Thomas Petazzoni
2018-10-11 10:42     ` Peter Korsgaard
2018-10-11 11:08       ` Baruch Siach
2018-10-11 11:18         ` Peter Korsgaard
2018-10-11 11:45           ` Baruch Siach
2018-10-11 12:46             ` Peter Korsgaard
2018-10-11 11:02   ` Giulio Benetti
2018-10-20 15:22     ` Giulio Benetti
2018-10-11 14:31   ` Frank Hunleth
2018-10-11 14:32     ` Thomas Petazzoni
2018-10-11 19:24   ` Giulio Benetti

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=20181011085357.191cfccb@windsurf \
    --to=thomas.petazzoni@bootlin.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