Overflow in relocation type 11 val FFFFFF00104c3688

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey everyone,

I'm trying to build one of my companies internal test modules on the
x86_64 architecture.  The module is written in C++ so we do not use
the kernel's build system.  When I try to load the module I see the
following error in the kernel prints:

Overflow in relocation type 11 val FFFFFF00104c3688
module likely not compiled with -mcmodel=kernel

Of course the problem is that I am compiling with -mcmodel=kernel and
-mno-red-zone.  Additionally I have built one other module using the
same compile options and it loads fine.  Am I missing some other
compile options?  Is there something wrong with the code?

I have looked through the kernel code to see what would trigger this
error and it appears that I have a R_X86_64_32S value that overflows a
s32 but I can't seem to figure out how or where this is in the code,
or if I need another compile option to fix this.  If someone could
give me some pointers it would be greatly appreciated.

Thanks,
Shawn

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux