Hi Everyone,

I cut-over from OpenSSL 1.0.2 to OpenSSL 1.1.1 recently. Building
Wget2 1.99.2 on an old PowerMac results in:

ssl_openssl.c:93: error: thread-local storage not supported for this target
ssl_openssl.c:94: error: thread-local storage not supported for this target
make[2]: *** [libwget_la-ssl_openssl.lo] Error 1
make[2]: *** Waiting for unfinished jobs....

I've got a feeling Wget2 will eventually build here. I noticed
1.99.2's ssl_openssl.c has this:

    static int _init;
    static __thread int _ex_data_idx;
    static __thread CRYPTO_EX_DATA _crypto_ex_data;
    static wget_thread_mutex _mutex;

While Master ssl_openssl.c has this:

    static int init;
    static wget_thread_mutex mutex;

    static SSL_CTX *_ctx;
    static int store_userdata_idx;

Is there a work around that can be used until the next Wget2 is released?

Jeff

Reply via email to