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

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

 



Hi all,

On a RS/6000 43P-150 (32bit PPC CHRP) box I was compiling zaptel (the
drivers that are part of the Asterisk project) and saw the following
warnings & error messages:

  CC [M]  /home/patrick/redhat/BUILD/zaptel-1.2.4/ztdummy.o
  Building modules, stage 2.
  MODPOST
*** Warning: "__stack_chk_fail"
[/home/patrick/redhat/BUILD/zaptel-1.2.4/ztdynamic.ko] undefined!
*** Warning: "__stack_chk_fail"
[/home/patrick/redhat/BUILD/zaptel-1.2.4/ztd-eth.ko] undefined!
*** Warning: "__stack_chk_fail"
[/home/patrick/redhat/BUILD/zaptel-1.2.4/zaptel.ko] undefined!
*** Warning: "__stack_chk_fail"
[/home/patrick/redhat/BUILD/zaptel-1.2.4/wcusb.ko] undefined!
*** Warning: "__stack_chk_fail"
[/home/patrick/redhat/BUILD/zaptel-1.2.4/wcte11xp.ko] undefined!
*** Warning: "__stack_chk_fail"
[/home/patrick/redhat/BUILD/zaptel-1.2.4/wctdm24xxp.ko] undefined!
*** Warning: "__stack_chk_fail"
[/home/patrick/redhat/BUILD/zaptel-1.2.4/wctdm.ko] undefined!
*** Warning: "__stack_chk_fail"
[/home/patrick/redhat/BUILD/zaptel-1.2.4/wct4xxp.ko] undefined!
*** Warning: "__stack_chk_fail"
[/home/patrick/redhat/BUILD/zaptel-1.2.4/pciradio.ko] undefined!

RPM builds fine though.

When I modprobe the zaptel module I get:

[root@box ~]# modprobe -v zaptel
insmod /lib/modules/2.6.15-1.1955_FC5/extra/zaptel.ko
FATAL: Error inserting zaptel
(/lib/modules/2.6.15-1.1955_FC5/extra/zaptel.ko): Unknown symbol in
module, or unknown parameter (see dmesg)

[root@box ~]# dmesg | grep zaptel
zaptel: Unknown symbol __stack_chk_fail
zaptel: Unknown symbol __stack_chk_fail

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?

Thanks and regards,
Patrick

-- 
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]