This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH][gdb/testsuite] Compile index-cache.c with -Wl,--build-id
- From: Simon Marchi <simon dot marchi at polymtl dot ca>
- To: Pedro Alves <palves at redhat dot com>, Tom de Vries <tdevries at suse dot de>, gdb-patches at sourceware dot org
- Date: Fri, 21 Jun 2019 11:52:59 -0400
- Subject: Re: [PATCH][gdb/testsuite] Compile index-cache.c with -Wl,--build-id
- Dkim-filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca x5LFr0XZ007243
- References: <20190621152742.GA20230@delia> <cf27c5eb-60c1-681b-1635-ff6653f91759@redhat.com>
On 2019-06-21 11:47 a.m., Pedro Alves wrote:
> Was the testcase
> written on a system with a compiler that defaults to --build-id ?
Yes, gcc on Ubuntu (which I use) is compiled with --enable-linker-build-id.
I think it's correct to change the test case to not assume the linker generates a build-id by default.
Simon