Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 554700 - media-libs/libav-11.3 TEXTRELs and strict-aliasing problems
Summary: media-libs/libav-11.3 TEXTRELs and strict-aliasing problems
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-13 00:46 UTC by Mike Gilbert
Modified: 2022-06-25 04:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Gilbert gentoo-dev 2015-07-13 00:46:21 UTC
I got the following QA notices after my last merge.

This is a multilib build on amd64; I have LIBDIR_x86=lib, so it is complaining about the 32-bit libraries.

 * Messages for package media-video/libav-11.3:

 * QA Notice: The following files contain runtime text relocations
 *  Text relocations force the dynamic linker to perform extra
 *  work at startup, waste system resources, and may pose a security
 *  risk.  On some architectures, the code may not even function
 *  properly, if at all.
 *  For more information, see:
 * 
 *    https://wiki.gentoo.org/wiki/Hardened/HOWTO_locate_and_fix_textrels
 * 
 *  Please include the following list of files in your report:
 * TEXTREL usr/lib/libavutil.so.54.3.0
 * TEXTREL usr/lib/libavresample.so.2.1.0
 * TEXTREL usr/lib/libavcodec.so.56.1.0
 * TEXTREL usr/lib/libavformat.so.56.1.0
 * TEXTREL usr/lib/libswscale.so.3.0.0
 * TEXTREL usr/lib/libavdevice.so.55.0.0
 * TEXTREL usr/lib/libavfilter.so.5.0.0
 * QA Notice: Package triggers severe warnings which indicate that it
 *            may exhibit random runtime failures.
 * /tmp/portage/media-video/libav-11.3/work/libav-11.3/libswscale/x86/swscale_template.c:794:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 * /tmp/portage/media-video/libav-11.3/work/libav-11.3/libswscale/x86/swscale_template.c:795:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 * /tmp/portage/media-video/libav-11.3/work/libav-11.3/libswscale/x86/swscale_template.c:794:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 * /tmp/portage/media-video/libav-11.3/work/libav-11.3/libswscale/x86/swscale_template.c:795:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 * Please do not file a Gentoo bug and instead report the above QA
 * issues directly to the upstream developers of this software.
 * Homepage: https://libav.org/
Comment 1 Mike Gilbert gentoo-dev 2015-07-13 00:47:30 UTC
I suppose the TEXTRELs are probably the same issue as bug 499256, which hasn't been looked at in around 6 months.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-25 04:40:49 UTC
Removed a while ago.