[Pacth] BZ#18181 - Libabigail master branch fails to compile on EPEL 6

Sinny Kumari skumari@redhat.com
Thu Jan 1 00:00:00 GMT 2015


Hi,

This patch is for bug https://sourceware.org/bugzilla/show_bug.cgi?id=18181 .

Libabigail compilation was failing on EPEL6  because of undefined use of macros 
 EM_AARCH64, EM_TILEPRO and EM_TILEGX. 

This patch (attached with this email) adds checks whether above above macros 
are defined or not. If not defined,  switch cases calling these macros are 
excluded.

I have used 3 separate call of AC_CHECK_DECL() for checking defined behavior of 
each macros individually instead of calling AC_CHECK_DECLS() and defining a 
single macro for checking defined behavior of all macros together. This is 
because, macros  EM_TILEPRO and EM_TILEGX were added in glibc 2.16 and 
EM_AARCH64 was added in glibc 2.17 release.

Thanks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Check-if-EM_AARCH64-EM_TILEPRO-and-EM_TILEGX-macros-.patch
Type: text/x-patch
Size: 3829 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libabigail/attachments/20150101/fcae48f5/attachment.bin>


More information about the Libabigail mailing list