[Bug 1660108] Re: Since 6.3.0-3ubuntu1 some acc autotests fail with "atomic_base.h:390:7: error: inlining failed in call to always_inline"

Rik Mills rik.mills88 at gmail.com
Fri Feb 3 21:03:55 UTC 2017


** Also affects: gcc-6 (Debian)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-6 in Ubuntu.
https://bugs.launchpad.net/bugs/1660108

Title:
  Since 6.3.0-3ubuntu1 some acc autotests fail with
  "atomic_base.h:390:7: error: inlining failed in call to always_inline"

Status in gcc-6 package in Ubuntu:
  New
Status in gcc-6 package in Debian:
  New

Bug description:
  Since 6.3.0-3ubuntu1 some acc autotests fail with
  "atomic_base.h:390:7: error: inlining failed in call to always_inline"

  On zesty.

  purpose 1.1-4ubuntu1 in proposed.

  acc passed on test prior to GCC 6.3.0-3ubuntu1

  Looking at the logs for the more frequent debian autotests on their CI
  for purpose:

  https://ci.debian.net/packages/p/purpose/unstable/amd64/

  the bug appeared immediately GCC 6.3.0-3 replaced 6.3.0-2, and
  persists since.

  Other failures examples on ubuntu include test for marble, and
  libkf5kgeomap against new marble.

  ------ test artifact extracts --------

  The GCC parameters:
    gcc -fdump-translation-unit -fkeep-inline-functions -c -x c++-header -fpermissive -w  -fPIC -std=c++11 "/tmp/46X9Aqny79/dump1.h"  -I/usr/include/KF5/purposewidgets -I/usr/include/KF5/purpose -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/KF5/KCoreAddons -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtCore

  In file included from /usr/include/c++/6/atomic:41:0,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/qatomic_cxx11.h:45,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/qbasicatomic.h:53,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/qatomic.h:46,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1145,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/qnamespace.h:43,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs.h:48,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:46,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1,
                   from /usr/include/KF5/purpose/purpose/configuration.h:21,
                   from /usr/include/KF5/purpose/Purpose/Configuration:1,
                   from /tmp/46X9Aqny79/dump1.h:5:
  /usr/include/c++/6/bits/atomic_base.h: In member function ‘std::atomic<bool>::operator bool() const’:
  /usr/include/c++/6/bits/atomic_base.h:390:7: error: inlining failed in call to always_inline ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::load(std::memory_order) const noexcept [with _ITp = bool; std::__atomic_base<_IntTp>::__int_type = bool; std::memory_order = std::memory_order]’: function body not available
         load(memory_order __m = memory_order_seq_cst) const noexcept
         ^~~~
  In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qatomic_cxx11.h:45:0,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/qbasicatomic.h:53,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/qatomic.h:46,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1145,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/qnamespace.h:43,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs.h:48,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:46,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1,
                   from /usr/include/KF5/purpose/purpose/configuration.h:21,
                   from /usr/include/KF5/purpose/Purpose/Configuration:1,
                   from /tmp/46X9Aqny79/dump1.h:5:
  /usr/include/c++/6/atomic:81:27: note: called from here
       { return _M_base.load(); }
                             ^

  The GCC parameters:
    gcc -fdump-translation-unit -fkeep-inline-functions -c -x c++-header -fpermissive -w  -fPIC "/tmp/TSJsBYB52L/dump1.h"  -I/usr/include/KF5/KGeoMap -I/usr/include/x86_64-linux-gnu/qt5

  In file included from /usr/include/c++/6/atomic:41:0,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/qatomic_cxx11.h:45,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/qbasicatomic.h:53,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/qatomic.h:46,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1145,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/qatomic.h:41,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/qrefcount.h:43,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/qbytearray.h:44,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/qbitarray.h:43,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/QBitArray:1,
                   from /usr/include/KF5/KGeoMap/kgeomap/abstractmarkertiler.h:32,
                   from /usr/include/KF5/KGeoMap/KGeoMap/AbstractMarkerTiler:1,
                   from /tmp/TSJsBYB52L/dump1.h:4:
  /usr/include/c++/6/bits/atomic_base.h: In member function ‘std::atomic<bool>::operator bool() const’:
  /usr/include/c++/6/bits/atomic_base.h:390:7: error: inlining failed in call to always_inline ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::load(std::memory_order) const noexcept [with _ITp = bool; std::__atomic_base<_IntTp>::__int_type = bool; std::memory_order = std::memory_order]’: function body not available
         load(memory_order __m = memory_order_seq_cst) const noexcept
         ^~~~
  In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qatomic_cxx11.h:45:0,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/qbasicatomic.h:53,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/qatomic.h:46,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1145,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/qatomic.h:41,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/qrefcount.h:43,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/qbytearray.h:44,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/qbitarray.h:43,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/QBitArray:1,
                   from /usr/include/KF5/KGeoMap/kgeomap/abstractmarkertiler.h:32,
                   from /usr/include/KF5/KGeoMap/KGeoMap/AbstractMarkerTiler:1,
                   from /tmp/TSJsBYB52L/dump1.h:4:
  /usr/include/c++/6/atomic:81:27: note: called from here
       { return _M_base.load(); }
                             ^

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-6/+bug/1660108/+subscriptions



More information about the foundations-bugs mailing list