Date: Sun, 12 Oct 2025 00:05:57 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 290157] Enabling IPC breaks the link with error: relocation R_X86_64_PC32 cannot be used against symbol '__stack_chk_guard'; recompile with -fPIC Message-ID: <bug-290157-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290157 Bug ID: 290157 Summary: Enabling IPC breaks the link with error: relocation R_X86_64_PC32 cannot be used against symbol '__stack_chk_guard'; recompile with -fPIC Product: Base System Version: 14.3-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: yuri@freebsd.org Testcase: multimedia/obs-studio Remove: * the line in Makefile: -DCMAKE_INTERPROCEDURAL_OPTIMIZATION:BOOL=OFF * files/patch-cmake_common_compiler__common.cmake It then breaks with: > ld: error: relocation R_X86_64_PC32 cannot be used against symbol '__stack_chk_guard'; recompile with -fPIC AFAIK __stack_chk_guard comes from the base. -- 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-290157-227>
