[Bug 289497] devel/linux-rl9-devtools: gcc fails: Cannot open "/usr/libexec/gcc/x86_64-redhat-linux/11/liblto_plugin.so"

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 12 Sep 2025 18:55:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289497

            Bug ID: 289497
           Summary: devel/linux-rl9-devtools: gcc fails: Cannot open
                    "/usr/libexec/gcc/x86_64-redhat-linux/11/liblto_plugin
                    .so"
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: emulation@FreeBSD.org
          Reporter: yuri@freebsd.org
             Flags: maintainer-feedback?(emulation@FreeBSD.org)
          Assignee: emulation@FreeBSD.org

gcc fails to compile a simple hello world C++ program:

The run is in the linux environment - from /compat/linux/usr/bin/bash

# gcc x.cpp
/usr/local/bin/ld: /usr/libexec/gcc/x86_64-redhat-linux/11/liblto_plugin.so:
error loading plugin: Cannot open
"/usr/libexec/gcc/x86_64-redhat-linux/11/liblto_plugin.so"
collect2: error: ld returned 1 exit status

/compat/linux/usr/libexec/gcc/x86_64-redhat-linux/11/liblto_plugin.so is
installed but gcc for some reason can't open it.

linux-rl9-devtools-9.6_1

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