[Bug 268175] devel/wasi - libclang_rt.builtins-wasm32.a(udivmodti4.c.o): undefined symbol: __stack_chk_guard

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 05 Dec 2022 16:42:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268175

            Bug ID: 268175
           Summary: devel/wasi -
                    libclang_rt.builtins-wasm32.a(udivmodti4.c.o):
                    undefined symbol: __stack_chk_guard
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: freebsd@sysctl.cz

Hi,
I compiled the tor-browser with wasi.

FreeBSD hades 13.1-RELEASE-p3 FreeBSD 13.1-RELEASE-p3 GENERIC amd64


20.90 2 warnings generated.
30:23.13 wasm-ld: error:
/usr/local/llvm13/lib/clang/13.0.1/lib/wasi/libclang_rt.builtins-wasm32.a(udivmodti4.c.o):
undefined symbol: __stack_chk_guard
30:23.13 wasm-ld: error:
/usr/local/llvm13/lib/clang/13.0.1/lib/wasi/libclang_rt.builtins-wasm32.a(udivmodti4.c.o):
undefined symbol: __stack_chk_guard
30:23.13 wasm-ld: error:
/usr/local/llvm13/lib/clang/13.0.1/lib/wasi/libclang_rt.builtins-wasm32.a(udivmodti4.c.o):
undefined symbol: __stack_chk_fail
30:23.14 clang-13: error: linker command failed with exit code 1 (use -v to see
invocation)
30:23.15 gmake[5]: ***
[/tor-browser/work/firefox-tor-browser-102.5.0esr-12.0-1-build4/config/rules.mk:507:
rlbox.wasm] Error 1
30:23.17 gmake[4]: ***
[/tor-browser/work/firefox-tor-browser-102.5.0esr-12.0-1-build4/config/recurse.mk:72:
security/rlbox/target-objects] Error 2

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