[LU-452] b1_8 __ksymtab_obd_device_(free|alloc) causes a section mismatch Created: 22/Jun/11  Updated: 05/Dec/14  Resolved: 15/Jul/11

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 1.8.6
Fix Version/s: Lustre 1.8.7

Type: Bug Priority: Minor
Reporter: Stephen Champion Assignee: Robert Read (Inactive)
Resolution: Fixed Votes: 0
Labels: ppc
Environment:

SLES11SP1 for ia64
gcc (SUSE Linux) 4.3.4 [gcc-4_3-branch revision 152973]
Lustre 1.8.5


Severity: 3
Rank (Obsolete): 6596

 Description   

This is fixed in master (LU-102) but appears to be present in b1_8.

Building vanilla 1.8.5-

/usr/src/packages/BUILD/lustre-1.8.5/lustre/obdclass/genops.c:96: error: __ksymtab_obd_device_free causes a section type conflict
/usr/src/packages/BUILD/lustre-1.8.5/lustre/obdclass/genops.c:81: error: __ksymtab_obd_device_alloc causes a section type conflict

As with ppc, recent releases of GCC for ia64 are refusing to export static functions.
With no external references, these do not need to be exported.

Patch on the way.



 Comments   
Comment by Stephen Champion [ 22/Jun/11 ]

Patch submitted: http://review.whamcloud.com/1007

Comment by Peter Jones [ 23/Jun/11 ]

Thanks for the patch Steve.

Comment by Build Master (Inactive) [ 15/Jul/11 ]

Integrated in lustre-b1_8 » x86_64,client,el5,inkernel #103
LU-452 : Don't export static functions

Johann Lombardi : e69dc73bb416a7b0ea79b58b06d84921994963db
Files :

  • lustre/obdclass/genops.c
Comment by Build Master (Inactive) [ 15/Jul/11 ]

Integrated in lustre-b1_8 » x86_64,client,el6,inkernel #103
LU-452 : Don't export static functions

Johann Lombardi : e69dc73bb416a7b0ea79b58b06d84921994963db
Files :

  • lustre/obdclass/genops.c
Comment by Build Master (Inactive) [ 15/Jul/11 ]

Integrated in lustre-b1_8 » i686,client,el6,inkernel #103
LU-452 : Don't export static functions

Johann Lombardi : e69dc73bb416a7b0ea79b58b06d84921994963db
Files :

  • lustre/obdclass/genops.c
Comment by Build Master (Inactive) [ 15/Jul/11 ]

Integrated in lustre-b1_8 » x86_64,client,el5,ofa #103
LU-452 : Don't export static functions

Johann Lombardi : e69dc73bb416a7b0ea79b58b06d84921994963db
Files :

  • lustre/obdclass/genops.c
Comment by Build Master (Inactive) [ 15/Jul/11 ]

Integrated in lustre-b1_8 » i686,client,el5,ofa #103
LU-452 : Don't export static functions

Johann Lombardi : e69dc73bb416a7b0ea79b58b06d84921994963db
Files :

  • lustre/obdclass/genops.c
Comment by Build Master (Inactive) [ 15/Jul/11 ]

Integrated in lustre-b1_8 » x86_64,client,ubuntu1004,inkernel #103
LU-452 : Don't export static functions

Johann Lombardi : e69dc73bb416a7b0ea79b58b06d84921994963db
Files :

  • lustre/obdclass/genops.c
Comment by Build Master (Inactive) [ 15/Jul/11 ]

Integrated in lustre-b1_8 » i686,server,el5,inkernel #103
LU-452 : Don't export static functions

Johann Lombardi : e69dc73bb416a7b0ea79b58b06d84921994963db
Files :

  • lustre/obdclass/genops.c
Comment by Build Master (Inactive) [ 15/Jul/11 ]

Integrated in lustre-b1_8 » x86_64,server,el5,ofa #103
LU-452 : Don't export static functions

Johann Lombardi : e69dc73bb416a7b0ea79b58b06d84921994963db
Files :

  • lustre/obdclass/genops.c
Comment by Build Master (Inactive) [ 15/Jul/11 ]

Integrated in lustre-b1_8 » i686,client,el5,inkernel #103
LU-452 : Don't export static functions

Johann Lombardi : e69dc73bb416a7b0ea79b58b06d84921994963db
Files :

  • lustre/obdclass/genops.c
Comment by Build Master (Inactive) [ 15/Jul/11 ]

Integrated in lustre-b1_8 » i686,server,el5,ofa #103
LU-452 : Don't export static functions

Johann Lombardi : e69dc73bb416a7b0ea79b58b06d84921994963db
Files :

  • lustre/obdclass/genops.c
Comment by Build Master (Inactive) [ 15/Jul/11 ]

Integrated in lustre-b1_8 » x86_64,server,el5,inkernel #103
LU-452 : Don't export static functions

Johann Lombardi : e69dc73bb416a7b0ea79b58b06d84921994963db
Files :

  • lustre/obdclass/genops.c
Comment by Peter Jones [ 15/Jul/11 ]

Landed for 1.8.7

Generated at Sat Feb 10 01:07:10 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.