From: PGNet Dev <pgnet.dev@gmail.com>
To: Tom de Vries <tdevries@suse.de>, gdb@sourceware.org
Subject: Re: gdb/head build, with GCC10, FAILs @ "error: expected constructor, destructor, or type conversion before ‘(’ token" ?
Date: Thu, 26 Mar 2020 10:18:13 -0700 [thread overview]
Message-ID: <7888c412-455a-b484-48a0-239daa170432@gmail.com> (raw)
In-Reply-To: <ff343fc5-50ab-768a-1611-007caa2d4a91@suse.de>
On 3/26/20 1:08 AM, Tom de Vries wrote:
>> I can reproduce this by using CXXFLAGS=-std=c++17
simple enough to 'fix' by removing all the 2nd-guessing ...
bumping to latest head
cd binutils-gdb
git log | head -n 5
commit a879b4d5a683f8dbebae8cf98297ee4a2db2e9e1
Author: John Baldwin <jhb@FreeBSD.org>
Date: Thu Mar 26 09:48:28 2020 -0700
Support AT_BSDFLAGS on FreeBSD.
un-setting any env vars, avoiding non-defaults,
unset LD CC CPP LDFLAGS CFLAGS CXXFLAGS CPPFLAGS
config for local python
export LDFLAGS="-L/usr/local/pyenv/versions/3.8-dev/lib -Wl,-rpath,/usr/local/pyenv/versions/3.8-dev/lib"
export LIBSS="-lpython3.8"
./configure \
--prefix=/usr/local/gdb-test \
--with-python=/usr/local/pyenv/versions/3.8-dev
builds
make V=1
make install
with no errors
built bin's linked to correct python
ldd /usr/local/gdb-test/bin/gdb | grep py
libpython3.8.so.1.0 => /usr/local/pyenv/versions/3.8-dev/lib/libpython3.8.so.1.0 (0x00007f85ff0c5000)
and execs ok
/usr/local/gdb-test/bin/gdb --version
GNU gdb (GDB) 10.0.50.20200326-git
thx!
prev parent reply other threads:[~2020-03-26 17:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-25 23:25 PGNet Dev
2020-03-26 7:17 ` Tom de Vries
2020-03-26 8:08 ` Tom de Vries
2020-03-26 17:18 ` PGNet Dev [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7888c412-455a-b484-48a0-239daa170432@gmail.com \
--to=pgnet.dev@gmail.com \
--cc=gdb@sourceware.org \
--cc=tdevries@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox