PR0001.html

LSB Problem Report

Problem Report Number 0001 (INT.0001)
Submitter's Classification Specification Problem (INT)
State Resolved
Resolution Interpretation (INT)
Raised 2002-07-10 16:31
Updated 2002-07-22 10:47
Published 2002-07-22 10:47
Certification Program Linux Standard Base Conformance Release 1.2
Test Suite lsbappchk IA32 version 1.2.2-1
Test Identification Elf section .sbss
Specification Linux Standard Base Specification for IA32 Architecture 1.2
Location in Spec unk
Problem Summary .sbss section in IA32 application binaries
Problem Text The lsbappchk tool is flagging an error in many IA32
applications, saying that the .sbss section has the
wrong value. We believe that there may be a specification
error in this area for the IA32 architecture.
Test Output 400|1 37 17:00:59|IC Start
200|1 37 17:00:59|Check Elf Section .sbss
520|1 37 0 0 0|Section .sbss: sh_type is wrong. Expecting 8,
got 1
220|1 37 1 17:00:59|FAIL

Review Information

Review Type SA Review
Start Date 2002-07-10 17:31
Last Updated 2002-07-18 17:45
Completed 2002-07-18 17:45
Status Complete
Review Resolution Interpretation (INT)
Review Conclusion The root cause of the problem is that the .sbss section is
inappropriate for the IA-32 architecture. On the IA-32
architecture this section is always empty, so it isn't
really be used, but the tool chain is emitting the reference
to it which causes it to show up in the final executable.

For this version of the specification (v1.2),
an interpretation is granted to permit this behavior.
It is expected that in a future revision, the
specification will be clarified, this section will
be removed completely, and gcc/bin-utils is
expected to be changed so as to not generate this section
on the IA-32 architecture.

 

Copyright 2005, The Free Standards Group, All Rights Reserved