Bug#851146: libcc1: COMPILER_NAME should be gcc
clone 851146 -1
reassign -1 src:gdb
thanks
On 12.01.2017 13:16, Thadeu Lima de Souza Cascardo wrote:
> Package: libcc1-0
> Version: 6.3.0-2
> Severity: normal
>
> When using the compile option in gdb, I get:
>
> Could not find a compiler matching "^(x86_64|i.86)(-[^-]*)?-linux(-gnu)?-x86_64-linux-gnu-gcc-6$"
>
> gdb already adds the arch and os. Then libcc1 adds it again. By default,
> COMPILER_NAME in libcc1 is simply gcc. I was not able to dig deeper and
> find out why it's built with x86_64-linux-gnu-gcc-6, but that seems to
> be the cause of that failure in gdb.
that's because GCC is configured using --program-prefix=x86_64-linux-gnu- (and
it always was configured with --program-suffix=-6). gdb should expect suffix
and prefix.
I'm working around that in gcc-6 now, but that should be fixed in gdb.
Matthias
Reply to: