05-14-2021, 06:26 AM
(05-07-2021, 11:44 PM)ppafin Wrote: Just received my PBP and would like to rebuild kernel for Manjaro with some custom settings.
I just cannot find any pointers how I'm able to rebuild recent kernel and from what repo's (including patches)?
I currently have the kernel which came pre-installed on my new PBP:
Code:
Linux bp 5.12.2-2-MANJARO-ARM #1 SMP Sat May 8 20:04:09 UTC 2021 aarch64 GNU/Linux
I tried to rebuild the kernel using ABS, as documented here: https://wiki.archlinux.org/title/Kernel/...ild_System and left most of the options unchanged (so that it should use the config of the current kernel. I end up with the following error during build
crypto/aegis128-neon-inner.c: In function ‘crypto_aegis128_init_neon’:
crypto/aegis128-neon-inner.c:150:3: error: incompatible types when initializing type ‘unsigned char’ using type ‘uin
t8x16_t’
150 | k ^ vld1q_u8(const0),
| ^
crypto/aegis128-neon-inner.c:151:3: error: incompatible types when initializing type ‘unsigned char’ using type ‘uin
t8x16_t’
151 | k ^ vld1q_u8(const1),
|
This seems to be a known bug in gcc (I'm using the 10.2.0 version from core) which is fixed in later version, so now I'm going to install gccjit and try again.
If anyone has any advice or questions I'd be pleased to hear them.