Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Mar 2019 19:43:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 236581] /usr/lib/libomp.so underlinking
Message-ID:  <bug-236581-29464-qXLwugAHFW@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-236581-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-236581-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=3D236581

--- Comment #7 from Jan Beich <jbeich@FreeBSD.org> ---
As the custom Makefile copied -Wl,--as-needed from upstream (why?) libomp
itself isn't able to link against libm when using BFD linker.

$ LDFLAGS=3D-fuse-ld=3Dbfd make cleandir all -sj8
$ ldd $(make -V .OBJDIR)/libomp.so
/usr/obj/usr/src/amd64.amd64/lib/libomp/libomp.so:
        libthr.so.3 =3D> /lib/libthr.so.3 (0x8006a8000)
        libc.so.7 =3D> /lib/libc.so.7 (0x80024c000)

--=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-236581-29464-qXLwugAHFW>