NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/51363: ubsan (undef behaviour sanitizer) faults



The following reply was made to PR lib/51363; it has been noted by GNATS.

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: lib/51363: ubsan (undef behaviour sanitizer) faults
Date: Sun, 31 Jul 2016 20:25:53 +0000

 On Tue, Jul 26, 2016 at 06:50:00PM +0000, bch wrote:
  > 	libubsan should trap for undefined behaviour errors and either fail
  > gracefully w/i runtime, or continue running the ub-afflicted program.
  > My examples demonstrate that it segfaults instead.
 
 The overt thing that I see is:
 
  > CC=clang
 
 and
 
  > /usr/src/external/gpl3/gcc/dist/libsanitizer/ubsan/ubsan_diag.cc
                      ^^^^^^^^^^^^^
 
 Shouldn't clang be using clang's sanitizer support library?
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index