Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Apr 2020 20:52:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 245542] devel/llvm10: cannot use ASan API
Message-ID:  <bug-245542-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245542

            Bug ID: 245542
           Summary: devel/llvm10: cannot use ASan API
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: brooks@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
          Assignee: brooks@FreeBSD.org
             Flags: maintainer-feedback?(brooks@FreeBSD.org)

$ echo "#include <sanitizer/asan_interface.h>" >a.c
$ cc -fsanitize=3Daddress -c a.c
$ clang10 -fsanitize=3Daddress -c a.c
a.c:1:10: fatal error: 'sanitizer/asan_interface.h' file not found
#include <sanitizer/asan_interface.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

Found via Firefox's --enable-address-sanitizer:

In file included from ipc/glue/BackgroundChildImpl.cpp:13:
In file included from objdir/dist/include/CamerasChild.h:20:
In file included from
media/webrtc/trunk/webrtc/modules/video_capture/video_capture_defines.h:15:
In file included from
media/webrtc/trunk/webrtc/modules/include/module_common_types.h:20:
In file included from media/webrtc/trunk/webrtc/api/optional.h:25:
In file included from media/webrtc/trunk/webrtc/rtc_base/sanitizer.h:32:
objdir/dist/system_wrappers/sanitizer/asan_interface.h:3:15: fatal error:
      'sanitizer/asan_interface.h' file not found
#include_next <sanitizer/asan_interface.h>
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-245542-7788>