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

--- Comment #7 from Jan Beich <jbe...@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.
_______________________________________________
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"

Reply via email to