It looks like I can use "-fsstack-protector" flag on an ARM64 node with T-LTS-X (works with cc as well)
ubuntu@ms10-34-mcdivittB0-kernel:~$ gcc --help | grep config
ubuntu@ms10-34-mcdivittB0-kernel:~$ gcc -fsstack-protector test.c
gcc: error: unrecognized command line option ‘-fsstack-protector’
ubuntu@ms10-34-mcdivittB0-kernel:~$ gcc -fstack-protector test.c
ubuntu@ms10-34-mcdivittB0-kernel:~$ gcc --version
gcc (Ubuntu/Linaro 4.8.4-2ubuntu1~14.04.4) 4.8.4
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
ubuntu@ms10-34-mcdivittB0-kernel:~$ uname -a
Linux ms10-34-mcdivittB0-kernel 4.4.0-148-generic #174~14.04.1-Ubuntu SMP Thu May 9 08:23:55 UTC 2019 aarch64 aarch64 aarch64 GNU/Linux
ubuntu@ms10-34-mcdivittB0-kernel:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.6 LTS
Release: 14.04
Codename: trusty
It looks like I can use "-fsstack- protector" flag on an ARM64 node with T-LTS-X (works with cc as well)
ubuntu@ ms10-34- mcdivittB0- kernel: ~$ gcc --help | grep config ms10-34- mcdivittB0- kernel: ~$ gcc -fsstack-protector test.c protector’ ms10-34- mcdivittB0- kernel: ~$ gcc -fstack-protector test.c ms10-34- mcdivittB0- kernel: ~$ gcc --version 14.04.4) 4.8.4
ubuntu@
gcc: error: unrecognized command line option ‘-fsstack-
ubuntu@
ubuntu@
gcc (Ubuntu/Linaro 4.8.4-2ubuntu1~
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
ubuntu@ ms10-34- mcdivittB0- kernel: ~$ uname -a mcdivittB0- kernel 4.4.0-148-generic #174~14.04.1-Ubuntu SMP Thu May 9 08:23:55 UTC 2019 aarch64 aarch64 aarch64 GNU/Linux ms10-34- mcdivittB0- kernel: ~$ lsb_release -a
Linux ms10-34-
ubuntu@
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.6 LTS
Release: 14.04
Codename: trusty