bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/23898] New: readelf: Warning: Gap in build notes detected


From: hjl.tools at gmail dot com
Subject: [Bug binutils/23898] New: readelf: Warning: Gap in build notes detected from 0x401127 to 0x40113f
Date: Mon, 19 Nov 2018 19:54:03 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=23898

            Bug ID: 23898
           Summary: readelf: Warning: Gap in build notes detected from
                    0x401127 to 0x40113f
           Product: binutils
           Version: 2.32 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com
  Target Milestone: ---

On Fedora 29, I got

address@hidden tmp]$ cat
/export/gnu/import/git/sources/binutils-gdb/ld/testsuite/ld-x86-64/pass.c
#include <stdio.h>

int
main ()
{
  printf ("PASS\n");
  return 0;
}
address@hidden tmp]$ gcc -g -O0 -Wa,-mx86-used-note=no -c
/export/gnu/import/git/sources/binutils-gdb/ld/testsuite/ld-x86-64/pass.c
address@hidden tmp]$ gcc -g -O0 -Wa,-mx86-used-note=no 
/export/gnu/import/git/sources/binutils-gdb/ld/testsuite/ld-x86-64/pass.c
address@hidden tmp]$ readelf -n a.out > /dev/null
readelf: Warning: Gap in build notes detected from 0x401127 to 0x40113f
address@hidden tmp]$ gcc -g -O2 -Wa,-mx86-used-note=no 
/export/gnu/import/git/sources/binutils-gdb/ld/testsuite/ld-x86-64/pass.c
address@hidden tmp]$ readelf -n a.out > /dev/null
address@hidden tmp]$ 

-O0 triggers "Warning: Gap in build notes detected from 0x401127 to 0x40113".

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]