Re: ppc32 kernel/zaptel missing symbol & turn off -fstack-protector

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Patrick said:
> One of the developers of Asterisk told me it is cause by
> -fstack-protector. This indeed shows up during the compilation of the
> zaptel kernel modules.
>
> A sugesstion was to turn off -fstack-protector. Anyone have a hint how I
> do that in e.g. the rpm spec file?

One way is to add "-fno-stack-protector" to the compiler flags (e.g.,
%{optflags} or $RPM_OPT_FLAGS for rpm's building tools).

Of course, another (probably more secure) way is to patch the code
so that it works with the stack-protector. :-P

~~Peter

-- 
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: 
https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]