In addition to existing bugs QA: other │ │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 http://hardened.gentoo.org/pic-fix-guide.xml │ │ Please include the following list of files in your report: QA Notice: Package has poor programming practices which may compile │ │ fine but exhibit random runtime failures. │ │libavutil/lls.c:87: warning: array subscript is below array bounds │ │QA Notice: Package has poor programming practices which may compile │ │ fine but exhibit random runtime failures. │ │libavutil/aes.c:133: warning: array subscript is above array bounds │ │libavutil/aes.c:187: warning: array subscript is above array bounds libavutil/aes.c:187: warning: array subscript is above array bounds │ │libavutil/aes.c:187: warning: array subscript is above array bounds │ │libavutil/aes.c:187: warning: array subscript is above array bounds │ │libavutil/aes.c:187: warning: array subscript is above array bounds │ │libavutil/aes.c:187: warning: array subscript is above array bounds │ │libavutil/aes.c:187: warning: array subscript is above array bounds │ │libavutil/aes.c:187: warning: array subscript is above array bounds │ │libavutil/aes.c:187: warning: array subscript is above array bounds ---this repeated many times then libavcodec/dca.c:1010: warning: array subscript is above array bounds │ │libavcodec/dca.c:1010: warning: array subscript is above array bounds │ │QA Notice: Package has poor programming practices which may compile │ │ fine but exhibit random runtime failures. │ │libavformat/metadata_compat.c:129: warning: the address of 'number' will │ │always evaluate as 'true' │ │libavformat/metadata_compat.c:130: warning: the address of 'number' will │ │always evaluate as 'true' │ │ david@random ~ $ emerge --info Portage 2.1.9.3 (default/linux/amd64/10.0, gcc-4.4.4, glibc-2.12.1-r1, 2.6.35-gentoo-r5 x86_64) ================================================================= System uname: Linux-2.6.35-gentoo-r5-x86_64-AMD_Athlon-tm-_64_Processor_3200+-with-gentoo-2.0.1 Timestamp of tree: Sat, 11 Sep 2010 18:30:01 +0000 app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.5-r3, 3.1.2-r4 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.3 sys-apps/sandbox: 2.3-r1 sys-devel/autoconf: 2.13, 2.67 sys-devel/automake: 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.4-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.35 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/portage/ /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests buildpkg distlocks fixlafiles fixpackages multilib-strict news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.gtlib.gatech.edu/pub/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ http://mirrors.163.com/gentoo/ ftp://mirror.bih.net.ba/gentoo/" LANG="en_US.UTF-8" LDFLAGS="-Wl,--as-needed -Wl,--hash-style=gnu" LINGUAS="en_US" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY=" " SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl alsa amd64 berkdb bzip2 cdr cli cracklib crypt cups cxx dri fortran gdbm gpm gtk iconv ipv6 midi mmx modules mudflap multilib ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session sse sse2 ssl sysfs tcpd threads unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Reproducible: Always
oh yeah this might be relevant ;-( media-plugins/gst-plugins-ffmpeg-0.10.9 - 09/13/2010 haven't tried other versions
I'm assuming you are reporting primarily due to the text relocation, so marking as duplicate of an existing bug about that. *** This bug has been marked as a duplicate of bug 294931 ***
This was NOt filed due to text relocations it was filed for libavutil/aes.c:133: warning: array subscript is above array bounds │ │libavutil/aes.c:187: warning: array subscript is above array bounds libavutil/aes.c:187: warning: array subscript is above array bounds │ │libavutil/aes.c:187: warning: array subscript is above array bounds │ │libavutil/aes.c:187: warning: array subscript is above array bounds │ │libavutil/aes.c:187: warning: array subscript is above array bounds │ │libavutil/aes.c:187: warning: array subscript is above array bounds I assume since you are closing that these are trivial errors?
this is why you need to post *full* build logs as attachments instead of random snippets in your report
None of these are actual bugs (it might not be strictly valid C, however no compiler has any issues). However, aes.c in that version has very serious aliasing issues which cause it to not work at all. Latest FFmpeg upstream contains a warning- and issue-free aes.c.
(In reply to comment #4) > this is why you need to post *full* build logs as attachments instead of random > snippets in your report > Ummm all of the above errors are in the first set of comments and are from elogv. Full build logs require changing FEATURES to noclean and re-emerging the package but oh well if I must to report...I must. /var/tmp/portage/* can get rather weighty without regular cleaning.
... or set PORT_LOGDIR=/var/log/portage in your make.conf and the logs will always be saved automatically
(In reply to comment #5) > None of these are actual bugs (it might not be strictly valid C, however no > compiler has any issues). > However, aes.c in that version has very serious aliasing issues which cause it > to not work at all. > Latest FFmpeg upstream contains a warning- and issue-free aes.c. > good and the other errors? ---this repeated many times then libavcodec/dca.c:1010: warning: array subscript is above array bounds │ │libavcodec/dca.c:1010: warning: array subscript is above array bounds │ │QA Notice: Package has poor programming practices which may compile │ │ fine but exhibit random runtime failures. │ │libavformat/metadata_compat.c:129: warning: the address of 'number' will │ │always evaluate as 'true' │ │libavformat/metadata_compat.c:130: warning: the address of 'number' will │ │always evaluate as 'true' I'll post the full build log as soon as the next emerge completes and I re-run the build an hour or so at most.
Created attachment 247358 [details] gst-plugins-ffmpeg build.log PORT_LOG set thanks build attached