Hello,
On Tue, 21 Nov 2023 13:53:00 +0100
=?UTF-8?B?SMOpY3RvciBPcsOzbiBNYXJ0w61uZXo=?= <hector.o...@gmail.com> wrote:
> Hello,
>
> On Wed, 15 Nov 2023 at 23:09, tomazzi <toma...@wp.pl> wrote:
>
> > To do this, I need to have a complete build log with all the
> > compiler/linker flags, compiler warnings, etc.
>
> Find logs at https://buildd.debian.org/status/logs.php?pkg=gdb&arch=amd64
Many thanks for the link - I have the log, but I need some time to
analyze it.
> > Unfortunately, the methods described on the official Debian Wiki page
> > does not allow to build gdb from source package -> "debuild" fails to
> > produce the binary shipped by Debian. (I would say that this deserves a
> > separate BUG report).
>
> I am unsure about that, usually you can build using dpkg-buildpackage.
The gdb compiled with:
$> dpkg-buildpackage --build=binary --host-type=x86_64-linux-gnu -us -uc
reports configuration identical with the installed gdb, but the files
are of different size: installed 9.9MiB, compiled 9.3MiB. The newly
build gdb is also very slow.
I've also compiled the "hacked" gdb with Debian patches applied, and
it's fast - so no regression here.
Didn't tried sbuild yet.
Regards