elfchk claimings on ppc32 binaries
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lsb |
In Progress
|
Medium
|
Unassigned | ||
Mandriva |
In Progress
|
Medium
|
Bug Description
Tarball with test results
We've just got the following question about appchk running on ppc32 against LSB
3.0:
/***************/
LSB app checker reports error in the ELF header for some of the binaries
on 32 bit PPC.
Following are the error messages:
Section .got: sh_flags is wrong. expecting 7, got 3
Section .plt: sh_type is wrong. Expecting 8, got 1
Section .plt: sh_flags is wrong. expecting 7, got 3
We build those binaries on PPC64 using 32bit GCC. Not all binaries have
this problem, though the 'gcc' command line for all the binaries is same
except static library linking. PPC64 binaries do not have this error.
I have attached the test results.
Can you please through some light on this?
/***************/
The more clear description of the issues is like the following:
- Section .got has 'SHF_WRITE+
'SHF_WRITE+
- Section .plt has 'SHT_PROGBITS' type instead of expected 'SHT_NOBITS' + the
same issues with attributes.
Are there any ideas about the reasons of such behavior? If these claimings are
reasonable (and will prevent from certifying apps), we should be able to give
suggestions on how to avoid them.
Is it possible that 32bit gcc inside ppc64 system somehow creates binaries that
differ from the ones created by gcc in 'clean' 32bit environment?
Changed in mandriva: | |
importance: | Unknown → Medium |
status: | Unknown → In Progress |