[Bug c++/71584] New: Internal Error compiling LMMS on ARM (Endian Little)
jeffbai at aosc dot xyz
gcc-bugzilla@gcc.gnu.org
Sun Jun 19 08:41:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71584
Bug ID: 71584
Summary: Internal Error compiling LMMS on ARM (Endian Little)
Product: gcc
Version: 6.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: jeffbai at aosc dot xyz
Target Milestone: ---
Upstream bug opened at: https://github.com/LMMS/lmms/issues/2859
The issue is that LMMS will fail to build due to a "internal compiler error"
when the flag -fdeclone-ctor-dtor is specified as a part of $CXXFLAGS (the
issue exists since 1.1.90). When the flag is removed, the build passes.
I wasn't able to reproduce the same issue on amd64 (using same GCC version).
-------------------------------------------------------------------------
General configuration info:
-- The C compiler identification is GNU 6.1.0
-- The CXX compiler identification is GNU 6.1.0
-- Check for working C compiler: /bin/gcc
-- Check for working C compiler: /bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /bin/g++
-- Check for working CXX compiler: /bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /bin/pkg-config (found version "0.29.1")
-- Found Git: /bin/git (found version "2.8.3")
Configuring LMMS
--------------------------
* Build version : 1.1.90-g1e7b8e9
* Major version : 1
* Minor version : 1
* Patch version : 90
* Suffix version : g1e7b8e9
*
Optional Version Usage:
--------------------------
* Override version: -DFORCE_VERSION=x.x.x-x
* Disable hash suffix: -DFORCE_VERSION=internal
PROCESSOR: armv7l
Machine: armv7a-hardfloat-linux-gnueabi
Can't identify target host. Assuming 32 bit platform.
Error:
In file included from
/var/lib/abbs/build/tmp.VhyqJso79R/lmms/src/core/MixerWorkerThread.cpp:25:0:
/var/lib/abbs/build/tmp.VhyqJso79R/lmms/include/MixerWorkerThread.h: In
constructor 'MixerWorkerThread::JobQueue::JobQueue()':
/var/lib/abbs/build/tmp.VhyqJso79R/lmms/include/MixerWorkerThread.h:53:21: in
constexpr expansion of 'QAtomicPointer<ThreadableJob>(0u)'
/var/lib/abbs/build/tmp.VhyqJso79R/lmms/include/MixerWorkerThread.h:53:21:
internal compiler error: in cxx_eval_call_expression, at cp/constexpr.c:1449
m_opMode( Static )
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://github.com/AOSC-Dev/aosc-os-core> for instructions.
src/CMakeFiles/lmmsobjs.dir/build.make:918: recipe for target
'src/CMakeFiles/lmmsobjs.dir/core/MixerWorkerThread.cpp.o' failed
-------------------------------------------------------------------------
GCC version information:
Using built-in specs.
COLLECT_GCC=/bin/gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/armv7a-hardfloat-linux-gnueabi/6.1.0/lto-wrapper
Target: armv7a-hardfloat-linux-gnueabi
Configured with: /var/lib/abbs/build/tmp.Mcu59I8oBl/gcc-6.1.0/configure
--prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man
--infodir=/usr/share/info
--with-bugurl=https://github.com/AOSC-Dev/aosc-os-core
--enable-languages=c,c++,fortran,lto,objc,obj-c++ --enable-shared
--enable-threads=posix --with-system-zlib --enable-gnu-indirect-function
--enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu
--disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object
--enable-linker-build-id --with-isl=/usr --enable-lto --enable-plugin
--enable-install-libiberty --disable-multilib --disable-werror
--enable-checking=release --with-default-libstdcxx-abi=gcc4-compatible
--with-linker-hash-style=gnu --disable-altivec --disable-fixed-point
--with-arch=armv7-a --with-float=hard --with-fpu=neon
--host=armv7a-hardfloat-linux-gnueabi --build=armv7a-hardfloat-linux-gnueabi
--target=armv7a-hardfloat-linux-gnueabi
Thread model: posix
gcc version 6.1.0 20160427 (AOSC OS, Core) (GCC)
More information about the Gcc-bugs
mailing list