Re: [cfe-users] clang 11rc1 - target aarch64 -mharden-sls warning

2020-08-03 Thread Milan Buška via cfe-users
Hi Jonas I built Clang in the native aarch64 environment on a Jetson TX2 device. I didn't use bootstrap. My procedure: - compile clang using gcc compiler using CFLAGS and CXXFLAGS = "-march = armv8-a -mharden-sls = all -pipe" CC=gcc CXX=g ++ - installation of clang into the system - recom

Re: [cfe-users] clang 11rc1 - target aarch64 -mharden-sls warning

2020-08-03 Thread Jonas Toth via cfe-users
Hi Milan, just to be sure: Are you doing a multi-stage build? On which stage is the warning emitted? The architecture you are  building on itself is ARM or are you doing cross compilation? The argument itself is a compatibility-option for GCC, which might be added after clang-11 was branched? (h