[Bug 276597] cannot build world with WITH_ASAN configured

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 24 Jan 2024 20:23:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276597

            Bug ID: 276597
           Summary: cannot build world with WITH_ASAN configured
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: markj@FreeBSD.org

LLVM's sanitizer runtime recently started defining a hexdump() symbol for some
unstated reason: https://reviews.llvm.org/D110471

Now, executables in the base system which define a hexdump(), like mpsutil,
fail to build because of a duplicate hexdump symbol definition.  I tend to
think that LLVM shouldn't be intercepting this function: it's a common function
name and it's pretty easy to build libutil with ASAN enabled if so desired.

The alternative would be to rename symbols in the base system, but that's a bit
annoying.

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