What's new

simple threaded app seg faults

ethician

Occasional Visitor
Using the latest asuswrt-merlin from git and custom built gcc (4.8.3) I've tried to compile a simple threaded application using libpthread (boost wrapped) which immediately seg faults on execution.

gdb gives
#0 0x2ab4bf7c in memcpy () from /lib/libc.so.0
#1 0x2ab7129c in __libc_pthread_init () from /lib/libc.so.0
#2 0x2aac90f0 in __pthread_initialize_minimal () from /lib/libpthread.so.0
#3 0x2ab71480 in __uClibc_init () from /lib/libc.so.0
#4 0x2aaac8f0 in _dl_get_ready_to_run () from /lib/ld-uClibc.so.0
#5 0x2aaacdac in ?? () from /lib/ld-uClibc.so.0

Is there any known remedy?

Thanks!
 
For those, who are interested: forcing the Makefile (libfoo.pl) not to strip the respective libraries solves this issue.
 
Similar threads

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top