public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* arch linux with gcc 5.1.0 doesn't like include/linux/rcutiny.h
@ 2015-06-16  0:11 Jim Davis
  2015-06-16  0:20 ` Paul E. McKenney
  0 siblings, 1 reply; 3+ messages in thread
From: Jim Davis @ 2015-06-16  0:11 UTC (permalink / raw)
  To: linux-kernel, Paul McKenney, josh

Just an FYI, but with next-20150615 (and I think some previous days too IIRC),

In file included from include/linux/rcupdate.h:429:0,
                 from include/linux/srcu.h:33,
                 from include/linux/notifier.h:15,
                 from include/linux/memory_hotplug.h:6,
                 from include/linux/mmzone.h:797,
                 from include/linux/gfp.h:5,
                 from include/linux/kmod.h:22,
                 from include/linux/module.h:13,
                 from kernel/rcu/rcutorture.c:28:
include/linux/rcutiny.h: In function ‘rcu_barrier_sched’:
include/linux/rcutiny.h:55:20: internal compiler error: Segmentation fault
 static inline void rcu_barrier_sched(void)
                    ^

That's with a random configuration file setting

# RCU Subsystem
CONFIG_TINY_RCU=y
CONFIG_RCU_EXPERT=y
CONFIG_SRCU=y
CONFIG_TASKS_RCU=y
CONFIG_RCU_STALL_COMMON=y
# CONFIG_TREE_RCU_TRACE is not set
CONFIG_RCU_KTHREAD_PRIO=0
# CONFIG_RCU_EXPEDITE_BOOT is not set
# RCU Debugging
CONFIG_PROVE_RCU=y
CONFIG_PROVE_RCU_REPEATEDLY=y
CONFIG_SPARSE_RCU_POINTER=y
CONFIG_RCU_TORTURE_TEST=m
# CONFIG_RCU_TORTURE_TEST_SLOW_PREINIT is not set
# CONFIG_RCU_TORTURE_TEST_SLOW_INIT is not set
# CONFIG_RCU_TORTURE_TEST_SLOW_CLEANUP is not set
CONFIG_RCU_CPU_STALL_TIMEOUT=21
CONFIG_RCU_TRACE=y
# CONFIG_RCU_EQS_DEBUG is not set

Jim

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

* Re: arch linux with gcc 5.1.0 doesn't like include/linux/rcutiny.h
  2015-06-16  0:11 arch linux with gcc 5.1.0 doesn't like include/linux/rcutiny.h Jim Davis
@ 2015-06-16  0:20 ` Paul E. McKenney
  2015-06-16  0:27   ` Josh Triplett
  0 siblings, 1 reply; 3+ messages in thread
From: Paul E. McKenney @ 2015-06-16  0:20 UTC (permalink / raw)
  To: Jim Davis; +Cc: linux-kernel, josh

On Mon, Jun 15, 2015 at 05:11:16PM -0700, Jim Davis wrote:
> Just an FYI, but with next-20150615 (and I think some previous days too IIRC),
> 
> In file included from include/linux/rcupdate.h:429:0,
>                  from include/linux/srcu.h:33,
>                  from include/linux/notifier.h:15,
>                  from include/linux/memory_hotplug.h:6,
>                  from include/linux/mmzone.h:797,
>                  from include/linux/gfp.h:5,
>                  from include/linux/kmod.h:22,
>                  from include/linux/module.h:13,
>                  from kernel/rcu/rcutorture.c:28:
> include/linux/rcutiny.h: In function ‘rcu_barrier_sched’:
> include/linux/rcutiny.h:55:20: internal compiler error: Segmentation fault
>  static inline void rcu_barrier_sched(void)
>                     ^
> 
> That's with a random configuration file setting

I presume that you are reporting it to the gcc guys as well?  If nothing
else, for the obtuseness of the error message?

							Thanx, Paul

> # RCU Subsystem
> CONFIG_TINY_RCU=y
> CONFIG_RCU_EXPERT=y
> CONFIG_SRCU=y
> CONFIG_TASKS_RCU=y
> CONFIG_RCU_STALL_COMMON=y
> # CONFIG_TREE_RCU_TRACE is not set
> CONFIG_RCU_KTHREAD_PRIO=0
> # CONFIG_RCU_EXPEDITE_BOOT is not set
> # RCU Debugging
> CONFIG_PROVE_RCU=y
> CONFIG_PROVE_RCU_REPEATEDLY=y
> CONFIG_SPARSE_RCU_POINTER=y
> CONFIG_RCU_TORTURE_TEST=m
> # CONFIG_RCU_TORTURE_TEST_SLOW_PREINIT is not set
> # CONFIG_RCU_TORTURE_TEST_SLOW_INIT is not set
> # CONFIG_RCU_TORTURE_TEST_SLOW_CLEANUP is not set
> CONFIG_RCU_CPU_STALL_TIMEOUT=21
> CONFIG_RCU_TRACE=y
> # CONFIG_RCU_EQS_DEBUG is not set
> 
> Jim
> 


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

* Re: arch linux with gcc 5.1.0 doesn't like include/linux/rcutiny.h
  2015-06-16  0:20 ` Paul E. McKenney
@ 2015-06-16  0:27   ` Josh Triplett
  0 siblings, 0 replies; 3+ messages in thread
From: Josh Triplett @ 2015-06-16  0:27 UTC (permalink / raw)
  To: Paul E. McKenney; +Cc: Jim Davis, linux-kernel

On Mon, Jun 15, 2015 at 05:20:31PM -0700, Paul E. McKenney wrote:
> On Mon, Jun 15, 2015 at 05:11:16PM -0700, Jim Davis wrote:
> > Just an FYI, but with next-20150615 (and I think some previous days too IIRC),
> > 
> > In file included from include/linux/rcupdate.h:429:0,
> >                  from include/linux/srcu.h:33,
> >                  from include/linux/notifier.h:15,
> >                  from include/linux/memory_hotplug.h:6,
> >                  from include/linux/mmzone.h:797,
> >                  from include/linux/gfp.h:5,
> >                  from include/linux/kmod.h:22,
> >                  from include/linux/module.h:13,
> >                  from kernel/rcu/rcutorture.c:28:
> > include/linux/rcutiny.h: In function ‘rcu_barrier_sched’:
> > include/linux/rcutiny.h:55:20: internal compiler error: Segmentation fault
> >  static inline void rcu_barrier_sched(void)
> >                     ^
> > 
> > That's with a random configuration file setting
> 
> I presume that you are reporting it to the gcc guys as well?  If nothing
> else, for the obtuseness of the error message?

Agreed.  Can you reproduce this with a preprocessed file ("make
kernel/rcu/rcutorture.i" first), and then provide that file in a bug
report to GCC?

- Josh Triplett

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

end of thread, other threads:[~2015-06-16  0:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-16  0:11 arch linux with gcc 5.1.0 doesn't like include/linux/rcutiny.h Jim Davis
2015-06-16  0:20 ` Paul E. McKenney
2015-06-16  0:27   ` Josh Triplett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox