[Bug 249418] games/atomix: fails to build after update to 3.34.0 (ld: error: undefined symbol: ceil)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Sep 29 01:25:55 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249418
John Hein <jcfyecrayz at liamekaens.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jcfyecrayz at liamekaens.com
--- Comment #3 from John Hein <jcfyecrayz at 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.
More information about the freebsd-gnome
mailing list