Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 2025 06:06:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 285666] Sanitized build of one port fails: undefined reference due to --no-allow-shlib-undefined: __sanitizer_annotate_double_ended_contiguous_container
Message-ID:  <bug-285666-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 285666
           Summary: Sanitized build of one port fails: undefined reference
                    due to --no-allow-shlib-undefined:
                    __sanitizer_annotate_double_ended_contiguous_container
           Product: Base System
           Version: 14.2-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: yuri@freebsd.org

When these 2 lines are added to /usr/ports/misc/py-pytorch/Makefile:
> CXXFLAGS+=3D	-fsanitize=3Daddress
> LDFLAGS+=3D	-fsanitize=3Daddress

the build of this port fails:

> [ 91%] Linking CXX executable ../../../../bin/torch_shm_manager
> ld: error: undefined reference due to --no-allow-shlib-undefined: __sanit=
izer_annotate_double_ended_contiguous_container
> >>> referenced by ../../../../lib/libc10.so

Unfortunately I don't have a smaller testcase.

--=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-285666-227>