Re: Autoinstall and multiple compiler -> kernel module can not be build

Mike Marion <[email protected]> Thu, 29 Nov 2018 21:22:44 +0000
Newsgroups gmane.linux.suse.autoinstall
Message-ID <[email protected]>
On Thu, Nov 29, 2018 at 03:57:05PM +0100, Dr. Peer-Joachim Koch wrote:

> I tried to do an auto install of SLES 12SP1. I created
> a local repository with additional compiler (gcc 5,6,7,8 ...).
> The installation is working. But when I try to install our
> file system software (Quantum stornext), the kernel module
> is build successful, but can not be loaded (exe format error...).

Out of curiosity.. why SP1?  It's over a year out of general support 
already.

> Now I tried the same installation without the gcc source
> and everything is working.
> I installed gcc8 +gfortran8. beside the normal cc and c++ and
> all the updates for SLES12SP1(without kernel updates).
> Any idea what's going wrong in this case ?

It sounds like you might be building against one kernel source while
running a different kernel that you're trying to load it into though.
As a first stab at a cause.  Or, an older gcc is being used during build
that is doing something wrong.

-- 
Mike Marion-Unix SysAdmin/Sr. Staff IT Engineer-http://www.qualcomm.com-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]