Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Mar 2024 12:54:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 277947] devel/gmake: fails build WITH_LTO=yes
Message-ID:  <bug-277947-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277947

            Bug ID: 277947
           Summary: devel/gmake: fails build WITH_LTO=3Dyes
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: tijl@FreeBSD.org
          Reporter: nimaje+fbz@bureaucracy.de
                CC: tijl@FreeBSD.org
          Assignee: tijl@FreeBSD.org
             Flags: maintainer-feedback?(tijl@FreeBSD.org)
 Attachment #249472 maintainer-approval?(tijl@FreeBSD.org)
             Flags:
                CC: tijl@FreeBSD.org

Created attachment 249472
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D249472&action=
=3Dedit
devel/gmake: mark LTO_UNSAFE

devel/gmake fails to build if WITH_LTO=3Dyes is set.

relevant part of the log:
--- make ---
cc  -O2 -pipe  -flto=3Dthin -fstack-protector-strong -fno-strict-aliasing
-Wl,--export-dynamic -flto=3Dthin -fstack-protector-strong -o make src/ar.o
src/arscan.o  src/commands.o src/default.o src/dir.o  src/expand.o src/file=
.o
src/function.o  src/getopt.o src/getopt1.o src/guile.o  src/hash.o
src/implicit.o src/job.o  src/load.o src/loadapi.o src/main.o  src/misc.o
src/output.o src/read.o  src/remake.o src/rule.o src/shuffle.o  src/signame=
.o
src/strcache.o  src/variable.o src/version.o  src/vpath.o  src/posixos.o=20=
=20
src/remote-stub.o   lib/libgnu.a   /usr/local/lib/libintl.so -Wl,-rpath
-Wl,/usr/local/lib=20
ld: error: undefined symbol: find_in_given_path
>>> referenced by job.c
>>>               lto.tmp:(child_execute_job)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [make] Error code 1

Until that is fixed it should be marked as LTO_UNSAFE

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277947-7788>