https://sourceware.org/bugzilla/show_bug.cgi?id=28826
--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> --- Works for me: /export/build/gnu/tools-build/binutils-asan/build-x86_64-linux/ld/ld-new -mi386pep --subsystem=10 --image-base=0xffff82d040000000 --stack=0,0 --heap=0,0 --section-alignment=0x200000 --file-alignment=0x20 --major-image-version=4 --minor-image-version=16 --major-os-version=2 --minor-os-version=0 --major-subsystem-version=2 --minor-subsystem-version=0 --build-id=sha1 -T efi.lds -N prelink.o /export/gnu/import/git/gitlab/xen/xen/.xen.efi.1r.o /export/gnu/import/git/gitlab/xen/xen/.xen.efi.1s.o -b pe-x86-64 efi/buildid.o -o /export/gnu/import/git/gitlab/xen/xen/xen.efi ================================================================= ==1616314==ERROR: LeakSanitizer: detected memory leaks Direct leak of 862212 byte(s) in 133 object(s) allocated from: #0 0x7f3fbb6e791f in __interceptor_malloc (/lib64/libasan.so.6+0xae91f) #1 0xb4844b in xmalloc /export/gnu/import/git/gitlab/x86-binutils/libiberty/xmalloc.c:149 SUMMARY: AddressSanitizer: 862212 byte(s) leaked in 133 allocation(s). [hjl@gnu-tgl-2 x86]$ -- You are receiving this mail because: You are on the CC list for the bug.