[Bug default/19098] New: new function pointer code doesn't seem to accept generic function pointers

woodard at redhat dot com sourceware-bugzilla@sourceware.org
Thu Jan 1 00:00:00 GMT 2015


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

            Bug ID: 19098
           Summary: new function pointer code doesn't seem to accept
                    generic function pointers
           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: ---

Created attachment 8693
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8693&action=edit
reproducing ELF file.

I think that this one is related to some of the new function pointer code.
This was tested with code from the dodji/fixes branch

It looks like the function pointer is not saving enough type information to
test correctly against itself.

hype260@ben:~/bin/abidw --abidiff
/collab/usr/global/tools/order/spack/opt/chaos_5_x86_64_ib/gcc@4.4.7/libtiff@4.0.3-3bd949f3/lib/libtiff.so.5.2.0 
Functions changes summary: 0 Removed, 1 Changed, 0 Added function
Variables changes summary: 0 Removed, 0 Changed, 0 Added variable

1 function with some indirect sub-type change:

  [C]'function TIFFExtendProc TIFFSetTagExtender(TIFFExtendProc)' has some
indirect sub-type changes:
    return type changed:
      underlying type 'void ()*' changed:
        in pointed to type 'function type void (TIFF*)':
    parameter 1 of type 'typedef TIFFExtendProc' changed:
      underlying type 'void ()*' changed:
        in pointed to type 'function type void (TIFF*)':

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



More information about the Libabigail mailing list