Ticket #177 (new task)

Opened 8 months ago

Last modified 4 hours ago

static link with uClibc does not work

Reported by: odole Assigned to: odole
Priority: major Milestone: farfar away
Component: Bug Fix Version: 1.0
Keywords: uClibc static link Cc:
Number of hours worked: 1 % Complete: 00
Number of hours remaining:

Description

when doing a static link with uClibc, I get an error (curl problem):

...
/usr/lib/gcc/i386-gentoo-linux-uclibc/4.1.2/../../../libssl.a(ssl_cert.o): In function `SSL_add_dir_cert_subjects_to_stack':
(.text+0x2e2): undefined reference to `OPENSSL_DIR_end'
/usr/lib/gcc/i386-gentoo-linux-uclibc/4.1.2/../../../libssl.a(ssl_cert.o): In function `SSL_add_dir_cert_subjects_to_stack':
(.text+0x2fa): undefined reference to `CRYPTO_lock'
/usr/lib/gcc/i386-gentoo-linux-uclibc/4.1.2/../../../libssl.a(ssl_cert.o): In function `xname_cmp':
(.text+0x326): undefined reference to `X509_NAME_cmp'
...

If I do a correct link by hand, I get an error at runtime:

developer@odole ~/Blastoise/build $ ./owb
Using --width 800 --height 600 --depth 32 --url http://google.com

: symbol '__guard_setup': can't resolve symbol in lib '/lib/libc.so.0'.

: symbol 'seed48_r': can't resolve symbol in lib '/lib/libc.so.0'.

: symbol 'dl_cleanup': can't resolve symbol in lib '/lib/libdl.so.0'.

: symbol '_dl_load_shared_library': can't resolve symbol in lib '/lib/libdl.so.0'.

: symbol '__guard_setup': can't resolve symbol in lib '/lib/libc.so.0'.

: symbol 'seed48_r': can't resolve symbol in lib '/lib/libc.so.0'.

: symbol 'dl_cleanup': can't resolve symbol in lib '/lib/libdl.so.0'.

: symbol '_dl_load_shared_library': can't resolve symbol in lib '/lib/libdl.so.0'.

Change History

03/06/08 10:14:13 changed by jcverdie

  • milestone changed from Blastoise to Doduo.

07/16/08 17:39:09 changed by odole

  • hours_worked set to 1.

We have a regression about static link in current release. As a matter of fact, it seems that there is a cyclic dependency between webcore-owb and generated-source libraries which prevent final link from being done correctly.

08/21/08 15:44:54 changed by mbensi

  • milestone changed from Galekid to farfar away.