Comment 2 for bug 1813553

Revision history for this message
Liviu Ionescu (ilg) wrote :

> Is the same issue occurring on a linux host

I did not try exactly the same tests on a Linux host, but a friend did his own tests and he reported similar problems.

> could you please put up a testcase (source and binaries) that folks could use to reproduce the issue

Yes, I attached an archive with two folders.

The file that threw the assert is f4b-lto-test/Debug/f4b-lto-test.elf.

The entire f4b-lto-test project is a simplification of the initial f4b-lto project, which behaved even worse, GDB crashed with segmentation fault while loading symbols. This case can be easily replicated in a console, by trying to start with 'arm-none-eabi-gdb f4b-lto.elf'

$ /Users/ilg/opt/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-gdb /Users/ilg/Desktop/eclipse-workspace-2018-12/f4b-lto/Debug/f4b-lto.elf
GNU gdb (GNU Tools for Arm Embedded Processors 8-2018-q4-major) 8.2.50.20181213-git
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "--host=x86_64-apple-darwin10 --target=arm-none-eabi".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
/Users/ilg/.gdbinit:1: Error in sourced command file:
No symbol table is loaded. Use the "file" command.
Reading symbols from /Users/ilg/Desktop/eclipse-workspace-2018-12/f4b-lto/Debug/f4b-lto.elf...
Segmentation fault: 11
$