Hi!

While building openssl-1.0.1e I noticed that the parallel build
is broken.
If I try to build openssl with make -j N where N is > 1 the build fails
due to unresolved symbols.

E.g:
make[2]: Entering directory 
`/home/rw/work/vpnbox/v2/maker/_build/openssl/openssl-1.0.1e/apps'
make[2]: Warnung: Kein Jobserver verfügbar: -j1 wird gesetzt. »+« zur 
Ursprungsregel
gcc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DTERMIO -O3 -fomit-frame-pointer -Wall -c -o rand_win.o rand_win.c
req.o: In function `genpkey_cb':
req.c:(.text+0x1e): undefined reference to `EVP_PKEY_CTX_get_app_data'
req.c:(.text+0x30): undefined reference to `EVP_PKEY_CTX_get_keygen_info'
req.c:(.text+0x51): undefined reference to `BIO_write'
req.c:(.text+0x71): undefined reference to `BIO_ctrl'
req.o: In function `do_X509_sign':
req.c:(.text+0xd0): undefined reference to `EVP_MD_CTX_init'
req.c:(.text+0xe4): undefined reference to `EVP_MD_CTX_init'
req.c:(.text+0x110): undefined reference to `EVP_DigestSignInit'
req.c:(.text+0x128): undefined reference to `sk_value'

make -j 1 on the other hand build perfectly fine.
I found this patch on the net:
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-libs/openssl/files/openssl-1.0.1-parallel-build.patch
With it applied openssl builds fine in parallel.

Is this a known issue?
I'm wondering why this patch is not mainline...

Thanks,
//richard

P.s: Please CC me, I'm not subscribed.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to