I'm seeing this problem when building Emacs on Fedora 29 x86-64, which currently has GNU objcopy version 2.31.1-17.fc29 and GDB Fedora 8.2-6.fc29. To reproduce the problem: $ wget https://ftp.gnu.org/gnu/emacs/emacs-26.1.tar.xz $ tar xf emacs-26.1.tar.xz $ cd emacs-26.1 $ ./configure $ make $ gdb src/temacs (gdb) b main Breakpoint 1 at 0x419ac0: file emacs.c, line 681. (gdb) r -batch -eval t Starting program: /home/eggert/junk/emacs-26.1/src/temacs -batch -eval t warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments ... and many more warning messages like that, which shouldn't be there. H.J. Lu says in Bug#1553086 "It may be an objcopy bug. Please open a binutils bug" so that is what I am doing here.
By "Bug#1553086" I meant this URL: https://bugzilla.redhat.com/show_bug.cgi?id=1553086
See PR 23034. I believe this is related to PR 23035.