Re: clang -mcet -fcf-protection (was: Re: Mass Rebuild for Fedora 28)

2018-02-13 Thread Igor Gnatenko
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Tue, 2018-02-13 at 10:36 +, Daniel P. Berrangé wrote: > On Tue, Feb 13, 2018 at 10:18:05AM +, Richard W.M. Jones wrote: > > > > My build of american-fuzzy-lop fails because clang doesn't > > understand the ‘-mcet -fcf-protection’ flags wh

Re: clang -mcet -fcf-protection (was: Re: Mass Rebuild for Fedora 28)

2018-02-13 Thread Daniel P . Berrangé
On Tue, Feb 13, 2018 at 10:18:05AM +, Richard W.M. Jones wrote: > > My build of american-fuzzy-lop fails because clang doesn't > understand the ‘-mcet -fcf-protection’ flags which seem to be > added by RPM. > > clang -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 > -Wp,

clang -mcet -fcf-protection (was: Re: Mass Rebuild for Fedora 28)

2018-02-13 Thread Richard W.M. Jones
My build of american-fuzzy-lop fails because clang doesn't understand the ‘-mcet -fcf-protection’ flags which seem to be added by RPM. clang -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches