Bug 3265

Summary: After enabling IPv6 support in the master configuration, uClibc has IPv6 disabled
Product: buildroot Reporter: faber
Component: OtherAssignee: unassigned
Status: RESOLVED WORKSFORME    
Severity: minor CC: buildroot
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Target:
Build:

Description faber 2011-02-17 17:02:20 UTC
Using buildroot snapshot from 28th of January, 2011. It's just a minor inconvenience as you can always do a 'make uclib-menuconfig' and enable it.
Comment 1 Peter Korsgaard 2011-02-17 20:43:09 UTC
Seems to work here:

make menuconfig,toolchain-> uClibc C library Version (daily snapshot), Enable IPv6 support
make uclibc-menuconfig -> Networking Support
See that UCLIBC_HAS_IPV6 is enabled.

Make sure you're using the right uClibc configuration file (toolchain/uClibc/uClibc-snapshot.config)
Comment 2 faber 2011-02-17 21:00:09 UTC
I used uClibc 0.9.31.x, any more recent version fails to build with 

In file included from libc/stdlib/__cxa_finalize.c:8:
libc/stdlib/_atexit.c: In function '__cxa_finalize':
libc/stdlib/_atexit.c:203: error: '__result' undeclared (first use in this function)
libc/stdlib/_atexit.c:203: error: (Each undeclared identifier is reported only once
libc/stdlib/_atexit.c:203: error: for each function it appears in.)
libc/stdlib/_atexit.c:203: error: invalid lvalue in asm output 0
make[1]: *** [libc/stdlib/__cxa_finalize.os] Error 1

(even when disabling atexit)

But this is another issue, not related to this bug..


If it works on current snapshot version, then we can close this one.
Comment 3 Peter Korsgaard 2011-02-17 21:23:10 UTC
Ok, with uClibc 0.9.31 it also works here. Does it really not work for you?

make O=test menuconfig, toolchain->Enable IPv6 support, save
make O=test uclibc-menuconfig, Networking support, check that IPv6 is enabled
Comment 4 Peter Korsgaard 2011-07-18 22:02:40 UTC
No reply for months and unable to reproduce, closing.