[tor-bugs] #12113 [Tor bundles/installation]: Building libgmp on Windows without exception handling would reduce dependencies
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri May 23 20:57:10 UTC 2014
#12113: Building libgmp on Windows without exception handling would reduce
dependencies
--------------------------------------+-----------------------
Reporter: tom | Owner: erinn
Type: defect | Status: new
Priority: minor | Milestone:
Component: Tor bundles/installation | Version:
Keywords: | Actual Points:
Parent ID: | Points:
--------------------------------------+-----------------------
I believe that in the Tor Browser Bundle on Windows, for the tor.exe
component, libgmpxx-4.dll is built using MinGW with exception handling
enabled. (Omits -fno-exceptions). MinGW has an archaic exception handling
mechanism on Windows, using setjmp/longjmp based exceptions and
necessitates the extra dll libgcc_s_sjlj-1.dll.
If libgmp was build without exception handling (it appears to only use it
3 or 4 places in the dll), it'd be possible to eliminate
libgcc_s_sjlj-1.dll entirely.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/12113>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list