[LU-102] EXPORT_SYMBOL of static function breaks compile Created: 28/Feb/11 Updated: 28/Feb/11 Resolved: 28/Feb/11 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.1.0 |
| Fix Version/s: | Lustre 2.1.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Christopher Morrone | Assignee: | Oleg Drokin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
RHEL6, PPC64 |
||
| Severity: | 2 |
| Rank (Obsolete): | 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 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: http://review.whamcloud.com/262 |
| Comments |
| Comment by Oleg Drokin [ 28/Feb/11 ] |
|
Totally agree on this one. Patch approved. |
| Comment by Oleg Drokin [ 28/Feb/11 ] |
|
Patch landed. resolving. |