[Bug 1556217] [NEW] Including "Vc" header causes ICE

Iain Lane iain at orangesquash.org.uk
Fri Mar 11 17:51:29 UTC 2016


Public bug reported:

$ apt install vc-dev
(xenial-amd64)root at xenial:/# echo "#include <Vc/Vc>" | g++ -x c++ -
In file included from /usr/include/Vc/Memory:32:0,
                 from /usr/include/Vc/IO:24,
                 from /usr/include/Vc/Vc:23,
                 from <stdin>:1:
/usr/include/Vc/sse/interleavedmemory.tcc: In substitution of 'template<class S1, class IT1, class IT2> void Vc::SSE::Vector<T>::gather(const S1*, const EntryType* const S1::*, IT1, IT2, Vc::SSE::Vector<T>::MaskArg) [with S1 = <missing>; IT1 = <missing>; IT2 = <missing>]':
/usr/include/Vc/sse/interleavedmemory.tcc:362:39:   required from here
/usr/include/Vc/sse/interleavedmemory.tcc:362:39: internal compiler error: in strip_typedefs, at cp/tree.c:1377
     v4.gather(m_data, m_indexes + I(4));
                                       ^
0x60ca6d strip_typedefs(tree_node*)
	../../src/gcc/cp/tree.c:1377
0xd178af canonicalize_type_argument
	../../src/gcc/cp/pt.c:6574
0xd178af unify
	../../src/gcc/cp/pt.c:18363
0xd175df unify
	../../src/gcc/cp/pt.c:18490
0xd1f5eb unify_one_argument
	../../src/gcc/cp/pt.c:17001
0xd1eccd type_unification_real
	../../src/gcc/cp/pt.c:17072
0xd1e3bf fn_type_unification(tree_node*, tree_node*, tree_node*, tree_node* const*, unsigned int, tree_node*, unification_kind_t, int, bool, bool)
	../../src/gcc/cp/pt.c:16508
0xce877e add_template_candidate_real
	../../src/gcc/cp/call.c:3069
0xce0288 add_template_candidate
	../../src/gcc/cp/call.c:3166
0xce0288 add_candidates
	../../src/gcc/cp/call.c:5297
0xce3cc3 build_new_method_call_1
	../../src/gcc/cp/call.c:8133
0xce3cc3 build_new_method_call(tree_node*, tree_node*, vec<tree_node*, va_gc, vl_embed>**, tree_node*, int, tree_node**, int)
	../../src/gcc/cp/call.c:8329
0xd52ef2 cp_parser_postfix_expression
	../../src/gcc/cp/parser.c:6347
0xd5202d cp_parser_unary_expression
	../../src/gcc/cp/parser.c:7439
0xd5176b cp_parser_binary_expression
	../../src/gcc/cp/parser.c:8173
0xd512e6 cp_parser_assignment_expression
	../../src/gcc/cp/parser.c:8431
0xd543f1 cp_parser_expression
	../../src/gcc/cp/parser.c:8585
0xd5641d cp_parser_expression_statement
	../../src/gcc/cp/parser.c:9992
0xd55997 cp_parser_statement
	../../src/gcc/cp/parser.c:9843
0xd556a4 cp_parser_statement_seq_opt
	../../src/gcc/cp/parser.c:10115
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.

Happens with 5.3.1-10ubuntu2 or 5.3.1-11 from Debian (installed on a
Xenial system as vc-dev isn't available on Debian)

This is making calligra FTBFS, so I will probably temporarily disable vc
there.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: g++-5 5.3.1-10ubuntu2
ProcVersionSignature: Ubuntu 4.4.0-11.26-generic 4.4.4
Uname: Linux 4.4.0-11-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_modeset nvidia
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Mar 11 17:49:06 2016
InstallationDate: Installed on 2012-10-07 (1251 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Beta amd64 (20121007)
SourcePackage: gcc-5
UpgradeStatus: Upgraded to xenial on 2013-05-07 (1039 days ago)

** Affects: gcc-5 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug xenial

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

Title:
  Including "Vc" header causes ICE

Status in gcc-5 package in Ubuntu:
  New

Bug description:
  $ apt install vc-dev
  (xenial-amd64)root at xenial:/# echo "#include <Vc/Vc>" | g++ -x c++ -
  In file included from /usr/include/Vc/Memory:32:0,
                   from /usr/include/Vc/IO:24,
                   from /usr/include/Vc/Vc:23,
                   from <stdin>:1:
  /usr/include/Vc/sse/interleavedmemory.tcc: In substitution of 'template<class S1, class IT1, class IT2> void Vc::SSE::Vector<T>::gather(const S1*, const EntryType* const S1::*, IT1, IT2, Vc::SSE::Vector<T>::MaskArg) [with S1 = <missing>; IT1 = <missing>; IT2 = <missing>]':
  /usr/include/Vc/sse/interleavedmemory.tcc:362:39:   required from here
  /usr/include/Vc/sse/interleavedmemory.tcc:362:39: internal compiler error: in strip_typedefs, at cp/tree.c:1377
       v4.gather(m_data, m_indexes + I(4));
                                         ^
  0x60ca6d strip_typedefs(tree_node*)
  	../../src/gcc/cp/tree.c:1377
  0xd178af canonicalize_type_argument
  	../../src/gcc/cp/pt.c:6574
  0xd178af unify
  	../../src/gcc/cp/pt.c:18363
  0xd175df unify
  	../../src/gcc/cp/pt.c:18490
  0xd1f5eb unify_one_argument
  	../../src/gcc/cp/pt.c:17001
  0xd1eccd type_unification_real
  	../../src/gcc/cp/pt.c:17072
  0xd1e3bf fn_type_unification(tree_node*, tree_node*, tree_node*, tree_node* const*, unsigned int, tree_node*, unification_kind_t, int, bool, bool)
  	../../src/gcc/cp/pt.c:16508
  0xce877e add_template_candidate_real
  	../../src/gcc/cp/call.c:3069
  0xce0288 add_template_candidate
  	../../src/gcc/cp/call.c:3166
  0xce0288 add_candidates
  	../../src/gcc/cp/call.c:5297
  0xce3cc3 build_new_method_call_1
  	../../src/gcc/cp/call.c:8133
  0xce3cc3 build_new_method_call(tree_node*, tree_node*, vec<tree_node*, va_gc, vl_embed>**, tree_node*, int, tree_node**, int)
  	../../src/gcc/cp/call.c:8329
  0xd52ef2 cp_parser_postfix_expression
  	../../src/gcc/cp/parser.c:6347
  0xd5202d cp_parser_unary_expression
  	../../src/gcc/cp/parser.c:7439
  0xd5176b cp_parser_binary_expression
  	../../src/gcc/cp/parser.c:8173
  0xd512e6 cp_parser_assignment_expression
  	../../src/gcc/cp/parser.c:8431
  0xd543f1 cp_parser_expression
  	../../src/gcc/cp/parser.c:8585
  0xd5641d cp_parser_expression_statement
  	../../src/gcc/cp/parser.c:9992
  0xd55997 cp_parser_statement
  	../../src/gcc/cp/parser.c:9843
  0xd556a4 cp_parser_statement_seq_opt
  	../../src/gcc/cp/parser.c:10115
  Please submit a full bug report,
  with preprocessed source if appropriate.
  Please include the complete backtrace with any bug report.
  See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.

  Happens with 5.3.1-10ubuntu2 or 5.3.1-11 from Debian (installed on a
  Xenial system as vc-dev isn't available on Debian)

  This is making calligra FTBFS, so I will probably temporarily disable
  vc there.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: g++-5 5.3.1-10ubuntu2
  ProcVersionSignature: Ubuntu 4.4.0-11.26-generic 4.4.4
  Uname: Linux 4.4.0-11-generic x86_64
  NonfreeKernelModules: nvidia_uvm nvidia_modeset nvidia
  ApportVersion: 2.20-0ubuntu3
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Fri Mar 11 17:49:06 2016
  InstallationDate: Installed on 2012-10-07 (1251 days ago)
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Beta amd64 (20121007)
  SourcePackage: gcc-5
  UpgradeStatus: Upgraded to xenial on 2013-05-07 (1039 days ago)

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



More information about the foundations-bugs mailing list