<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Building with gcc 10 fails with "unrecognized command-line option ‘-mno-omit-leaf-frame-pointer’""
href="https://bugs.llvm.org/show_bug.cgi?id=51726">51726</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Building with gcc 10 fails with "unrecognized command-line option ‘-mno-omit-leaf-frame-pointer’"
</td>
</tr>
<tr>
<th>Product</th>
<td>compiler-rt
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>release blocker
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>scudo
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>sylvestre@debian.org
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>