Opened 3 years ago

Closed 3 years ago

#24558 closed defect (fixed)

enable expensive hardening message is wrong with static library builds

Reported by: teor Owned by:
Priority: Very Low Milestone: Tor: 0.3.3.x-final
Component: Core Tor/Tor Version:
Severity: Trivial Keywords: easy, intro
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


A user complained on IRC that using expensive hardening and static builds together resulted in this warning:

configure: error: The compiler supports -fsanitize=address, but for some reason I was not able to link when using it. Are you missing run-time support? With GCC you need, and with Clang you need libclang_rt.ubsan*

We should say that you need "libubsan.*" for GCC, because you need the static version for static builds.

Child Tickets

Change History (2)

comment:1 Changed 3 years ago by teor

Status: newmerge_ready

See my branch log24558.

comment:2 Changed 3 years ago by nickm

Resolution: fixed
Status: merge_readyclosed

lgtm ; merged!

Note: See TracTickets for help on using tickets.