public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
* [Bug default/20199] New: disregard harmless type synonyms
@ 2016-01-01  0:00 woodard at redhat dot com
  2016-01-01  0:00 ` [Bug default/20199] " woodard at redhat dot com
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: woodard at redhat dot com @ 2016-01-01  0:00 UTC (permalink / raw)
  To: libabigail

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

            Bug ID: 20199
           Summary: disregard harmless type synonyms
           Product: libabigail
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: default
          Assignee: dodji at redhat dot com
          Reporter: woodard at redhat dot com
                CC: libabigail at sourceware dot org
  Target Milestone: ---

I compiled up libelf with gcc 6.1.0 and Intel 16.0.2 and then ran them through
abidiff

ipa15@ben: abidiff
opt/spack/chaos_5_x86_64_ib/gcc-6.1.0/libelf-0.8.13-ftzwve3mpopzjgv55lt5iisid2ts5j4r/lib/libelf.so
opt/spack/chaos_5_x86_64_ib/intel-16.0.2/libelf-0.8.13-kextzapiqvjhjqkph2m2utoabt5pd7im/lib/libelf.so


And there are a lot of warnings along the lines of:

Functions changes summary: 0 Removed, 11 Changed (103 filtered out), 0 Added
functions
Variables changes summary: 0 Removed, 1 Changed (2 filtered out), 0 Added
variable

11 functions with some indirect sub-type change:

  [C]'function size_t _elf32_xltsize(const Elf_Data*, unsigned int, unsigned
int, int)' at 32.xlatetof.c:336:1 has some indirect sub-type changes:
    return type changed:
      underlying type 'long unsigned int' changed:
        type name changed from 'long unsigned int' to 'unsigned long'
...

To me a human, this sounds com pletely kosher. We can easily know that "long
unsigned int" and "unsigned long" are the same length and I can't think of any
way in the C language where they could actually be different. Abidiff should
suppress those warnings.

The object files that led to this report are attached to PR:20194

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-07-14 15:13 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-01  0:00 [Bug default/20199] New: disregard harmless type synonyms woodard at redhat dot com
2016-01-01  0:00 ` [Bug default/20199] " woodard at redhat dot com
2016-01-01  0:00 ` dodji at redhat dot com
2016-01-01  0:00 ` dodji at redhat dot com
2016-01-01  0:00 ` woodard at redhat dot com
2016-01-01  0:00 ` woodard at redhat dot com
2016-01-01  0:00 ` [Bug default/20199] consider integral type synonyms as being equal dodji at redhat dot com
2016-01-01  0:00 ` dodji at redhat dot com
2016-01-01  0:00 ` [Bug default/20199] disregard harmless type synonyms dodji at redhat dot com
2016-01-01  0:00 ` [Bug default/20199] consider integral type synonyms as being equal dodji at redhat dot com
2016-01-01  0:00 ` [Bug default/20199] disregard harmless type synonyms woodard at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).