[llvm-bugs] [Bug 51726] New: Building with gcc 10 fails with "unrecognized command-line option ‘-mno-omit-leaf-frame-pointer’"

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Sep 2 12:28:07 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=51726

            Bug ID: 51726
           Summary: Building with gcc 10 fails with "unrecognized
                    command-line option ‘-mno-omit-leaf-frame-pointer’"
           Product: compiler-rt
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: scudo
          Assignee: unassignedbugs at nondot.org
          Reporter: sylvestre at debian.org
                CC: llvm-bugs at lists.llvm.org

Building 13.0.0 rc2 with g++ 10 fails with:

cd "/<<PKGBUILDDIR>>/build-llvm/projects/compiler-rt/lib/scudo/standalone" &&
/usr/bin/g++-10 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_LARGEFILE_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-I"/<<PKGBUILDDIR>>/build-llvm/projects/compiler-rt/lib/scudo/standalone"
-I"/<<PKGBUILDDIR>>/compiler-rt/lib/scudo/standalone"
-I"/<<PKGBUILDDIR>>/build-llvm/include" -I"/<<PKGBUILDDIR>>/llvm/include"
-I"/<<PKGBUILDDIR>>/compiler-rt/lib/scudo/standalone/../.."
-I"/<<PKGBUILDDIR>>/compiler-rt/lib/scudo/standalone/include" -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -fPIC -fno-semantic-interposition
-fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra
-Wno-unused-parameter -Wwrite-strings -Wcast-qual
-Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough
-Wno-maybe-uninitialized -Wno-class-memaccess -Wno-redundant-move
-Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor
-Wsuggest-override -Wno-comment -Wmisleading-indentation -ffunction-sections
-fdata-sections -Wall -std=c++14 -Wno-unused-parameter -O2 -DNDEBUG -g1 
-march=armv7-a -mfloat-abi=hard -fno-lto -Werror=conversion -Wall -g
-nostdinc++ -fvisibility=hidden -fno-exceptions -Wno-pedantic -fno-lto -O3
-DGWP_ASAN_HOOKS -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-std=c++14 -o CMakeFiles/clang_rt.scudo_standalone-armhf.dir/checksum.cpp.o -c
"/<<PKGBUILDDIR>>/compiler-rt/lib/scudo/standalone/checksum.cpp"
g++-10: error: unrecognized command-line option ‘-mno-omit-leaf-frame-pointer’;
did you mean ‘-fno-omit-frame-pointer’?
make[5]: ***
[projects/compiler-rt/lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone-armhf.dir/build.make:85:
projects/compiler-rt/lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone-armhf.dir/checksum.cpp.o]
Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build-llvm'
make[4]: *** [CMakeFiles/Makefile2:47492:
projects/compiler-rt/lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone-armhf.dir/all]
Error 2

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210902/4114d09d/attachment.html>


More information about the llvm-bugs mailing list