[llvm-bugs] [Bug 50562] New: ERROR: UndefinedBehaviorSanitizer failed to allocate 0x0 (0) bytes of SetAlternateSignalStack (error code: 22)
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Jun 2 10:48:22 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=50562
Bug ID: 50562
Summary: ERROR: UndefinedBehaviorSanitizer failed to allocate
0x0 (0) bytes of SetAlternateSignalStack (error code:
22)
Product: clang
Version: 12.0
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: C
Assignee: unassignedclangbugs at nondot.org
Reporter: rjones at redhat.com
CC: blitzrakete at gmail.com, dgregor at apple.com,
erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
richard-llvm at metafoo.co.uk
clang -o conftest -g -O3 -march=native -fsanitize=cfi -fno-sanitize-trap=all
-flto -fvisibility=hidden -Wl,-z,relro -Wl,--as-needed -Wl,-z,now
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O3 -march=native -fsanitize=cfi
-fno-sanitize-trap=all -flto -fvisibility=hidden
-Wno-unused-command-line-argument conftest.c
./conftest
==1554568==ERROR: UndefinedBehaviorSanitizer failed to allocate 0x0 (0) bytes
of
SetAlternateSignalStack (error code: 22)
==1554568==Process memory map follows:
[..]
==1554568==End of process memory map.
==1554568==Sanitizer CHECK failed:
../lib/sanitizer_common/sanitizer_common.cpp:54 ((0 && "unable to mmap")) !=
(0) (0, 0)
configure:4233: $? = 1
configure:4240: error: in `/home/rjones/d/nbdkit':
configure:4242: error: cannot run C compiled programs.
conftest.c is very simple:
-----------
#include <stdio.h>
int
main (void)
{
FILE *f = fopen ("conftest.out", "w");
return ferror (f) || fclose (f) != 0;
;
return 0;
}
-----------
This actually happens during one of autoconf ./configure's basic compiler
tests.
clang-12.0.0-2.fc35.x86_64
--
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/20210602/c228a89a/attachment.html>
More information about the llvm-bugs
mailing list