Bug 11128 - textrel insanity false positive
Summary: textrel insanity false positive
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.2
Hardware: x86 Multiple
: Medium normal
Target Milestone: 4.99
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-03-06 15:08 UTC by Ross Burton
Modified: 2019-10-24 22:59 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ross Burton 2017-03-06 15:08:56 UTC
When I build pulseaudio:

WARNING: pulseaudio-10.0-r0 do_package_qa: QA Issue: ELF binary '/data/poky-master/tmp/work/corei7-64-poky-linux/pulseaudio/10.0-r0/packages-split/pulseaudio-server/usr/bin/pulseaudio' has relocations in .text [textrel]

But if I run scanelf on the binary:

scanelf: scanelf_file_textrels(): ELF pulseaudio has TEXTREL markings but doesnt appear to have any real TEXTREL's !?
Comment 1 Ross Burton 2017-03-06 15:13:47 UTC
Dynamic Section:
...
  TEXTREL              0x0000000000000000

If the value is a size or offset, then we can likely just skip sections which have 0 here.
Comment 2 Ross Burton 2017-04-04 12:09:25 UTC
Maybe.  Need to research *what* that means.
Comment 3 Khem Raj 2017-07-06 21:52:52 UTC
This will be fixed with latest hardening fixes 

https://patchwork.openembedded.org/series/7606/
Comment 4 Ross Burton 2019-10-24 22:59:55 UTC
That series merged and I haven't seen this warning since.