Bug 1127260 - Internal compiler error when trying to build VTK 8.2.0
Internal compiler error when trying to build VTK 8.2.0
Status: RESOLVED FIXED
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Development
Current
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: Richard Biener
E-mail List
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-02-27 20:58 UTC by Stefan Brüns
Modified: 2019-05-31 13:10 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Preprocessed code (1.77 MB, text/x-c++src)
2019-02-27 20:58 UTC, Stefan Brüns
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Brüns 2019-02-27 20:58:55 UTC
Created attachment 798338 [details]
Preprocessed code

G++ fails with the following message:
---
/home/abuild/rpmbuild/BUILD/VTK-8.2.0/Filters/Extraction/vtkValueSelector.cxx: In instantiation of 'void {anonymous}::ArrayValueMatchFunctor::operator()(InputArrayType*, SelectionListArrayType*) [with InputArrayType = vtkAOSDataArrayTemplate<char>; SelectionListArrayType = vtkAOSDataArrayTemplate<char>]':
/home/abuild/rpmbuild/BUILD/VTK-8.2.0/Common/Core/vtkArrayDispatch.txx:160:13:   required from 'static bool vtkArrayDispatch::impl::Dispatch2Trampoline<Array1T, vtkTypeList::TypeList<U, Tail> >::Execute(Array1T*, vtkDataArray*, Worker&) [with Worker = {anonymous}::ArrayValueMatchFunctor; Array1T = vtkAOSDataArrayTemplate<char>; Array2Head = vtkAOSDataArrayTemplate<char>; Array2Tail = vtkTypeList::NullType]'
/home/abuild/rpmbuild/BUILD/VTK-8.2.0/Common/Core/vtkArrayDispatch.txx:215:33:   required from 'static bool vtkArrayDispatch::impl::Dispatch2Same<vtkTypeList::TypeList<T, Tail>, ArrayList2>::Execute(vtkDataArray*, vtkDataArray*, Worker&) [with Worker = {anonymous}::ArrayValueMatchFunctor; ArrayHead = vtkAOSDataArrayTemplate<char>; ArrayTail = vtkTypeList::TypeList<vtkAOSDataArrayTemplate<double>, vtkTypeList::TypeList<vtkAOSDataArrayTemplate<float>, vtkTypeList::TypeList<vtkAOSDataArrayTemplate<int>, vtkTypeList::TypeList<vtkAOSDataArrayTemplate<long int>, vtkTypeList::TypeList<vtkAOSDataArrayTemplate<long long int>, vtkTypeList::TypeList<vtkAOSDataArrayTemplate<short int>, vtkTypeList::TypeList<vtkAOSDataArrayTemplate<signed char>, vtkTypeList::TypeList<vtkAOSDataArrayTemplate<unsigned char>, vtkTypeList::TypeList<vtkAOSDataArrayTemplate<unsigned int>, vtkTypeList::TypeList<vtkAOSDataArrayTemplate<long unsigned int>, vtkTypeList::TypeList<vtkAOSDataArrayTemplate<long long unsigned int>, vtkTypeList::TypeList<vtkAOSDataArrayTemplate<short unsigned int>, vtkTypeList::NullType> > > > > > > > > > > >; ArrayList2 = vtkTypeList::TypeList<vtkAOSDataArrayTemplate<char>, vtkTypeList::TypeList<vtkAOSDataArrayTemplate<double>, vtkTypeList::TypeList<vtkAOSDataArrayTemplate<float>, vtkTypeList::TypeList<vtkAOSDataArrayTemplate<int>, vtkTypeList::TypeList<vtkAOSDataArrayTemplate<long int>, vtkTypeList::TypeList<vtkAOSDataArrayTemplate<long long int>, vtkTypeList::TypeList<vtkAOSDataArrayTemplate<short int>, vtkTypeList::TypeList<vtkAOSDataArrayTemplate<signed char>, vtkTypeList::TypeList<vtkAOSDataArrayTemplate<unsigned char>, vtkTypeList::TypeList<vtkAOSDataArrayTemplate<unsigned int>, vtkTypeList::TypeList<vtkAOSDataArrayTemplate<long unsigned int>, vtkTypeList::TypeList<vtkAOSDataArrayTemplate<long long unsigned int>, vtkTypeList::TypeList<vtkAOSDataArrayTemplate<short unsigned int>, vtkTypeList::NullType> > > > > > > > > > > > >]'
/home/abuild/rpmbuild/BUILD/VTK-8.2.0/Common/Core/vtkArrayDispatch.txx:640:31:   required from 'static bool vtkArrayDispatch::Dispatch2BySameValueType<ValueTypeList>::Execute(vtkDataArray*, vtkDataArray*, Worker&) [with Worker = {anonymous}::ArrayValueMatchFunctor; ValueTypeList = vtkTypeList::TypeList<double, vtkTypeList::TypeList<float, vtkTypeList::TypeList<char, vtkTypeList::TypeList<int, vtkTypeList::TypeList<long int, vtkTypeList::TypeList<long long int, vtkTypeList::TypeList<short int, vtkTypeList::TypeList<signed char, vtkTypeList::TypeList<unsigned char, vtkTypeList::TypeList<unsigned int, vtkTypeList::TypeList<long unsigned int, vtkTypeList::TypeList<long long unsigned int, vtkTypeList::TypeList<short unsigned int, vtkTypeList::NullType> > > > > > > > > > > > >]'
/home/abuild/rpmbuild/BUILD/VTK-8.2.0/Filters/Extraction/vtkValueSelector.cxx:362:76:   required from here
/home/abuild/rpmbuild/BUILD/VTK-8.2.0/Filters/Extraction/vtkValueSelector.cxx:123:50: internal compiler error: in lookup_template_class_1, at cp/pt.c:9459
---

Affected: TW/Factory, x86_64, aarch64
https://build.opensuse.org/project/monitor/home:StefanBruens:branches:science?utf8=%E2%9C%93&commit=Filter%3A&unresolvable=0&pkgname=vtk&defaults=1

gcc version 8.2.1 20190204 [gcc-8-branch revision 268513] (SUSE Linux)

Preprocessed output (attached) fails to build, e.g. g++ -o /tmp/o.o -c vtkValueSelector.cxx
Comment 1 Richard Biener 2019-03-01 08:38:42 UTC
It works for me with

g++-8 (SUSE Linux) 8.3.1 20190226 [gcc-8-branch revision 269204]
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

which is currently on its way to factory (Staging:A, SR#679161).
Comment 2 Atri Bhattacharya 2019-03-03 17:06:44 UTC
Adding upstream bug reference for info.
Comment 3 Richard Biener 2019-03-14 10:33:01 UTC
In factory now.
Comment 4 Stefan Brüns 2019-03-14 15:41:35 UTC
Confirmed, VTK 8.2.0 compiled until someone updated proj4 to a new version :-/
Comment 5 Swamp Workflow Management 2019-05-31 13:10:07 UTC
This is an autogenerated message for OBS integration:
This bug (1127260) was mentioned in
https://build.opensuse.org/request/show/706664 Factory / gcc8