Skip to contentSkip to conversation

FRV build failure with latest kernel

DISCUSSION Guenter Roeck 2 participants 3 messages Aug 6, 2014

lore
Share & tools
lore
#0 lore raw

Building frv:defconfig ... failed
--------------
Error log:
In file included from kernel/locking/mutex.c:28:0:
kernel/locking/mcs_spinlock.h: In function 'mcs_spin_lock':
kernel/locking/mcs_spinlock.h:87:2: error: implicit declaration of function 'cpu_relax_lowlatency' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[2]: *** [kernel/locking/mutex.o] Error 1

Due to commit 3a6bfbc91d (arch, locking: Ciao arch_mutex_cpu_relax()), which missed frv.

Guenter

#1 lore raw

________________________________________
From: Guenter Roeck [[email protected]]
Sent: Wednesday, August 06, 2014 6:59 AM
To: David Howells
Cc: [email protected]; Bueso, Davidlohr
Subject: FRV build failure with latest kernel

Building frv:defconfig ... failed
--------------
Error log:
In file included from kernel/locking/mutex.c:28:0:
kernel/locking/mcs_spinlock.h: In function 'mcs_spin_lock':
kernel/locking/mcs_spinlock.h:87:2: error: implicit declaration of function 'cpu_relax_lowlatency' [-Werror=implicit-function-declaration]https://lkml.org/lkml/2014/8/5/442
cc1: some warnings being treated as errors
make[2]: *** [kernel/locking/mutex.o] Error 1

Due to commit 3a6bfbc91d (arch, locking: Ciao arch_mutex_cpu_relax()), which missed frv.

Yeah, I sent out the fix yesterday: https://lkml.org/lkml/2014/8/5/442

(excuse my email formatting)

#2 lore raw
Quoted 17 lines · Davidlohr

________________________________________
From: Guenter Roeck [[email protected]]
Sent: Wednesday, August 06, 2014 6:59 AM
To: David Howells
Cc: [email protected]; Bueso, Davidlohr
Subject: FRV build failure with latest kernel

Building frv:defconfig ... failed
--------------
Error log:
In file included from kernel/locking/mutex.c:28:0:
kernel/locking/mcs_spinlock.h: In function 'mcs_spin_lock':
kernel/locking/mcs_spinlock.h:87:2: error: implicit declaration of function 'cpu_relax_lowlatency' [-Werror=implicit-function-declaration]https://lkml.org/lkml/2014/8/5/442
cc1: some warnings being treated as errors
make[2]: *** [kernel/locking/mutex.o] Error 1

Quoted 4 lines

Due to commit 3a6bfbc91d (arch, locking: Ciao arch_mutex_cpu_relax()), which missed frv.

Yeah, I sent out the fix yesterday: https://lkml.org/lkml/2014/8/5/442

Looks like Geert was faster than me, as usual ;-).

Thanks, hope this will make it upstream soon.

Guenter