<div dir="ltr">I am still looking for the source of these compiler flags. Can someone help me out here?<div><br></div><div>clang-9: error: unknown argument: '-mpreferred-stack-boundary=4'<br>clang-9: error: unknown argument '-mno-sse5'; did you mean '-mno-sse2'?<br>clang-9: error: unknown argument '-mno-abm'; did you mean '-mno-tbm'?<br>clang-9: error: unknown argument: '-mindirect-branch=thunk-inline'<br>clang-9: error: optimization flag '-finline-limit=8000' is not supported [-Werror,-Wignored-optimization-argument]<br></div><div><br></div><div>I can contradict them in the Makefile, but the interdiction is ignored.</div><div><br></div><div>Warning: Object directory not changed from original /home/XXXXXXXX/vmm-prog<br>clang90 -Wno-mno-preferred-stack-boundary -Wno-mno-sse5 -Wno-mno-abm -Wno-mindirect-branch=thunk-inline -ftemplate-backtrace-limit=2 -O2 -pipe -D_KERNEL -Wall<br></div><div><br></div><div>This is the full output:</div><div><br></div><div>XXXXXX@XXXXXXX% make<br>Warning: Object directory not changed from original /home/XXXXXXXX/vmm-prog<br>clang90 -Wno-mno-preferred-stack-boundary -Wno-mno-sse5 -Wno-mno-abm -Wno-mindirect-branch=thunk-inline -ftemplate-backtrace-limit=2 -O2 -pipe -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wold-style-definition -Wmissing-include-dirs -Wno-pointer-sign -Winit-self -Wundef -std=c99 -Wno-unused-but-set-variable -Werror -DKLD_MODULE -nostdinc -I. -I@ -I/home/XXXXXXXX/vmm-prog/forwarder_x86_64/include -I@/../crypto/libressl/include -I@/../include -fno-omit-frame-pointer -Wold-style-declaration -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -ffreestanding -fno-stack-protector -fno-strict-aliasing -fno-strict-overflow -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -mpreferred-stack-boundary=4 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -mno-sse4 -mno-sse4a -mno-sse5 -mno-abm -mno-aes -mno-avx -mno-pclmul -mno-popcnt -mindirect-branch=thunk-inline -msoft-float -fno-asynchronous-unwind-tables -fno-omit-frame-pointer -std=gnu99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wold-style-definition -Wmissing-include-dirs -Wno-pointer-sign -Winit-self -Wundef -std=c99 -Wno-unused-but-set-variable -c vmm.c<br>clang-9: error: unknown argument: '-mpreferred-stack-boundary=4'<br>clang-9: error: unknown argument '-mno-sse5'; did you mean '-mno-sse2'?<br>clang-9: error: unknown argument '-mno-abm'; did you mean '-mno-tbm'?<br>clang-9: error: unknown argument: '-mindirect-branch=thunk-inline'<br>clang-9: error: optimization flag '-finline-limit=8000' is not supported [-Werror,-Wignored-optimization-argument]<br>*** Error code 1<br><br>Stop.<br>make: stopped in /home/XXXXXXXX/vmm-prog<br></div><div><br></div><div>Jonathan Engwall</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Feb 23, 2020 at 6:36 PM Jonathan Engwall <<a href="mailto:engwalljonathanthereal@gmail.com">engwalljonathanthereal@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello,</div><div>The debugging may be impossible. Who knows at this point. </div><div>Here is my progress:</div><a href="https://github.com/DangerousTod/byhve-vmm/tree/master" target="_blank">https://github.com/DangerousTod/byhve-vmm/tree/master</a><br><div>Jonathan Engwall</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Feb 22, 2020 at 6:15 PM Matthew Dillon <<a href="mailto:dillon@backplane.com" target="_blank">dillon@backplane.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Not sure what you are trying to do but porting byhve is definitely not an easy undertaking!<div><br></div><div>-Matt</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Feb 21, 2020 at 9:55 PM Jonathan Engwall <<a href="mailto:engwalljonathanthereal@gmail.com" target="_blank">engwalljonathanthereal@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">I have the headers, folders and vmm.c...but I was thinking if I write over written memory with a foreign header it would be bad.<div dir="auto">And, of course I have to VM to test build a kernel module.</div><div dir="auto">The headers came from a clone of FreeBSD I made from GitHub. Vmm.c I simply found on the internet. One is missing vmm_ippi.h which I cannot find.</div><div dir="auto">Any suggestions or offers of help?</div></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>