Skip to content

Instantly share code, notes, and snippets.

@orimanabu
Last active September 29, 2025 02:21
Show Gist options
  • Select an option

  • Save orimanabu/b99883f50d62aa8346167a691f1432b0 to your computer and use it in GitHub Desktop.

Select an option

Save orimanabu/b99883f50d62aa8346167a691f1432b0 to your computer and use it in GitHub Desktop.
strace for vfio-e1000 build failure

Fedora 42

ori@localhost:~/devel/src/github.com/mmisono/vfio-e1000/strace$ cat /etc/fedora-release
Fedora release 42 (Adams)
ori@localhost:~/devel/src/github.com/mmisono/vfio-e1000/strace$ git branch
* kvm-snapshot#20250910
  master
ori@localhost:~/devel/src/github.com/mmisono/vfio-e1000/strace$ gcc --version
gcc (GCC) 15.2.1 20250808 (Red Hat 15.2.1-1)
Copyright (C) 2025 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

ori@localhost:~/devel/src/github.com/mmisono/vfio-e1000/strace$ make
make  all-recursive
make[1]: Entering directory '/home/ori/devel/src/github.com/mmisono/vfio-e1000/strace'
Making all in bundled
make[2]: Entering directory '/home/ori/devel/src/github.com/mmisono/vfio-e1000/strace/bundled'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/ori/devel/src/github.com/mmisono/vfio-e1000/strace/bundled'
Making all in src
make[2]: Entering directory '/home/ori/devel/src/github.com/mmisono/vfio-e1000/strace/src'
make  all-am
make[3]: Entering directory '/home/ori/devel/src/github.com/mmisono/vfio-e1000/strace/src'
gcc -DHAVE_CONFIG_H   -I./linux/x86_64 -I./linux/x86_64 -I./linux/generic -I./linux/generic -I. -I. -isystem ../bundled/linux/arch/x86/include/uapi -isystem ../bundled/linux/include/uapi -DIN_STRACE=1      -isystem ./bundled/linux/arch/x86/include/uapi -isystem ./bundled/linux/include/uapi -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wdate-time -Wformat-security -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wtrampolines -Wundef -Wwrite-strings -Werror   -g -O2 -MT libstrace_a-kvm.o -MD -MP -MF .deps/libstrace_a-kvm.Tpo -c -o libstrace_a-kvm.o `test -f 'kvm.c' || echo './'`kvm.c
kvm.c:458:10: fatal error: xlat/kvm_msr_index.h: No such file or directory
  458 | #include "xlat/kvm_msr_index.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [Makefile:6115: libstrace_a-kvm.o] Error 1
make[3]: Leaving directory '/home/ori/devel/src/github.com/mmisono/vfio-e1000/strace/src'
make[2]: *** [Makefile:2855: all] Error 2
make[2]: Leaving directory '/home/ori/devel/src/github.com/mmisono/vfio-e1000/strace/src'
make[1]: *** [Makefile:602: all-recursive] Error 1
make[1]: Leaving directory '/home/ori/devel/src/github.com/mmisono/vfio-e1000/strace'
make: *** [Makefile:507: all] Error 2
@orimanabu
Copy link
Author

RHEL9 (container)

[root@4c67dd4b7ed6 strace]# cat /etc/redhat-release
Red Hat Enterprise Linux release 9.6 (Plow)
[root@4c67dd4b7ed6 strace]# cat /proc/cpuinfo | grep 'model name' | uniq
model name	: AMD RYZEN AI MAX+ 395 w/ Radeon 8060S
[root@4c67dd4b7ed6 strace]# gcc --version
gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-5)
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[root@4c67dd4b7ed6 strace]# rpm -q gcc
gcc-11.5.0-5.el9_5.x86_64
[root@4c67dd4b7ed6 strace]# git branch
* kvm-snapshot#20250910
  master
[root@4c67dd4b7ed6 strace]# ./src/strace --version
strace -- version 5.13.0.1478.a87f7
Copyright (c) 1991-2025 The strace developers <https://strace.io>.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Optional features enabled: m32-mpers mx32-mpers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment