Details
-
Bug
-
Resolution: Fixed
-
Minor
-
Lustre 2.1.0
-
None
-
RHEL6, PPC64
-
2
-
10813
Description
I don't know exactly when gcc started catching this, but:
gcc 4.4.4 in RHEL6 on ppc64 does not allow EXPORT_SYMBOL for
a static function (which seems reasonable). The following error
is seen on the EXPORT_SYMBOL line:
error: __ksymtab_obd_device_alloc causes a section type conflict
The fix is simply to remove the EXPORT_SYMBOL line, which I think is fine. I can't find anywhere else that references that symbol outside of that one file.
Patch is here: