[tor-bugs] #18706 [Tor]: tor-0.2.8.2-alpha, undefined symbolo "signbit" when compiling for Solaris10
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Apr 4 08:02:42 UTC 2016
#18706: tor-0.2.8.2-alpha, undefined symbolo "signbit" when compiling for
Solaris10
-------------------------------------------------+-------------------------
Reporter: RainerSchmidt | Owner:
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Tor | Version: Tor:
Severity: Normal | 0.2.8.2-alpha
Keywords: undefined symbolo signbit | Resolution:
regression | Actual Points:
Parent ID: | Points: small
Reviewer: | Sponsor:
-------------------------------------------------+-------------------------
Comment (by yawning):
Replying to [comment:1 nickm]:
> Can you tell whether Solaris10 has a signbit() function and we are
somehow not linking against the library that has it, or whether Solaris10
is missing signbit and we'll have to define our own?
As far as I can tell from searching the intertubes, certain versions of
GCC on Slowlaris ship a version of `signbit()` that causes aliasing
warnings. That said, per the man page, including `math.h` should be
enough (since it's by definition macro), and we also link with the math
library...
What version of GCC are you using?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18706#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list