Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 589366 - net-libs/webkit-gtk-2.10.9: In member function ‘void WTF::WordLock::lock()’: error: failure memory model cannot be stronger than success memory model for ‘__atomic_compare_exchange’
Summary: net-libs/webkit-gtk-2.10.9: In member function ‘void WTF::WordLock::lock()’: ...
Status: RESOLVED DUPLICATE of bug 575388
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-22 12:00 UTC by Joerg Schaible
Modified: 2016-07-24 12:55 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 Joerg Schaible 2016-07-22 12:00:50 UTC
The emerge of webkit-gtk-2.10.9 fails with a compilation error.

Reproducible: Always

Steps to Reproduce:
1. emerge webkit-gtk-2.10.9
2.
3.
Actual Results:  
[48/5316] /usr/bin/x86_64-pc-linux-gnu-g++  -DBUILDING_GTK__=1 -DBUILDING_WITH_CMAKE=1 -DBUILDING_WTF -DDATA_DIR=\"share\" -DGETTEXT_PACKAGE=\"WebKit2GTK-4.0\" -DHAVE_CONFIG_H=1 -DUSER_AGENT_GTK_MAJOR_VERSION=602 -DUSER_AGENT_GTK_MINOR_VERSION=1 -DWEBKITGTK_API_VERSION_STRING=\"4.0\"   -DNDEBUG -march=native -mtune=native -Os -pipe -ggdb -fno-default-inline -fno-strict-aliasing  -std=c++11 -I/var/tmp/portage/portage/net-libs/webkit-gtk-2.10.9/work/webkitgtk-2.10.9/Source/bmalloc -I/var/tmp/portage/portage/net-libs/webkit-gtk-2.10.9/work/webkitgtk-2.10.9/Source/WTF -I/var/tmp/portage/portage/net-libs/webkit-gtk-2.10.9/work/webkitgtk-2.10.9/Source/WTF/wtf -I/var/tmp/portage/portage/net-libs/webkit-gtk-2.10.9/work/webkitgtk-2.10.9/Source/WTF/wtf/dtoa -I/var/tmp/portage/portage/net-libs/webkit-gtk-2.10.9/work/webkitgtk-2.10.9/Source/WTF/wtf/text -I/var/tmp/portage/portage/net-libs/webkit-gtk-2.10.9/work/webkitgtk-2.10.9/Source/WTF/wtf/threads -I/var/tmp/portage/portage/net-libs/webkit-gtk-2.10.9/work/webkitgtk-2.10.9/Source/WTF/wtf/unicode -I/var/tmp/portage/portage/net-libs/webkit-gtk-2.10.9/work/webkitgtk-2.10.9/Source/ThirdParty -I. -IDerivedSources -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include    -Wall -Wextra -Wcast-align -Wformat-security -Wmissing-format-attribute -Wpointer-arith -Wundef -Wwrite-strings -fPIC -MMD -MT Source/WTF/wtf/CMakeFiles/WTF.dir/RefCountedLeakCounter.cpp.o -MF Source/WTF/wtf/CMakeFiles/WTF.dir/RefCountedLeakCounter.cpp.o.d -o Source/WTF/wtf/CMakeFiles/WTF.dir/RefCountedLeakCounter.cpp.o -c /var/tmp/portage/portage/net-libs/webkit-gtk-2.10.9/work/webkitgtk-2.10.9/Source/WTF/wtf/RefCountedLeakCounter.cpp
FAILED: /usr/bin/x86_64-pc-linux-gnu-g++  -DBUILDING_GTK__=1 -DBUILDING_WITH_CMAKE=1 -DBUILDING_WTF -DDATA_DIR=\"share\" -DGETTEXT_PACKAGE=\"WebKit2GTK-4.0\" -DHAVE_CONFIG_H=1 -DUSER_AGENT_GTK_MAJOR_VERSION=602 -DUSER_AGENT_GTK_MINOR_VERSION=1 -DWEBKITGTK_API_VERSION_STRING=\"4.0\"   -DNDEBUG -march=native -mtune=native -Os -pipe -ggdb -fno-default-inline -fno-strict-aliasing  -std=c++11 -I/var/tmp/portage/portage/net-libs/webkit-gtk-2.10.9/work/webkitgtk-2.10.9/Source/bmalloc -I/var/tmp/portage/portage/net-libs/webkit-gtk-2.10.9/work/webkitgtk-2.10.9/Source/WTF -I/var/tmp/portage/portage/net-libs/webkit-gtk-2.10.9/work/webkitgtk-2.10.9/Source/WTF/wtf -I/var/tmp/portage/portage/net-libs/webkit-gtk-2.10.9/work/webkitgtk-2.10.9/Source/WTF/wtf/dtoa -I/var/tmp/portage/portage/net-libs/webkit-gtk-2.10.9/work/webkitgtk-2.10.9/Source/WTF/wtf/text -I/var/tmp/portage/portage/net-libs/webkit-gtk-2.10.9/work/webkitgtk-2.10.9/Source/WTF/wtf/threads -I/var/tmp/portage/portage/net-libs/webkit-gtk-2.10.9/work/webkitgtk-2.10.9/Source/WTF/wtf/unicode -I/var/tmp/portage/portage/net-libs/webkit-gtk-2.10.9/work/webkitgtk-2.10.9/Source/ThirdParty -I. -IDerivedSources -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include    -Wall -Wextra -Wcast-align -Wformat-security -Wmissing-format-attribute -Wpointer-arith -Wundef -Wwrite-strings -fPIC -MMD -MT Source/WTF/wtf/CMakeFiles/WTF.dir/ParkingLot.cpp.o -MF Source/WTF/wtf/CMakeFiles/WTF.dir/ParkingLot.cpp.o.d -o Source/WTF/wtf/CMakeFiles/WTF.dir/ParkingLot.cpp.o -c /var/tmp/portage/portage/net-libs/webkit-gtk-2.10.9/work/webkitgtk-2.10.9/Source/WTF/wtf/ParkingLot.cpp
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/atomic:41:0,
                 from /var/tmp/portage/portage/net-libs/webkit-gtk-2.10.9/work/webkitgtk-2.10.9/Source/WTF/wtf/Atomics.h:29,
                 from /var/tmp/portage/portage/net-libs/webkit-gtk-2.10.9/work/webkitgtk-2.10.9/Source/WTF/wtf/ParkingLot.h:31,
                 from /var/tmp/portage/portage/net-libs/webkit-gtk-2.10.9/work/webkitgtk-2.10.9/Source/WTF/wtf/ParkingLot.cpp:27:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/bits/atomic_base.h: In member function ‘void WTF::WordLock::lock()’:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/bits/atomic_base.h:538:70: error: failure memory model cannot be stronger than success memory model for ‘__atomic_compare_exchange’
  return __atomic_compare_exchange_n(&_M_i, &__i1, __i2, 1, __m1, __m2);
                                                                      ^
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/bits/atomic_base.h: In member function ‘void WTF::WordLock::unlock()’:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/bits/atomic_base.h:538:70: error: failure memory model cannot be stronger than success memory model for ‘__atomic_compare_exchange’
  return __atomic_compare_exchange_n(&_M_i, &__i1, __i2, 1, __m1, __m2);
                                                                      ^
ninja: build stopped: subcommand failed.
 * ERROR: net-libs/webkit-gtk-2.10.9::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  133:  Called src_compile
 *   environment, line 5196:  Called cmake-utils_src_compile
 *   environment, line 1473:  Called _cmake_execute_optionally 'src_compile'
 *   environment, line  562:  Called enable_cmake-utils_src_compile
 *   environment, line 1961:  Called cmake-utils_src_make
 *   environment, line 1488:  Called _cmake_ninja_src_make
 *   environment, line  618:  Called die
 * The specific snippet of code:
 *       "$@" || die
 * 
 * If you need support, post the output of `emerge --info '=net-libs/webkit-gtk-2.10.9::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-libs/webkit-gtk-2.10.9::gentoo'`.
 * The complete build log is located at '/var/log/portage/net-libs:webkit-gtk-2.10.9:20160722-115520.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/portage/net-libs/webkit-gtk-2.10.9/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/portage/net-libs/webkit-gtk-2.10.9/temp/environment'.
 * Working directory: '/var/tmp/portage/portage/net-libs/webkit-gtk-2.10.9/work/webkit-gtk-2.10.9_build'
 * S: '/var/tmp/portage/portage/net-libs/webkit-gtk-2.10.9/work/webkitgtk-2.10.9'

>>> Failed to emerge net-libs/webkit-gtk-2.10.9, Log file:

>>>  '/var/log/portage/net-libs:webkit-gtk-2.10.9:20160722-115520.log'


Expected Results:  
Successful build.

$ sudo emerge --info
Password: 
Portage 2.2.28 (python 2.7.10-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.9.3, glibc-2.22-r4, 4.4.6-gentoo x86_64)
=================================================================
System uname: Linux-4.4.6-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.2
KiB Mem:     6106072 total,   1164856 free
KiB Swap:      16380 total,     16356 free
Timestamp of repository gentoo: Fri, 22 Jul 2016 09:43:03 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
ccache version 3.2.4 [disabled]
app-shells/bash:          4.3_p42-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.19.1::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r4::gentoo
Repositories:

gentoo
    location: /mnt/portage/tree/central
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

kde-sunset
    location: /mnt/portage/tree/kde-sunset
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/proj/kde-sunset.git
    masters: gentoo

local
    location: /mnt/portage/tree/local
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -Os -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-2.0/conf /usr/share/maven-bin-2.2/conf /usr/share/maven-bin-3.0/conf /usr/share/maven-bin-3.1/conf /usr/share/maven-bin-3.2/conf /usr/share/maven-bin-3.3/conf /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -mtune=native -Os -pipe -ggdb -fno-default-inline"
DISTDIR="/mnt/portage/distfiles/floh"
EMERGE_DEFAULT_OPTS="--autounmask=n --with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-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 xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://sunsite.cnlab-switch.ch/mirror/gentoo/ http://ftp.heanet.ie/pub/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3 -s"
PKGDIR="/mnt/portage/packages/core-i7"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp/portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bmp branding bzip2 cairo caps cdda cdr cli consolekit cracklib crypt cups curl cxx dbus declarative dga dri dts dvd dvdr egl emboss encode exif fam firefox flac fortran gdbm gif glamor gpm gstreamer gtk handbook iconv icu idn jpeg jpeg2k kde kipi lcms libnotify lzma mad maildir mmap mmx mmxext mng modules mp3 mp4 mpeg multilib mysql ncurses nls nptl odbc ogg openexr opengl openmp openssh openvg pam pango pch pcre pdf phonon plasma png policykit popcnt ppds qt qt3support qt4 readline sdl seccomp semantic-desktop session spell sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg syslog tcpd threads tiff truetype udev udisks unicode upower usb vim-syntax vorbis wxwidgets x264 xattr xcb xcomposite xml xpm xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="hda_intel" 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" CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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" GRUB_PLATFORMS="multiboot pc" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby21" SANE_BACKENDS="net" USERLAND="GNU" VIDEO_CARDS="radeon radeonsi fbdev v4l amdgpu 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Pacho Ramos gentoo-dev 2016-07-24 12:55:14 UTC

*** This bug has been marked as a duplicate of bug 575388 ***