[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
Date: Sun, 12 Oct 2025 00:05:57 UTC
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.