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/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285666 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+= -fsanitize=address > LDFLAGS+= -fsanitize=address the build of this port fails: > [ 91%] Linking CXX executable ../../../../bin/torch_shm_manager > ld: error: undefined reference due to --no-allow-shlib-undefined: __sanitizer_annotate_double_ended_contiguous_container > >>> referenced by ../../../../lib/libc10.so Unfortunately I don't have a smaller testcase. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-285666-227>
