[Bug 257789] libcompat.so is missing

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 12 Aug 2021 16:22:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257789

            Bug ID: 257789
           Summary: libcompat.so is missing
           Product: Base System
           Version: 13.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: yuri@freebsd.org

Only libcompat.a is installed.

As a result it can't be used in shared libraries:
> /usr/local/bin/ld: /usr/lib/libcompat.a(ftime.o): relocation R_X86_64_PC32 against symbol `__stack_chk_guard@@FBSD_1.0' can not be used when making a shared object; recompile with -fPIC

There is no easy solution when the ftime(3) is used from a shared library.

Problem found in science/siconos which has a missing symbol ftime(3) in
libsicanos_external.so and adding -lcompat causes the above error.

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