Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 506268 - www-client/chromium-35.0.1912.2 - ld: obj/third_party/ffmpeg/libavcodec/x86/ffmpegsumo.idct_sse2_xvid.o: warning: relocation in readonly section `.text.ff_idct_xvid_sse2_add'. (-Wl,--fatal-warnings)
Summary: www-client/chromium-35.0.1912.2 - ld: obj/third_party/ffmpeg/libavcodec/x86/f...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-30 18:14 UTC by Vasco Gervasi
Modified: 2014-04-18 13:12 UTC (History)
0 users

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


Attachments
emerge --info (info,16.09 KB, text/plain)
2014-03-30 18:14 UTC, Vasco Gervasi
Details
build.log.zip (build.log.zip,122.27 KB, application/zip)
2014-03-30 18:17 UTC, Vasco Gervasi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vasco Gervasi 2014-03-30 18:14:20 UTC
Hi  all,
I am trying to update chromium to 35.0.1912.2, but I get this error:


[2032/14025] i686-pc-linux-gnu-g++ -MMD -MF obj/third_party/webrtc/common_video/common_video.texture_video_frame.o.d -DV8_DEPRECATION_WARNINGS -DBLINK_SCALE_FILTERS_AT_RECORD_TIME -D_FILE_OFFSET_BITS=64 -DDISABLE_NACL -DCHROMIUM_BUILD -DTOOLKIT_VIEWS=1 -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_CAIRO=1 -DUSE_GLIB=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DUSE_X11=1 -DUSE_CLIPBOARD_AURAX11=1 -DENABLE_ONE_CLICK_SIGNIN -DUSE_XI2_MT=2 -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 -DUSE_PROPRIETARY_CODECS -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_INPUT_SPEECH -DENABLE_NOTIFICATIONS -DUSE_UDEV -DENABLE_EGLIMAGE=1 -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PLUGIN_INSTALLATION=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_AUTOMATION=1 -DENABLE_GOOGLE_NOW=1 -DCLD_VERSION=2 -DENABLE_FULL_PRINTING=1 -DENABLE_PRINTING=1 -DENABLE_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_MANAGED_USERS=1 -DENABLE_MDNS=1 -DENABLE_SERVICE_DISCOVERY=1 -DWEBRTC_RESTRICT_LOGGING -DWEBRTC_MODULE_UTILITY_VIDEO -DWEBRTC_CHROMIUM_BUILD -DWEBRTC_POSIX -DWEBRTC_LINUX -DUSE_NSS=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -D_FORTIFY_SOURCE=2 -I../../third_party -I../.. -I../../third_party/webrtc/modules/interface -I../../third_party/webrtc/common_video/interface -I../../third_party/webrtc/common_video/libyuv/include -I../../third_party/webrtc/system_wrappers/interface -I../../third_party/libyuv/include -I../../third_party/libyuv -fstack-protector --param=ssp-buffer-size=4  -pthread -fno-exceptions -fno-strict-aliasing -Wall -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Wno-unused-local-typedefs -msse2 -mfpmath=sse -mmmx -m32 -O2 -fno-ident -fdata-sections -ffunction-sections -funwind-tables -march=native -O2 -pipe -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -Wsign-compare  -c ../../third_party/webrtc/common_video/texture_video_frame.cc -o obj/third_party/webrtc/common_video/common_video.texture_video_frame.o
FAILED: if [ ! -e libffmpegsumo.so -o ! -e libffmpegsumo.so.TOC ]; then i686-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--fatal-warnings -Wl,-z,now -Wl,-z,relro -pthread -Wl,-z,noexecstack -fPIC -Wl,-Bsymbolic -Lgen/third_party/ffmpeg -m32 -Wl,--gc-sections -o libffmpegsumo.so -Wl,-soname=libffmpegsumo.so @libffmpegsumo.so.rsp && { readelf -d libffmpegsumo.so | grep SONAME ; nm -gD -f p libffmpegsumo.so | cut -f1-2 -d' '; } > libffmpegsumo.so.TOC; else i686-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--fatal-warnings -Wl,-z,now -Wl,-z,relro -pthread -Wl,-z,noexecstack -fPIC -Wl,-Bsymbolic -Lgen/third_party/ffmpeg -m32 -Wl,--gc-sections -o libffmpegsumo.so -Wl,-soname=libffmpegsumo.so @libffmpegsumo.so.rsp && { readelf -d libffmpegsumo.so | grep SONAME ; nm -gD -f p libffmpegsumo.so | cut -f1-2 -d' '; } > libffmpegsumo.so.tmp && if ! cmp -s libffmpegsumo.so.tmp libffmpegsumo.so.TOC; then mv libffmpegsumo.so.tmp libffmpegsumo.so.TOC ; fi; fi
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../../i686-pc-linux-gnu/bin/ld: obj/third_party/ffmpeg/libavcodec/x86/ffmpegsumo.idct_sse2_xvid.o: warning: relocation in readonly section `.text.ff_idct_xvid_sse2_add'.
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../../i686-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object.
collect2: error: ld returned 1 exit status
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
../../third_party/webrtc/common_video/texture_video_frame.cc:1:0: note: this is the location of the previous definition
 /*
 ^
ninja: build stopped: subcommand failed.

I know that this is a dev version.
Comment 1 Vasco Gervasi 2014-03-30 18:14:39 UTC
Created attachment 373912 [details]
emerge --info
Comment 2 Vasco Gervasi 2014-03-30 18:17:03 UTC
Created attachment 373916 [details]
build.log.zip
Comment 3 Vasco Gervasi 2014-04-02 18:14:54 UTC
Same error with www-client/chromium-35.0.1916.6
Comment 4 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2014-04-03 14:44:30 UTC
Confirmed on a stable x86 system. chromium-33 and 34 work, 35 is broken.

Portage 2.2.8-r1 (default/linux/x86/13.0/desktop/gnome, gcc-4.7.3, glibc-2.17, 3.2.5-gg1336 x86_64)
=================================================================
System uname: Linux-3.2.5-gg1336-x86_64-Intel-R-_Xeon-R-_CPU_E5-2690_0_@_2.90GHz-with-gentoo-2.2
KiB Mem:    65904776 total,  15487264 free
KiB Swap:   67031036 total,  67003864 free
Timestamp of tree: Thu, 03 Apr 2014 12:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5-r3, 3.3.3
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA @FREE -@EULA -AGPL-3"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j32"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
USE="X a52 aac acl acpi alsa berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli colord consolekit cracklib crypt cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gif gles2 gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv icu introspection ipv6 jpeg kerberos lcms ldap libnotify libsecret mad minizip mng modules mp3 mp4 mpeg nautilus ncurses nls nptl ogg opengl openmp opus pam pango pcre pdf perl png policykit ppds pulseaudio qt3support qt4 readline sdl session socialweb spell ssl startup-notification subversion svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 x86 xcb xml xv xvid zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 5 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2014-04-04 13:47:20 UTC
Identified https://codereview.chromium.org/196943020 as the upstream commit leading to this, and uploaded https://codereview.chromium.org/224713007/ for review.
Comment 6 Vasco Gervasi 2014-04-06 08:39:12 UTC
Same error with www-client/chromium-35.0.1916.17
Comment 7 Vasco Gervasi 2014-04-16 22:01:40 UTC
Same error with chromium-36.0.1941.0
Comment 8 Vasco Gervasi 2014-04-17 15:59:08 UTC
Same error with www-client/chromium-35.0.1916.47
Comment 9 Mike Gilbert gentoo-dev 2014-04-17 22:42:48 UTC
+  17 Apr 2014; Mike Gilbert <floppym@gentoo.org> chromium-36.0.1941.0.ebuild:
+  Disable fatal linker warnings, bug 506268 by Vasco Gervasi.

phajdan.jr: Is this something you want backported to chromium-35?
Comment 10 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2014-04-18 07:18:43 UTC
(In reply to Mike Gilbert from comment #9)
> phajdan.jr: Is this something you want backported to chromium-35?

Yes, please do. Just in case the upstream patch is https://codereview.chromium.org/224713007 . Thanks!
Comment 11 Vasco Gervasi 2014-04-18 10:43:39 UTC
Thanks now works!!!! :)
Comment 12 Mike Gilbert gentoo-dev 2014-04-18 13:12:01 UTC
It seems the change made it into M35 upstream, so no backport necessary.

+  18 Apr 2014; Mike Gilbert <floppym@gentoo.org> chromium-35.0.1916.47.ebuild:
+  Disable fatal linker warnings, bug 506268 by Vasco Gervasi.