[hipl-users] Re: Instructions on using TLA

  • From: Miika Komu <miika.komu@xxxxxxx>
  • To: hipl-users@xxxxxxxxxxxxx
  • Date: Wed, 10 Sep 2008 13:00:19 +0300

Miika Komu wrote:

Uh, oh better to compile without ABI checks in the spec file:

# Control whether we perform a compat. check against published ABI.
#%define with_kabichk %{?_without_kabichk: 0} %{?!_without_kabichk: 1}

Or otherwise you get this:

+ echo '**** kABI checking is enabled in kernel SPEC file. ****'
**** kABI checking is enabled in kernel SPEC file. ****
+ chmod 0755 /usr/src/redhat/SOURCES/check-kabi
+ '[' -e /usr/src/redhat/SOURCES/Module.kabi_i686 ']'
+ cp /usr/src/redhat/SOURCES/Module.kabi_i686 /var/tmp/kernel-2.6.18-92.el5-root/Module.kabi + /usr/src/redhat/SOURCES/check-kabi -k /var/tmp/kernel-2.6.18-92.el5-root/Module.kabi -s Module.symvers
*** ERROR - ABI BREAKAGE WAS DETECTED ***

Sorry, that was incorrect. I believe the right way is to invoke:

rpmbuild --target i686 -ba --without kabichk /usr/src/redhat/SPECS/kernel-2.6.16.9.spec

(Currently I don't know how to update the actual ABI definitions and I am not sure how much it makes sense for us to do it instead of CentOS folks)

Other related posts: