-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add linux-headers/arch/arm64
since we only have x86
#312
Comments
If CIL can parse the newer ones, absolutely! |
@vesalvojdani I tried to use a newer kernel, but config fails on my machine: $ mv linux-headers linux-headers-old
$ wget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.14.2.tar.xz
$ tar xf linux-5.14.2.tar.xz
$ mv linux-5.14.2 linux-headers
$ make test
Testing 00/14 sanity/startstate Status: 1 (error)
- /Users/voglerr/goblint/analyzer/linux-headers/include/linux/kconfig.h:5:10: fatal error: generated/autoconf.h: No such file or directory
- 5 | #include <generated/autoconf.h>
- | ^~~~~~~~~~~~~~~~~~~~~~
- compilation terminated.
- Goblint: Preprocessing failed.
$ cd linux-headers
$ make
***
*** Configuration file ".config" not found!
***
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
***
$ make menuconfig
gcc -no-integrated-as --prefix= -Werror=unknown-warning-option: unknown assembler invoked
scripts/Kconfig.include:50: Sorry, this assembler is not supported.
make[2]: *** [menuconfig] Error 1
make[1]: *** [menuconfig] Error 2
make: *** [__sub-make] Error 2
$ cp ../linux-headers-old/config.txt .config
$ make oldconfig
gcc -no-integrated-as --prefix= -Werror=unknown-warning-option: unknown assembler invoked
scripts/Kconfig.include:50: Sorry, this assembler is not supported. |
I think @vesalvojdani tried something (on non-M1 Mac I guess), but then found out that newer kernels use some C11 features like |
We can also use an older version (our |
Also tried |
On Apple M1 many regression tests fail due to the wrongly used
x86
headers:pvclock.h
:I think these headers are pretty old, maybe it's also a good idea to update them.
The text was updated successfully, but these errors were encountered: