* Dovetail build error for arm(64)
@ 2022-10-31 12:45 Bezdeka, Florian
2022-10-31 15:05 ` Philippe Gerum
0 siblings, 1 reply; 2+ messages in thread
From: Bezdeka, Florian @ 2022-10-31 12:45 UTC (permalink / raw)
To: rpm; +Cc: Kiszka, Jan, xenomai
Hi Philippe,
seems that the latest commits in dovetail-rebase branches introduced a
(build) regression.
The following is taken from our internal CI infrastructure. Maybe we
could/should extend the upstream dovetail CI to trigger the Xenomai-
Images pipelines as well.
I run the build for the 5.10 branch only, others might be affected too.
The build fails for the armhf and arm64 architecture.
2022-10-31 12:19:39 - INFO - | ../include/linux/ratelimit.h: In function 'ratelimit_state_init':
2022-10-31 12:19:39 - INFO - | ../include/linux/spinlock_types.h:187:2: error: incompatible types when assigning to type 'struct raw_spinlock' from type 'hard_spinlock_t' {aka 'struct hard_spinlock'}
2022-10-31 12:19:39 - INFO - | 187 | (hard_spinlock_t) __HARD_SPIN_LOCK_INITIALIZER(x)
2022-10-31 12:19:39 - INFO - | | ^
2022-10-31 12:19:39 - INFO - | ../include/linux/spinlock_pipeline.h:88:20: note: in expansion of macro '__HARD_SPIN_LOCK_UNLOCKED'
2022-10-31 12:19:39 - INFO - | 88 | do { *(__rlock) = __HARD_SPIN_LOCK_UNLOCKED(__rlock); } while (0)
2022-10-31 12:19:39 - INFO - | | ^~~~~~~~~~~~~~~~~~~~~~~~~
2022-10-31 12:19:39 - INFO - | ../include/linux/spinlock_types.h:118:4: note: in expansion of macro 'hard_spin_lock_init'
2022-10-31 12:19:39 - INFO - | 118 | hard_ ## __base_op(__RAWLOCK(__lock), ##__args); \
2022-10-31 12:19:39 - INFO - | | ^~~~~
2022-10-31 12:19:39 - INFO - | ../include/linux/spinlock.h:109:2: note: in expansion of macro 'LOCK_ALTERNATIVES'
2022-10-31 12:19:39 - INFO - | 109 | LOCK_ALTERNATIVES(lock, spin_lock_init, \
2022-10-31 12:19:39 - INFO - | | ^~~~~~~~~~~~~~~~~
2022-10-31 12:19:39 - INFO - | ../include/linux/ratelimit.h:14:2: note: in expansion of macro 'raw_spin_lock_init'
2022-10-31 12:19:39 - INFO - | 14 | raw_spin_lock_init(&rs->lock);
2022-10-31 12:19:39 - INFO - | | ^~~~~~~~~~~~~~~~~~
2022-10-31 12:19:39 - INFO - | ../include/linux/spinlock_types.h:187:2: error: incompatible types when assigning to type 'struct raw_spinlock' from type 'hard_spinlock_t' {aka 'struct hard_spinlock'}
2022-10-31 12:19:39 - INFO - | 187 | (hard_spinlock_t) __HARD_SPIN_LOCK_INITIALIZER(x)
2022-10-31 12:19:39 - INFO - | | ^
2022-10-31 12:19:39 - INFO - | ../include/linux/spinlock_pipeline.h:88:20: note: in expansion of macro '__HARD_SPIN_LOCK_UNLOCKED'
2022-10-31 12:19:39 - INFO - | 88 | do { *(__rlock) = __HARD_SPIN_LOCK_UNLOCKED(__rlock); } while (0)
2022-10-31 12:19:39 - INFO - | | ^~~~~~~~~~~~~~~~~~~~~~~~~
2022-10-31 12:19:39 - INFO - | ../include/linux/spinlock_pipeline.h:27:40: note: in expansion of macro 'hard_spin_lock_init'
2022-10-31 12:19:39 - INFO - | 27 | #define hybrid_spin_lock_init(__rlock) hard_spin_lock_init(__rlock)
2022-10-31 12:19:39 - INFO - | | ^~~~~~~~~~~~~~~~~~~
2022-10-31 12:19:39 - INFO - | ../include/linux/spinlock_types.h:121:4: note: in expansion of macro 'hybrid_spin_lock_init'
2022-10-31 12:19:39 - INFO - | 121 | hybrid_ ## __base_op(__RAWLOCK(__lock), ##__args); \
2022-10-31 12:19:39 - INFO - | | ^~~~~~~
2022-10-31 12:19:39 - INFO - | ../include/linux/spinlock.h:109:2: note: in expansion of macro 'LOCK_ALTERNATIVES'
2022-10-31 12:19:39 - INFO - | 109 | LOCK_ALTERNATIVES(lock, spin_lock_init, \
2022-10-31 12:19:39 - INFO - | | ^~~~~~~~~~~~~~~~~
2022-10-31 12:19:39 - INFO - | ../include/linux/ratelimit.h:14:2: note: in expansion of macro 'raw_spin_lock_init'
2022-10-31 12:19:39 - INFO - | 14 | raw_spin_lock_init(&rs->lock);
2022-10-31 12:19:39 - INFO - | | ^~~~~~~~~~~~~~~~~~
2022-10-31 12:19:39 - INFO - | make[5]: *** [../scripts/Makefile.build:117: arch/arm/kernel/asm-offsets.s] Error 1
Best regards,
Florian
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Dovetail build error for arm(64)
2022-10-31 12:45 Dovetail build error for arm(64) Bezdeka, Florian
@ 2022-10-31 15:05 ` Philippe Gerum
0 siblings, 0 replies; 2+ messages in thread
From: Philippe Gerum @ 2022-10-31 15:05 UTC (permalink / raw)
To: Bezdeka, Florian; +Cc: Kiszka, Jan, xenomai
"Bezdeka, Florian" <florian.bezdeka@siemens.com> writes:
> Hi Philippe,
>
> seems that the latest commits in dovetail-rebase branches introduced a
> (build) regression.
>
> The following is taken from our internal CI infrastructure. Maybe we
> could/should extend the upstream dovetail CI to trigger the Xenomai-
> Images pipelines as well.
>
> I run the build for the 5.10 branch only, others might be affected
> too.
Fixed in all affected branches, thanks.
--
Philippe.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-10-31 15:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-31 12:45 Dovetail build error for arm(64) Bezdeka, Florian
2022-10-31 15:05 ` Philippe Gerum
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.