Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Mar 2017 10:31:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-toolchain@FreeBSD.org
Subject:   [Bug 214258] devel/openmp: spurious libm dependency
Message-ID:  <bug-214258-29464-ldrLcdEoJy@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-214258-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-214258-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=3D214258

--- Comment #7 from Jan Beich (mail not working) <jbeich@FreeBSD.org> ---
LDFLAGS+=3D-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 scal=
bnl

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214258-29464-ldrLcdEoJy>