Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Sep 2019 12:28:18 +0530
From:      Steevan Rodrigues <steevanxperia@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   kldload: unexpected relocation type 4 error in FreeBSD 11.2
Message-ID:  <CAKsGTHR4xSSFVkdvuF2chJmLn6LEsoqds_52jMEhnLJNZCsthg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi Folks,

We have a driver for a PCIe card.

We did a fresh clean install FreeBSD 11.2 and built our driver on that.
When we load that driver we get following error:

 kldload: unexpected relocation type 4

 link_elf_obj: symbol pmap_qremove undefined

 linker_load_file: Unsupported file type

 While searching I found following
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231451

Is this a known issue in 11.2 Release ?

By the way  I have a system with FreeBSD 11.1  release installed and

I upgraded that to 11.2 Release  and in this system I can build the same driver

and it loads fine without any issue.

Wonder why I see this difference between a clean install of 11.2 Release

and 11.2 release that was upgraded from 11.1 .

Regards,

Steevan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKsGTHR4xSSFVkdvuF2chJmLn6LEsoqds_52jMEhnLJNZCsthg>