<div dir="auto"><div>I've already send this to that list a few days ago, but since I didn't got any reply there I've also asked here in case that someone else shares the same experience.</div><div dir="auto"><br></div><div dir="auto">Dimitris<br><br><div class="gmail_quote" dir="auto"><div dir="ltr">On Wed, 10 Oct 2018, 21:48 Bruce Ashfield, <<a href="mailto:bruce.ashfield@windriver.com">bruce.ashfield@windriver.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 2018-10-10 2:18 PM, Dimitris Tassopoulos wrote:<br>
> Hi all!<br>
> <br>
> I've tried to build the latest preempt-rt kernel from the <br>
> `v4.14/standard/preempt-rt/base`<br>
> and it fails to build. These are the hashes I've used:<br>
> <br>
<br>
This should go to the linux-yocto list, since that's where<br>
people interested in the linux-yocto kernel variants will<br>
notice it.<br>
<br>
In this case, there was a bad merge. If you check the<br>
preempt-rt branches of 4.14 there's a fix queued, but I<br>
haven't sent SRCREV updates yet.<br>
<br>
Bruce<br>
<br>
> ```<br>
> LINUX_VERSION = "4.14.71"<br>
> SRCREV_machine = "c37a14708f5b618602f84f83f902346e055824c3"<br>
> SRCREV_meta = "1fb0b0379fb5883ce5af7485374e3f78ee4272d3"<br>
> ```<br>
> <br>
> And the errors I get are:<br>
> ```<br>
> /rnd/yocto/nativeos/build/tmp/work-shared/congatec/kernel-source/kernel/locking/rtmutex.c: <br>
> In function '__rt_mutex_lock':<br>
> /rnd/yocto/nativeos/build/tmp/work-shared/congatec/kernel-source/kernel/locking/rtmutex.c:2044:48: <br>
> error: passing argument 3 of 'rt_mutex_fastlock' from incompatible <br>
> pointer type [-Werror=incompatible-pointer-types]<br>
>Â Â rt_mutex_fastlock(lock, TASK_UNINTERRUPTIBLE, rt_mutex_slowlock);<br>
>Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â ^~~~~~~~~~~~~~~~~<br>
> /rnd/yocto/nativeos/build/tmp/work-shared/congatec/kernel-source/kernel/locking/rtmutex.c:1935:1: <br>
> note: expected 'struct ww_acquire_ctx *' but argument is of type 'int <br>
> (*)(struct rt_mutex *, int, struct hrtimer_sleeper *, enum <br>
> rtmutex_chainwalk, struct ww_acquire_ctx *)'<br>
>Â Â rt_mutex_fastlock(struct rt_mutex *lock, int state,<br>
>Â Â ^~~~~~~~~~~~~~~~~<br>
> /rnd/yocto/nativeos/build/tmp/work-shared/congatec/kernel-source/kernel/locking/rtmutex.c:2044:2: <br>
> error: too few arguments to function 'rt_mutex_fastlock'<br>
>Â Â rt_mutex_fastlock(lock, TASK_UNINTERRUPTIBLE, rt_mutex_slowlock);<br>
>Â Â ^~~~~~~~~~~~~~~~~<br>
> /rnd/yocto/nativeos/build/tmp/work-shared/congatec/kernel-source/kernel/locking/rtmutex.c:1935:1: <br>
> note: declared here<br>
>Â Â rt_mutex_fastlock(struct rt_mutex *lock, int state,<br>
>Â Â ^~~~~~~~~~~~~~~~~<br>
> /rnd/yocto/nativeos/build/tmp/work-shared/congatec/kernel-source/kernel/locking/rtmutex.c: <br>
> In function 'rt_mutex_lock':<br>
> /rnd/yocto/nativeos/build/tmp/work-shared/congatec/kernel-source/kernel/locking/rtmutex.c:2069:2: <br>
> error: too many arguments to function 'rt_mutex_lock_state'<br>
>Â Â rt_mutex_lock_state(lock, TASK_UNINTERRUPTIBLE, 0);<br>
>Â Â ^~~~~~~~~~~~~~~~~~~<br>
> /rnd/yocto/nativeos/build/tmp/work-shared/congatec/kernel-source/kernel/locking/rtmutex.c:2028:20: <br>
> note: declared here<br>
>Â Â static int __sched rt_mutex_lock_state(struct rt_mutex *lock, int state)<br>
> ```<br>
> <br>
> Is there any change that the latest rt44 patches are nor applied?<br>
> <br>
> Thanks!<br>
> Dimitris<br>
> <br>
> <br>
<br>
</blockquote></div></div></div>