[Bug 236581] /usr/lib/libomp.so underlinking

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Mar 18 19:43:10 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236581

--- Comment #7 from Jan Beich <jbeich at 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=-fuse-ld=bfd make cleandir all -sj8
$ ldd $(make -V .OBJDIR)/libomp.so
/usr/obj/usr/src/amd64.amd64/lib/libomp/libomp.so:
        libthr.so.3 => /lib/libthr.so.3 (0x8006a8000)
        libc.so.7 => /lib/libc.so.7 (0x80024c000)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-toolchain mailing list