Ensure to build the gcc-plugins for user-offsets.s The target arch/x86/um/user-offsets.s is build with normal CC flags, i.e with gcc plugins, e.g. -fplugin=./scripts/gcc-plugins/latent_entropy_plugin.so
Ensure to build all gcc-plugins before trying to build this target; else an error message is thrown: cc1: error: cannot load plugin ./scripts/gcc-plugins/structleak_plugin.so ./scripts/gcc-plugins/structleak_plugin.so: cannot open shared object file: No such file or directory cc1: error: cannot load plugin ./scripts/gcc-plugins/latent_entropy_plugin.so ./scripts/gcc-plugins/latent_entropy_plugin.so: cannot open shared object file: No such file or directory cc1: error: cannot load plugin ./scripts/gcc-plugins/randomize_layout_plugin.so ./scripts/gcc-plugins/randomize_layout_plugin.so: cannot open shared object file: No such file or directory make[1]: *** [scripts/Makefile.build:154: arch/x86/um/user-offsets.s] Error 1 make: *** [arch/um/Makefile:150: arch/x86/um/user-offsets.s] Error 2 Signed-off-by: Thomas Meyer <tho...@m3y3r.de> --- arch/um/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/um/Makefile b/arch/um/Makefile index 0ca46ededfc7..7cb04d9da544 100644 --- a/arch/um/Makefile +++ b/arch/um/Makefile @@ -146,7 +146,7 @@ archclean: # Generated files -$(HOST_DIR)/um/user-offsets.s: __headers FORCE +$(HOST_DIR)/um/user-offsets.s: gcc-plugins __headers FORCE $(Q)$(MAKE) $(build)=$(HOST_DIR)/um $@ define filechk_gen-asm-offsets -- 2.13.0 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel