[tor-bugs] #12113 [Tor bundles/installation]: Building libgevent/opensll on Windows without exception handling would reduce dependencies (was: Building libgmp on Windows without exception handling would reduce dependencies)
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri Dec 5 12:58:48 UTC 2014
#12113: Building libgevent/opensll on Windows without exception handling would
reduce dependencies
------------------------------------------+------------------------
Reporter: tom | Owner: erinn
Type: defect | Status: new
Priority: minor | Milestone:
Component: Tor bundles/installation | Version:
Resolution: | Keywords: tbb-gitian
Actual Points: | Parent ID:
Points: |
------------------------------------------+------------------------
Changes (by gk):
* keywords: needs-triage => tbb-gitian
Old description:
> 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.
New description:
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.
EDIT: This is not about libgmp anymore as we don't ship the libgmpxx any
longer. Rather, libevent/openssl are affected by that problem, too.
--
Comment:
We are not shipping libgmpxx-4.dll anymore beginning with 4.5-alpha-2.
Thus, this particular problem is solved. But it seems libevent/openssl are
affected, too.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/12113#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list