Date: Mon, 25 Mar 2019 14:32:59 +0000 From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 236141] LLD (unlike BFD) ignores unresolved references in libraries for indirect linking Message-ID: <bug-236141-29464-oe5dmKokOX@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-236141-29464@https.bugs.freebsd.org/bugzilla/> References: <bug-236141-29464@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=3D236141 --- Comment #25 from commit-hook@freebsd.org --- A commit references this bug: Author: jbeich Date: Mon Mar 25 14:32:09 UTC 2019 New revision: 496824 URL: https://svnweb.freebsd.org/changeset/ports/496824 Log: graphics/sdl_ttf: unbreak --no-allow-shlib-undefined with Gold or LLD 9 Clang 8 on x86 with -O1 converts ceil(float) to ceilf() but wants -msse4.1 to use builtin. GCC 8 on x86 and aarch64 with -O1 and Clang 8 on aarch64 always use builtin ceil(). To avoid guessing when library call will be made just append -lm explicitly. ld: error: ./.libs/libSDL_ttf.so: undefined reference to ceilf PR: 236141 Reported by: pkg-fallout (via antoine) Obtained from: upstream Approved by: portmgr blanket (blocks 144 consumers) Changes: head/graphics/sdl_ttf/files/patch-bug1401 --=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-236141-29464-oe5dmKokOX>