public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/86007] precompiled header on bdver2 with -march=native triggers a "created and used with differing settings of '-mlwp'" warning, intermittently
       [not found] <bug-86007-4@http.gcc.gnu.org/bugzilla/>
@ 2022-07-06 21:38 ` stefantalpalaru at yahoo dot com
  2022-07-06 21:40 ` pinskia at gcc dot gnu.org
  2022-07-06 21:42 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: stefantalpalaru at yahoo dot com @ 2022-07-06 21:38 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86007

--- Comment #4 from Ștefan Talpalaru <stefantalpalaru at yahoo dot com> ---
Mystery solved: half the CPU cores report LWP as disabled, the other half as
enabled.

Both at boot, as seen with "grep -E '(core id|lwp)' /proc/cpuinfo" and
afterwards, using the CPUID instruction: "cpuid | grep 'lightweight profiling
support'".

So, depending on which CPU core GCC runs on, "-march=native" will enable or not
"-mlwp".

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug target/86007] precompiled header on bdver2 with -march=native triggers a "created and used with differing settings of '-mlwp'" warning, intermittently
       [not found] <bug-86007-4@http.gcc.gnu.org/bugzilla/>
  2022-07-06 21:38 ` [Bug target/86007] precompiled header on bdver2 with -march=native triggers a "created and used with differing settings of '-mlwp'" warning, intermittently stefantalpalaru at yahoo dot com
@ 2022-07-06 21:40 ` pinskia at gcc dot gnu.org
  2022-07-06 21:42 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-07-06 21:40 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86007

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Ștefan Talpalaru from comment #4)
> Mystery solved: half the CPU cores report LWP as disabled, the other half as
> enabled.

That has to be a kernel issue and not a GCC issue ....

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug target/86007] precompiled header on bdver2 with -march=native triggers a "created and used with differing settings of '-mlwp'" warning, intermittently
       [not found] <bug-86007-4@http.gcc.gnu.org/bugzilla/>
  2022-07-06 21:38 ` [Bug target/86007] precompiled header on bdver2 with -march=native triggers a "created and used with differing settings of '-mlwp'" warning, intermittently stefantalpalaru at yahoo dot com
  2022-07-06 21:40 ` pinskia at gcc dot gnu.org
@ 2022-07-06 21:42 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-07-06 21:42 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86007

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Not a GCC bug, a kernel bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-07-06 21:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-86007-4@http.gcc.gnu.org/bugzilla/>
2022-07-06 21:38 ` [Bug target/86007] precompiled header on bdver2 with -march=native triggers a "created and used with differing settings of '-mlwp'" warning, intermittently stefantalpalaru at yahoo dot com
2022-07-06 21:40 ` pinskia at gcc dot gnu.org
2022-07-06 21:42 ` pinskia at gcc dot gnu.org

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 read-only IMAP folder(s) and NNTP newsgroup(s).