[Bug 214258] devel/openmp: spurious libm dependency

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Mar 15 10:31:40 UTC 2017


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

--- Comment #7 from Jan Beich (mail not working) <jbeich at FreeBSD.org> ---
LDFLAGS+=-Wl,--verbose diff shows:

+(/usr/lib/libgcc.a)mulxc3.o
+(/usr/lib/libgcc.a)mulsc3.o
+(/usr/lib/libgcc.a)muldc3.o
+(/usr/lib/libgcc.a)divxc3.o
+(/usr/lib/libgcc.a)divsc3.o
+(/usr/lib/libgcc.a)divdc3.o

while nm kmp_atomic.cpp.o diff shows:

-                 U _GLOBAL_OFFSET_TABLE_
+                 U __divdc3
+                 U __divsc3
+                 U __divxc3
+                 U __muldc3
+                 U __mulsc3
+                 U __mulxc3

but using older libgcc.a won't help:

$ nm -A /poudriere/jails/103amd64/usr/lib/libgcc.a | fgrep scalbnl
/poudriere/jails/103amd64/usr/lib/libgcc.a:divxc3.o:                 U scalbnl

$ nm -A /poudriere/jails/110amd64/usr/lib/libgcc.a | fgrep scalbnl
/poudriere/jails/110amd64/usr/lib/libgcc.a:divxc3.o:                 U scalbnl
/poudriere/jails/110amd64/usr/lib/libgcc.a:divtc3.o:                 U scalbnl

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


More information about the freebsd-toolchain mailing list