Byhve

Jonathan Engwall engwalljonathanthereal at gmail.com
Fri Feb 28 16:56:26 PST 2020


I am still looking for the source of these compiler flags. Can someone help
me out here?

clang-9: error: unknown argument: '-mpreferred-stack-boundary=4'
clang-9: error: unknown argument '-mno-sse5'; did you mean '-mno-sse2'?
clang-9: error: unknown argument '-mno-abm'; did you mean '-mno-tbm'?
clang-9: error: unknown argument: '-mindirect-branch=thunk-inline'
clang-9: error: optimization flag '-finline-limit=8000' is not supported
[-Werror,-Wignored-optimization-argument]

I can contradict them in the Makefile, but the interdiction is ignored.

Warning: Object directory not changed from original /home/XXXXXXXX/vmm-prog
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

This is the full output:

XXXXXX at XXXXXXX% make
Warning: Object directory not changed from original /home/XXXXXXXX/vmm-prog
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
clang-9: error: unknown argument: '-mpreferred-stack-boundary=4'
clang-9: error: unknown argument '-mno-sse5'; did you mean '-mno-sse2'?
clang-9: error: unknown argument '-mno-abm'; did you mean '-mno-tbm'?
clang-9: error: unknown argument: '-mindirect-branch=thunk-inline'
clang-9: error: optimization flag '-finline-limit=8000' is not supported
[-Werror,-Wignored-optimization-argument]
*** Error code 1

Stop.
make: stopped in /home/XXXXXXXX/vmm-prog

Jonathan Engwall

On Sun, Feb 23, 2020 at 6:36 PM Jonathan Engwall <
engwalljonathanthereal at gmail.com> wrote:

> Hello,
> The debugging may be impossible. Who knows at this point.
> Here is my progress:
> https://github.com/DangerousTod/byhve-vmm/tree/master
> Jonathan Engwall
>
> On Sat, Feb 22, 2020 at 6:15 PM Matthew Dillon <dillon at backplane.com>
> wrote:
>
>> Not sure what you are trying to do but porting byhve is definitely not an
>> easy undertaking!
>>
>> -Matt
>>
>> On Fri, Feb 21, 2020 at 9:55 PM Jonathan Engwall <
>> engwalljonathanthereal at gmail.com> wrote:
>>
>>> 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.
>>> And, of course I have to VM to test build a kernel module.
>>> 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.
>>> Any suggestions or offers of help?
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20200228/0feff7bf/attachment-0003.htm>


More information about the Users mailing list