[Bug 299013] WITH_CTF is incompatible with lib/libgcc_s_asneeded in current

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 01 Oct 2026 12:24:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=299013

            Bug ID: 299013
           Summary: WITH_CTF is incompatible with lib/libgcc_s_asneeded in
                    current
           Product: Base System
           Version: 16.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: Trond.Endrestol@ximalas.info

WITH_CTF is set to 1 in /etc/make.conf, yes, not /etc/src.conf.
After commit 222210c6a82282de78aa863c550da21471630316, I get this make
buildworld:

Building
/usr/obj/usr/src/amd64.amd64/lib/libgcc_s_asneeded/libgcc_s_asneeded.so.1
Building shared library libgcc_s_asneeded.so.1
Usage: ctfmerge [-fgstv] -l label | -L labelenv -o outfile file ...
       ctfmerge [-fgstv] -l label | -L labelenv -o outfile -d uniqfile
                [-g] [-D uniqlabel] file ...
       ctfmerge [-fgstv] -l label | -L labelenv -o outfile -w withfile file ...
       ctfmerge [-g] -c srcfile destfile

  Note: if -L labelenv is specified and labelenv is not set in
  the environment, a default value is used.
*** [libgcc_s_asneeded.so.1] Error code 2
make[4]: *** libgcc_s_asneeded.so.1 removed

make[4]: stopped making "all" in /usr/src/lib/libgcc_s_asneeded

Disabling WITH_CTF is a workaround, but shouldn't we allow for DTrace in base?

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