[Bug 277947] devel/gmake: fails build WITH_LTO=yes
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 25 Mar 2024 12:54:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277947
Bug ID: 277947
Summary: devel/gmake: fails build WITH_LTO=yes
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=249472&action=edit
devel/gmake: mark LTO_UNSAFE
devel/gmake fails to build if WITH_LTO=yes is set.
relevant part of the log:
--- make ---
cc -O2 -pipe -flto=thin -fstack-protector-strong -fno-strict-aliasing
-Wl,--export-dynamic -flto=thin -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
src/remote-stub.o lib/libgnu.a /usr/local/lib/libintl.so -Wl,-rpath
-Wl,/usr/local/lib
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
--
You are receiving this mail because:
You are the assignee for the bug.