ARM arch, Linaro GCC 5.3-2016.02
objcopy target generates ~400Mb binary file, ending by section .note.gnu.build-id
$ objdump -x images/antares.elf
0 .note.gnu.build-id 00000024 20000000 20000000 00020000 2**2
1 .isr_vector 000001d0 08000000 08000000 00010000 2**0
Currently workaround is patching antares/toolchains/gcc.mk:
-OBJCOPYFLAGS+=-Obinary
+OBJCOPYFLAGS+=-Obinary -R .note.gnu.build-id
Another way is completely disable build-id section generation by --build-id=none compiler option
ARM arch, Linaro GCC 5.3-2016.02
objcopy target generates ~400Mb binary file, ending by section .note.gnu.build-id
$ objdump -x images/antares.elf
Currently workaround is patching antares/toolchains/gcc.mk:
Another way is completely disable build-id section generation by --build-id=none compiler option