Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1165618 > unrolled thread

arch linux with gcc 5.1.0 doesn't like include/linux/rcutiny.h

Started byJim Davis <jim.epost@gmail.com>
First post2015-06-16 02:20 +0200
Last post2015-06-16 02:30 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.kernel


Contents

  arch linux with gcc 5.1.0 doesn't like include/linux/rcutiny.h Jim Davis <jim.epost@gmail.com> - 2015-06-16 02:20 +0200
    Re: arch linux with gcc 5.1.0 doesn't like include/linux/rcutiny.h Josh Triplett <josh@joshtriplett.org> - 2015-06-16 02:30 +0200
    Re: arch linux with gcc 5.1.0 doesn't like include/linux/rcutiny.h "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2015-06-16 02:30 +0200

#1165618 — arch linux with gcc 5.1.0 doesn't like include/linux/rcutiny.h

FromJim Davis <jim.epost@gmail.com>
Date2015-06-16 02:20 +0200
Subjectarch linux with gcc 5.1.0 doesn't like include/linux/rcutiny.h
Message-ID<pBMLD-2Cj-3@gated-at.bofh.it>
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1165619

FromJosh Triplett <josh@joshtriplett.org>
Date2015-06-16 02:30 +0200
Message-ID<pBMVj-2Nv-1@gated-at.bofh.it>
In reply to#1165618
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1165620

From"Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Date2015-06-16 02:30 +0200
Message-ID<pBMVj-2Nv-3@gated-at.bofh.it>
In reply to#1165618
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
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web