Summary: | sys-devel/gdb-10.1 with sys-libs/uclibc-ng[-ipv6] - remote-utils.cc: In function 'void remote_prepare(const char*)': remote-utils.cc:293:60: error: 'in6addr_any' was not declared in this scope | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | ernsteiswuerfel <erhard_f> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | jstein |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 570544 | ||
Attachments: |
build.log
emerge --info |
Created attachment 685800 [details]
emerge --info
I assume this is failing because your libc is built without ipv6 support. gdb doesn't have an "ipv6" USE flag, so there might not be any way to make this work. gdb assumes both ipv4 and ipv6 available at the same time. I suggest filing an upstream bug at https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb and asking if it's an environment gdb wants to support. uclibc support in Gentoo has been removed. |
Created attachment 685797 [details] build.log [...] i686-unknown-linux-uclibc-g++ -Os -march=pentium4 -pipe -I. -I. -I./../gdb/regformats -I./.. -I./../include -I./../gdb -I./../gnulib/import -I../gnulib/import -I./.. -I.. -pthread -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-variable -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-error=maybe-uninitialized -Wno-mismatched-tags -Wsuggest-override -Wimplicit-fallthrough=3 -Wduplicated-cond -Wshadow=local -Wdeprecated-copy -Wdeprecated-copy-dtor -Wredundant-move -Wmissing-declarations -Wstrict-null-sentinel -Wformat -Wformat-nonliteral -DGDBSERVER -c -o remote-utils.o -MT remote-utils.o -MMD -MP -MF ./.deps/remote-utils.Tpo remote-utils.cc remote-utils.cc: In function 'void remote_prepare(const char*)': remote-utils.cc:293:60: error: 'in6addr_any' was not declared in this scope; did you mean 'in_addr_t'? 293 | ((struct sockaddr_in6 *) iter->ai_addr)->sin6_addr = in6addr_any; | ^~~~~~~~~~~ | in_addr_t make[2]: *** [Makefile:542: remote-utils.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/sys-devel/gdb-10.1/work/gdb-10.1/gdbserver' make[1]: *** [Makefile:9031: all-gdbserver] Error 2 make[1]: Leaving directory '/var/tmp/portage/sys-devel/gdb-10.1/work/gdb-10.1' make: *** [Makefile:854: all] Error 2 * ERROR: sys-devel/gdb-10.1::gentoo failed (compile phase):