Skip site navigation (1)Skip section navigation (2)
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/>
References:  <bug-249418-6497@https.bugs.freebsd.org/bugzilla/>

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

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=3Dlld to avoid the old def=
ault
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 does=
n'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.=
=20
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+=3D-fuse-ld=3Dlld I think.

--=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-249418-6497-Jl4TticZOT>