All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philip Li <philip.li@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [jani:device-info-inheritance-v3 3/19] drivers/gpu/drm/i915/i915_pci.c:212:2: error: initializer element is not a compile-time constant
Date: Tue, 10 Mar 2020 23:58:53 +0800	[thread overview]
Message-ID: <20200310155853.GE22995@intel.com> (raw)
In-Reply-To: <874kuwoani.fsf@intel.com>

[-- Attachment #1: Type: text/plain, Size: 2236 bytes --]

On Tue, Mar 10, 2020 at 10:51:29AM +0200, Jani Nikula wrote:
> On Mon, 09 Mar 2020, Nick Desaulniers <ndesaulniers@google.com> wrote:
> > On Mon, Mar 9, 2020 at 1:32 AM Jani Nikula <jani.nikula@linux.intel.com> wrote:
> >>
> >> On Fri, 06 Mar 2020, Nick Desaulniers <ndesaulniers@google.com> wrote:
> >> > Based on the tree, I think this report was meant to go to Jani (cc'ed)?
> >>
> >> It baffles me that the build bot burns resources on building random
> >> branches in my personal repositories.
> >
> > It uses a branch naming convention to avoid testing branches:
> > https://github.com/intel/lkp-tests/wiki/LKP-FAQ#is-there-a-way-not-to-trigger-kbuild-tests-on-a-specific-branch
> >
> > But in this case, it seems it caught a build breakage even further
> > upstream, which is valuable, right?
> 
> I guess, though I usually only use it to share some half-baked
> stuff. Perhaps I'll also start using it for build testing some of the
> more obscure ideas. ;)
> 
> >> That said, this builds on GCC 8 just fine. Is clang not able to do this?
> >
> > Places that require integer constant expressions can be very subtle.
> > See this recent example in i915 for example:
> > https://github.com/ClangBuiltLinux/linux/issues/918
> > Sometimes reproducing also depends on some configs.  In this case,
> > it's not as I've fetched your branch and can repro on defconfig.
> 
> Yeah, reminds me of earlier issues with GCC and Clang having different
> order in certain checks and optimizations, leading to Clang warnings in
> code that GCC just optimized away.
> 
> > This is definitely our bug: https://bugs.llvm.org/show_bug.cgi?id=45157
> 
> Any idea if older GCC is also limited in this regard? What versions does
> the kbuild bot test?
Hi Jani, we have gcc-4.9/gcc-5/gcc-6/gcc-7 now, gcc-7 is default, and others
will be picked up randomly, thus it may not have chance to test this commit
yet, we can give a try to let you know later.

> 
> BR,
> Jani.
> 
> 
> 
> -- 
> Jani Nikula, Intel Open Source Graphics Center
> _______________________________________________
> kbuild-all mailing list -- kbuild-all(a)lists.01.org
> To unsubscribe send an email to kbuild-all-leave(a)lists.01.org

  reply	other threads:[~2020-03-10 15:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-06  1:30 [jani:device-info-inheritance-v3 3/19] drivers/gpu/drm/i915/i915_pci.c:212:2: error: initializer element is not a compile-time constant kbuild test robot
2020-03-06 17:30 ` Nick Desaulniers
2020-03-09  8:32   ` Jani Nikula
2020-03-09 18:03     ` Nick Desaulniers
2020-03-10  8:51       ` Jani Nikula
2020-03-10 15:58         ` Philip Li [this message]
2020-03-16 23:29         ` Nick Desaulniers

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=20200310155853.GE22995@intel.com \
    --to=philip.li@intel.com \
    --cc=kbuild-all@lists.01.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.