Date: Tue, 29 Sep 2020 01:25:55 +0000 From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 249418] games/atomix: fails to build after update to 3.34.0 (ld: error: undefined symbol: ceil) Message-ID: <bug-249418-6497-Jl4TticZOT@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-249418-6497@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249418 John Hein <jcfyecrayz@liamekaens.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jcfyecrayz@liamekaens.com --- Comment #3 from John Hein <jcfyecrayz@liamekaens.com> --- (In reply to commit-hook from comment #2) This still fails on 11.x unless you use -fuse-ld=lld to avoid the old default ld in /usr/bin or point to newer ld from binutils from ports (-B/usr/local/bin). The problem has to do with the old ld implementation of --start-group and --end-group. If you put just the .a libs between --start-group and --end-group, it works with the old ld(1). If you include .so's (which doesn't make much sense really for what --start-group and --end-group are there for), then the old ld(1) gets confused somehow and can't find symbols sometimes. This could be considered a meson bug since it brackets too much between --start-group and --end-group. I'm seeing this on other ports, too (e.g., seahorse - I'm opening a bug for that shortly). Anyway, the easiest fix is LDFLAGS+=-fuse-ld=lld I think. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-249418-6497-Jl4TticZOT>
