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 - recompiling clang using the clang compiler using CFLAGS and CXXFLAGS = "-march = armv8-a -mharden-sls = all -pipe" CC=clang CXX=clang ++ I'm getting an error message during this step. Build configuration used: cmake .. -G Ninja \ -DCMAKE_BUILD_TYPE = Release \ -DCMAKE_INSTALL_PREFIX = / usr \ -DCLANG_INCLUDE_TEST = OFF \ -DCLANG_PLUGIN_SUPPORT = ON \ -DCLANG_VENDOR = "SAUX Aarch64" \ -Wno-dev I'll wait until clang v. 11.0.0 is released. Then I'll try again. Best regards Milan po 3. 8. 2020 v 12:05 odesílatel Jonas Toth <developm...@jonas-toth.eu> napsal: > > 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? > (https://github.com/llvm/llvm-project/commit/0ee176edc8b4a6f20527e907bfd026b07a27e7ef > seems to have it included though!) > > The generic warning message is emitted when that specified option is not > utilized because it does not apply in this instance. > For example, I have seen this when compiling C code with C++-specific > arguments. > > So your specific setup would be relevant to know. > > Best Regards > Jonas > > Am 01.08.20 um 13:22 schrieb Milan Buška via cfe-users: > > Good day. > > I am testing a compilation of clang ver. 11rc1 using the > > clang-11.0.0rc1 compiler. > > > > CFLAGS and CXXFLAGS I have set "-march=armv8-a -mharden-sls=all -pipe" > > > > When compiling, I get a message: > > clang-11: warning: argument unused during compilation: -mharden-sls=all > > > > Is this warning caused by my incorrect settings or there is an error in the > > code > > > > Best regards > > > > Milan -- Remember, no question is too stupid and no problem too small -- We've all been beginners _______________________________________________ cfe-users mailing list cfe-users@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users