[qubes-users] Build costum Linux Kernel with clang with CPI option

2018-11-16 Thread cenapatop689
I want to build a Kernel with CPI with clang.

CPI -> https://dslab.epfl.ch/proj/cpi/

I have tried the way how it is described in this topic to build rpm.
With exportet CC and CXX plus the parameter in make. ( -fsanitize=safe-stack )
But it doesn't work. The script want GCC.


( https://groups.google.com/forum/#!topic/qubes-users/yBeUJPwKwHM )

Have anybody an Idea? Or Expiriences to build a Costum Kernel (with Clang)?

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/b242d301-c0f8-4fc4-850c-b9f1eccf2f5d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] Re: HOWTO: Compiling Kernels for dom0

2018-11-15 Thread cenapatop689
Hello,

is it possible to build the kernel with the -fsanitize=safe-stack option?

I have tried make CC="clang -fsanitize=safe-stack" CXX="clang++ 
-fsanitize=safe-stack"

but it doesn't display any clang work.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/86776aa4-0afe-450c-b11a-c53ea495491c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] Re: HOWTO: Compiling Kernels for dom0

2018-11-15 Thread cenapatop689
How is it possible to build the kernel with Clang with the 
-fsanitize=safe-stack option?

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/0b707cf7-0ed0-466d-98bc-033c7f8f976f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.