Re: Build problems with dhcpcd-5 on uclibc
Roy Marples
Sat Jul 18 21:39:06 2009
Ed W wrote:
Additional: It appears that you need both UCLIBC_USE_NETLINK=y and
UCLIBC_SUPPORT_AI_ADDRCONFIG=y in your uclibc config
...Unfortunately when I enable the second option then I'm getting
segfaults whenever I try and do anything network related which actually
uses the device, eg ifconfig is fine, bringing up the interface is fine,
but "ping" segfaults, as does "telnet".
dhcpcd I think is working fine (oddly enough), and I can't reproduce
this on my build environment (which is fairly similar bar the kernel)
Clearly this is unrelated to dhcpcd now, and may well be a kernel option
related issue, but perhaps someone has some ideas where to look?
Obviously it's going to be a pain to turn on symbols and try to get a
backtrace on the embedded board
For ref this is a gentoo+hardened kernel, with a hardened gcc3.4
toolchain, uclibc 0.30.1 + bb 0.14.2
Anyone got any ideas on what to check or perhaps experienced something
similar...
I'm not familiar with uclibc, but I do know I'll need a full backtrace
to provide any help :/
I'm also subscribed to the gentoo-embedded list and saw the cross post
there. Once a solution is found, I'd appreciate a post back here for the
archives :)
Thanks
Roy
Archive administrator: postmaster@marples.name