Comment 5 for bug 1789353

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

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