Breakage on builder Fedora-x86_64-native-extended-gdbserver-m64, revision 6181e9c2c5ba252ac016f51903dc35d7bfbbca71

gdb-buildbot
2018-01-12T02:39:20Z

Unfortunately it seems that there is a breakage on GDB.

Commit title: 'gdb_compile_shlib: Only consider shlib= options when building executables'
Revision: 6181e9c2c5ba252ac016f51903dc35d7bfbbca71

You can find more details below:

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Buildslave:
fedora-x86-64-2

Full Build URL:
<http://gdb-build.sergiodj.net/builders/Fedora-x86_64-native-extended-gdbserver-m64/builds/8543>

Commit(s) tested:
6181e9c2c5ba252ac016f51903dc35d7bfbbca71

Author(s) (in the same order as the commits):
Simon Marchi <simon.marchi@ericsson.com>

Subject:
gdb_compile_shlib: Only consider shlib= options when building executables

Testsuite log (gdb.sum and gdb.log) URL(s):
<http://gdb-build.sergiodj.net/results/Fedora-x86_64-native-extended-gdbserver-m64/61/6181e9c2c5ba252ac016f51903dc35d7bfbbca71/>

*** Failed to compiled GDB. ***
============================

+++ The full log is too big to be posted here.
+++ These are the last 100 lines of it.

-lmcheck build-gnulib-gdbserver/import/libgnu.a build-libiberty-gdbserver/libiberty.a
rm -f libinproctrace.so
g++ -shared -fPIC -Wl,--soname=libinproctrace.so -Wl,--no-undefined -g -O2 -I. -I../../../binutils-gdb/gdb/gdbserver -I../../../binutils-gdb/gdb/gdbserver/../common -I../../../binutils-gdb/gdb/gdbserver/../regformats -I../../../binutils-gdb/gdb/gdbserver/.. -I../../../binutils-gdb/gdb/gdbserver/../../include -I../../../binutils-gdb/gdb/gdbserver/../gnulib/import -Ibuild-gnulib-gdbserver/import -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-narrowing -Wno-error=maybe-uninitialized -Werror -DGDBSERVER \
-Wl,--dynamic-list=../../../binutils-gdb/gdb/gdbserver/proc-service.list -o libinproctrace.so ax-ipa.o common-utils-ipa.o errors-ipa.o format-ipa.o print-utils-ipa.o regcache-ipa.o remote-utils-ipa.o rsp-low-ipa.o tdesc-ipa.o tracepoint-ipa.o utils-ipa.o vec-ipa.o linux-amd64-ipa.o linux-x86-tdesc-ipa.o arch/amd64-ipa.o -ldl -pthread
make[5]: Entering directory '/home/gdb-buildbot-2/fedora-x86-64-2/fedora-x86-64-native-extended-gdbserver/build/gdb/gdbserver'
make[6]: Entering directory '/home/gdb-buildbot-2/fedora-x86-64-2/fedora-x86-64-native-extended-gdbserver/build/gdb/gdbserver/build-gnulib-gdbserver'
make[7]: Entering directory '/home/gdb-buildbot-2/fedora-x86-64-2/fedora-x86-64-native-extended-gdbserver/build/gdb/gdbserver/build-gnulib-gdbserver'
make[8]: Entering directory '/home/gdb-buildbot-2/fedora-x86-64-2/fedora-x86-64-native-extended-gdbserver/build/gdb/gdbserver/build-gnulib-gdbserver/import'
make all-recursive
make[9]: Entering directory '/home/gdb-buildbot-2/fedora-x86-64-2/fedora-x86-64-native-extended-gdbserver/build/gdb/gdbserver/build-gnulib-gdbserver/import'
make[10]: Entering directory '/home/gdb-buildbot-2/fedora-x86-64-2/fedora-x86-64-native-extended-gdbserver/build/gdb/gdbserver/build-gnulib-gdbserver/import'
make[10]: Nothing to be done for 'all-am'.
make[10]: Leaving directory '/home/gdb-buildbot-2/fedora-x86-64-2/fedora-x86-64-native-extended-gdbserver/build/gdb/gdbserver/build-gnulib-gdbserver/import'
make[9]: Leaving directory '/home/gdb-buildbot-2/fedora-x86-64-2/fedora-x86-64-native-extended-gdbserver/build/gdb/gdbserver/build-gnulib-gdbserver/import'
make[8]: Leaving directory '/home/gdb-buildbot-2/fedora-x86-64-2/fedora-x86-64-native-extended-gdbserver/build/gdb/gdbserver/build-gnulib-gdbserver/import'
make[7]: Leaving directory '/home/gdb-buildbot-2/fedora-x86-64-2/fedora-x86-64-native-extended-gdbserver/build/gdb/gdbserver/build-gnulib-gdbserver'
make[6]: Leaving directory '/home/gdb-buildbot-2/fedora-x86-64-2/fedora-x86-64-native-extended-gdbserver/build/gdb/gdbserver/build-gnulib-gdbserver'
make[6]: Entering directory '/home/gdb-buildbot-2/fedora-x86-64-2/fedora-x86-64-native-extended-gdbserver/build/gdb/gdbserver/build-libiberty-gdbserver'
make[7]: Entering directory '/home/gdb-buildbot-2/fedora-x86-64-2/fedora-x86-64-native-extended-gdbserver/build/gdb/gdbserver/build-libiberty-gdbserver/testsuite'
make[7]: Nothing to be done for 'all'.
make[7]: Leaving directory '/home/gdb-buildbot-2/fedora-x86-64-2/fedora-x86-64-native-extended-gdbserver/build/gdb/gdbserver/build-libiberty-gdbserver/testsuite'
make[6]: Leaving directory '/home/gdb-buildbot-2/fedora-x86-64-2/fedora-x86-64-native-extended-gdbserver/build/gdb/gdbserver/build-libiberty-gdbserver'
make[5]: Leaving directory '/home/gdb-buildbot-2/fedora-x86-64-2/fedora-x86-64-native-extended-gdbserver/build/gdb/gdbserver'
make[4]: Leaving directory '/home/gdb-buildbot-2/fedora-x86-64-2/fedora-x86-64-native-extended-gdbserver/build/gdb/gdbserver'
make[4]: Entering directory '/home/gdb-buildbot-2/fedora-x86-64-2/fedora-x86-64-native-extended-gdbserver/build/gdb/data-directory'
rm -rf ./syscalls
rm -rf ./python
mkdir ./syscalls
rm -rf ./guile
files='gdb/__init__.py gdb/FrameDecorator.py gdb/FrameIterator.py gdb/frames.py gdb/printing.py gdb/prompt.py gdb/types.py gdb/unwinder.py gdb/xmethod.py gdb/command/__init__.py gdb/command/explore.py gdb/command/frame_filters.py gdb/command/pretty_printers.py gdb/command/prompt.py gdb/command/type_printers.py gdb/command/unwinders.py gdb/command/xmethods.py gdb/function/__init__.py gdb/function/as_string.py gdb/function/caller_is.py gdb/function/strfns.py gdb/printer/__init__.py gdb/printer/bound_registers.py' ; \
if test "x$files" != x ; then \
for file in $files ; do \
dir=`echo "$file" | sed 's,/[^/]*$,,'` ; \
/bin/sh ../../../binutils-gdb/gdb/data-directory/../../mkinstalldirs ./python/$dir ; \
/usr/bin/install -c -m 644 ../../../binutils-gdb/gdb/data-directory/../python/lib/$file ./python/$dir ; \
done ; \
fi
files='gdb-syscalls.dtd freebsd.xml aarch64-linux.xml amd64-linux.xml arm-linux.xml i386-linux.xml mips-n32-linux.xml mips-n64-linux.xml mips-o32-linux.xml ppc-linux.xml ppc64-linux.xml s390-linux.xml s390x-linux.xml sparc-linux.xml sparc64-linux.xml' ; \
for file in $files ; do \
f=../../../binutils-gdb/gdb/data-directory/../syscalls/$file ; \
if test -f $f ; then \
/usr/bin/install -c -m 644 $f ./syscalls ; \
fi ; \
done
if test "x./gdb.scm gdb/boot.scm gdb/experimental.scm gdb/init.scm gdb/iterator.scm gdb/printing.scm gdb/support.scm gdb/types.scm ./gdb.go gdb/experimental.go gdb/iterator.go gdb/printing.go gdb/support.go gdb/types.go" != x ; then \
files='./gdb.scm gdb/boot.scm gdb/experimental.scm gdb/init.scm gdb/iterator.scm gdb/printing.scm gdb/support.scm gdb/types.scm' ; \
for file in $files ; do \
dir=`echo "$file" | sed 's,/[^/]*$,,'` ; \
/bin/sh ../../../binutils-gdb/gdb/data-directory/../../mkinstalldirs ./guile/$dir ; \
/usr/bin/install -c -m 644 ../../../binutils-gdb/gdb/data-directory/../guile/lib/$file ./guile/$dir ; \
done ; \
files='./gdb.go gdb/experimental.go gdb/iterator.go gdb/printing.go gdb/support.go gdb/types.go' ; \
cd ./guile ; \
for go in $files ; do \
source="`echo $go | sed 's/\.go$/.scm/'`" ; \
echo /usr/bin/guild compile -Warity-mismatch -Wformat -Wunused-toplevel -L . -o "$go" "$source" ; \
/usr/bin/guild compile -Warity-mismatch -Wformat -Wunused-toplevel -L . -o "$go" "$source" || exit 1 ; \
done ; \
fi
rm -rf ./system-gdbinit
mkdir ./system-gdbinit
files='elinos.py wrs-linux.py' ; \
for file in $files ; do \
f=../../../binutils-gdb/gdb/data-directory/../system-gdbinit/$file ; \
if test -f $f ; then \
/usr/bin/install -c -m 644 $f ./system-gdbinit ; \
fi ; \
done
mkdir -p -- ./guile/.
mkdir -p -- ./python/gdb
touch stamp-system-gdbinit
mkdir -p -- ./guile/gdb
touch stamp-syscalls
/usr/bin/guild compile -Warity-mismatch -Wformat -Wunused-toplevel -L . -o ./gdb.go ./gdb.scm
mkdir -p -- ./python/gdb/command
wrote `./gdb.go'
mkdir -p -- ./python/gdb/function
/usr/bin/guild compile -Warity-mismatch -Wformat -Wunused-toplevel -L . -o gdb/experimental.go gdb/experimental.scm
mkdir -p -- ./python/gdb/printer
touch stamp-python
wrote `gdb/experimental.go'
/usr/bin/guild compile -Warity-mismatch -Wformat -Wunused-toplevel -L . -o gdb/iterator.go gdb/iterator.scm
wrote `gdb/iterator.go'
/usr/bin/guild compile -Warity-mismatch -Wformat -Wunused-toplevel -L . -o gdb/printing.go gdb/printing.scm
wrote `gdb/printing.go'
/usr/bin/guild compile -Warity-mismatch -Wformat -Wunused-toplevel -L . -o gdb/support.go gdb/support.scm
wrote `gdb/support.go'
/usr/bin/guild compile -Warity-mismatch -Wformat -Wunused-toplevel -L . -o gdb/types.go gdb/types.scm
wrote `gdb/types.go'
touch stamp-guile
make[4]: fork: Resource temporarily unavailable
make[4]: Leaving directory '/home/gdb-buildbot-2/fedora-x86-64-2/fedora-x86-64-native-extended-gdbserver/build/gdb/data-directory'
make[3]: *** [Makefile:2022: subdir_do] Error 1
make[3]: Leaving directory '/home/gdb-buildbot-2/fedora-x86-64-2/fedora-x86-64-native-extended-gdbserver/build/gdb'
make[2]: *** [Makefile:1616: all] Error 2
make[2]: Leaving directory '/home/gdb-buildbot-2/fedora-x86-64-2/fedora-x86-64-native-extended-gdbserver/build/gdb'
make[1]: *** [Makefile:8793: all-gdb] Error 2
make[1]: Leaving directory '/home/gdb-buildbot-2/fedora-x86-64-2/fedora-x86-64-native-extended-gdbserver/build'
make: *** [Makefile:850: all] Error 2
============================