[Bug build/22680] New: [8.1 Regression] undefined reference to `selftests::reset linking gdb

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug build/22680] New: [8.1 Regression] undefined reference to `selftests::reset linking gdb

macro@linux-mips.org
https://sourceware.org/bugzilla/show_bug.cgi?id=22680

            Bug ID: 22680
           Summary: [8.1 Regression] undefined reference to
                    `selftests::reset linking gdb
           Product: gdb
           Version: 8.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: build
          Assignee: unassigned at sourceware dot org
          Reporter: doko at debian dot org
  Target Milestone: ---

the 20180106 snapshot from the 8.1 branch fails to build with:

selftest.o: In function `selftests::run_tests(char const*)':
./build/objdir/gdb/./gdb/common/selftest.c:97: undefined reference to
`selftests::reset()'
collect2: error: ld returned 1 exit status
Makefile:1923: recipe for target 'gdb' failed
make[3]: *** [gdb] Error 1
make[3]: Leaving directory
'/home/packages/gdb/gdb-8.0.90.20180106/build/objdir/gdb'
Makefile:8490: recipe for target 'all-gdb' failed
make[2]: *** [all-gdb] Error 2

gdb is configured as:

CFLAGS="-g -O2 -fdebug-prefix-map=/home/packages/gdb/gdb-8.0.90.20180106=.
-fstack-protector-strong -Wformat -Werror=format-security" CXXFLAGS="-g -O2
-fdebug-prefix-map=/home/packages/gdb/gdb-8.0.90.20180106=.
-fstack-protector-strong -Wformat -Werror=format-security"
CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,-Bsymbolic-functions
-Wl,-z,relro" PYTHON="" /home/packages/gdb/gdb-8.0.90.20180106/./configure
--build=x86_64-linux-gnu --prefix=/usr --includedir="\${prefix}/include"
--mandir="\${prefix}/share/man" --infodir="\${prefix}/share/info"
--sysconfdir=/etc --localstatedir=/var --libexecdir="\${prefix}/lib/gdb"
--disable-maintainer-mode --disable-dependency-tracking --disable-silent-rules
--host=x86_64-linux-gnu --disable-gdbtk --disable-shared
--with-pkgversion='Ubuntu 8.0.90.20180106-0ubuntu1'
--srcdir=/home/packages/gdb/gdb-8.0.90.20180106 --disable-readline
--with-system-readline --with-expat --with-system-zlib --without-lzma
--without-guile --without-babeltrace --disable-werror --with-babeltrace
--with-system-gdbinit=/etc/gdb/gdbinit --build=x86_64-linux-gnu --enable-tui
--with-lzma --with-python=python3

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug build/22680] [8.1 Regression] undefined reference to `selftests::reset linking gdb

macro@linux-mips.org
https://sourceware.org/bugzilla/show_bug.cgi?id=22680

Simon Marchi <simon.marchi at ericsson dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |simon.marchi at ericsson dot com

--- Comment #1 from Simon Marchi <simon.marchi at ericsson dot com> ---
Proposed patches here:
https://sourceware.org/ml/gdb-patches/2018-01/msg00096.html

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug build/22680] [8.1 Regression] undefined reference to `selftests::reset linking gdb

macro@linux-mips.org
In reply to this post by macro@linux-mips.org
https://sourceware.org/bugzilla/show_bug.cgi?id=22680

Yao Qi <qiyao at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |qiyao at gcc dot gnu.org
         Resolution|---                         |FIXED
   Target Milestone|---                         |8.1

--- Comment #2 from Yao Qi <qiyao at gcc dot gnu.org> ---
Patches are committed.

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug build/22680] [8.1 Regression] undefined reference to `selftests::reset linking gdb

macro@linux-mips.org
In reply to this post by macro@linux-mips.org
https://sourceware.org/bugzilla/show_bug.cgi?id=22680

Jeremi <jeremip11 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jeremip11 at gmail dot com

--
You are receiving this mail because:
You are on the CC list for the bug.