Created attachment 424888 [details] compressed build.log I am using the -r99 version from the musl overlay, which fails to compile due to this error x86_64-gentoo-linux-musl-gcc -march=core2 -O2 -pipe -fomit-frame-pointer -I. -I. -I./../common -I./../regformats -I./.. -I./../../include -I./../gnulib/import -Ibuild-gnulib-gdbserver/import -Wall -Wpointer-arith -Wformat-nonliteral -Wno-char-subscripts -Wempty-body -Wdeclaration-after-statement -DGDBSERVER -DCONFIG_UST_GDB_INTEGRATION -fPIC -DIN_PROCESS_AGENT -fvisibility=hidden -c -o ax-ipa.o -MT ax-ipa.o -MMD -MP -MF .deps/ax-ipa.Tpo `echo " -Wall -Wpointer-arith -Wformat-nonliteral -Wno-char-subscripts -Wempty-body -Wdeclaration-after-statement " | sed "s/ -Wformat-nonliteral / -Wno-format-nonliteral /g"` ax.c In file included from server.h:61:0, from ax.c:19: target.h:424:21: error: unknown type name ‘mode_t’ int flags, mode_t mode); ^ Makefile:470: recipe for target 'ax-ipa.o' failed I have the full build.log attached. It may be because of a missing include of sys/types.h , but I'm not sure about anything.
Created attachment 424896 [details] output of emerge --info the useflags are [ebuild U ] sys-devel/gdb-7.10.1-r99::musl [7.9.1-r99::musl] USE="client nls python server zlib -expat -lzma -multitarget {-test} -vanilla" PYTHON_SINGLE_TARGET="python2_7 -python3_3 -python3_4" PYTHON_TARGETS="python2_7 python3_4 -python3_3" 0 KiB emerge-info is attached
there is no such version in the main tree
fixed with the stat.h patch from the overlay.