[Bug lto/59684] lto1: internal compiler error: bytecode stream: expected tag real_type instead of error_mark

2014-01-08 Thread nheghathivhistha at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59684

David Kredba nheghathivhistha at gmail dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |INVALID

--- Comment #5 from David Kredba nheghathivhistha at gmail dot com ---
After I compiled 0.7.3 Vc with todays trunk the problem is gone.


[Bug lto/59684] lto1: internal compiler error: bytecode stream: expected tag real_type instead of error_mark

2014-01-05 Thread nheghathivhistha at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59684

--- Comment #1 from David Kredba nheghathivhistha at gmail dot com ---
After I rebuilt Vc library using the same compiler it stopped to ICE.
Instead it reports

/usr/include/Vc/version.h:45: error: undefined reference to
'Vc::checkLibraryAbi(unsigned int, unsigned int, char const*)'
/usr/include/Vc/version.h:45: error: undefined reference to
'Vc::checkLibraryAbi(unsigned int, unsigned int, char const*)'
/var/tmp/portage/app-office/calligra-2.7.5/work/calligra-2.7.5/libs/pigment/compositeops/KoStreamedMath.h:256:
error: undefined reference to 'Vc::SSE::c_general::oneFloat'
/var/tmp/portage/app-office/calligra-2.7.5/work/calligra-2.7.5/libs/pigment/compositeops/KoStreamedMath.h:256:
error: undefined reference to 'Vc::SSE::c_general::oneFloat'
/var/tmp/portage/app-office/calligra-2.7.5/work/calligra-2.7.5/libs/pigment/compositeops/KoStreamedMath.h:266:
error: undefined reference to 'Vc::SSE::c_general::oneFloat'
/var/tmp/portage/app-office/calligra-2.7.5/work/calligra-2.7.5/libs/pigment/compositeops/KoStreamedMath.h:266:
error: undefined reference to 'Vc::SSE::c_general::oneFloat'
/usr/include/Vc/version.h:45: error: undefined reference to
'Vc::checkLibraryAbi(unsigned int, unsigned int, char const*)'
collect2: error: ld returned 1 exit status

at link time.


[Bug lto/59684] lto1: internal compiler error: bytecode stream: expected tag real_type instead of error_mark

2014-01-05 Thread nheghathivhistha at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59684

--- Comment #2 from David Kredba nheghathivhistha at gmail dot com ---
gcc-nm -C /usr/lib64/libVc.a 

const.cpp.o:
 T Vc::RandomState
 T Vc::checkLibraryAbi(unsigned int, unsigned int, char const*)
 T Vc::AVX::_IndexesFromZero8
 T Vc::AVX::_IndexesFromZero16
 T Vc::AVX::_IndexesFromZero32
 T Vc::AVX::c_logdouble::data
 T Vc::AVX::c_logfloat::data
 T Vc::AVX::c_trigdouble::data
 T Vc::AVX::c_trigfloat::data
 T Vc::AVX::c_general::absMaskFloat
 T Vc::AVX::c_general::highMaskFloat
 T Vc::AVX::c_general::signMaskFloat
 T Vc::AVX::c_general::highMaskDouble
 T Vc::AVX::c_general::one16
 T Vc::AVX::c_general::minShort
 T Vc::AVX::c_general::oneFloat
 T Vc::AVX::c_general::frexpMask
 T Vc::AVX::c_general::oneDouble
 T Vc::AVX::c_general::_2power31
 T Vc::SSE::_IndexesFromZero4
 T Vc::SSE::_IndexesFromZero8
 T Vc::SSE::_IndexesFromZero16
 T Vc::SSE::c_logdouble::data
 T Vc::SSE::c_logfloat::data
 T Vc::SSE::c_trigdouble::data
 T Vc::SSE::c_trigfloat::data
 T Vc::SSE::c_general::absMaskFloat
 T Vc::SSE::c_general::absMaskDouble
 T Vc::SSE::c_general::highMaskFloat
 T Vc::SSE::c_general::signMaskFloat
 T Vc::SSE::c_general::highMaskDouble
 T Vc::SSE::c_general::signMaskDouble
 T Vc::SSE::c_general::one16
 T Vc::SSE::c_general::one32
 T Vc::SSE::c_general::minShort
 T Vc::SSE::c_general::oneFloat
 T Vc::SSE::c_general::frexpMask
 T Vc::SSE::c_general::oneDouble
 T Vc::Warnings::_operator_bracket_warning()

cpuid.cpp.o:
 T Vc::CpuId::s_noL2orL3
 T Vc::CpuId::s_prefetch
 T Vc::CpuId::s_brandIndex
 T Vc::CpuId::s_cacheLineSize
 T Vc::CpuId::s_L1Instruction
 T Vc::CpuId::s_processorType
 T Vc::CpuId::s_L1DataLineSize
 T Vc::CpuId::s_L2DataLineSize
 T Vc::CpuId::s_L3DataLineSize
 T Vc::CpuId::s_processorModel
 T Vc::CpuId::s_L1Associativity
 T Vc::CpuId::s_L2Associativity
 T Vc::CpuId::s_L3Associativity
 T Vc::CpuId::s_processorFamily
 T Vc::CpuId::s_logicalProcessors
 T Vc::CpuId::s_processorFeaturesC
 T Vc::CpuId::s_processorFeaturesD
 T Vc::CpuId::s_processorFeatures8C
 T Vc::CpuId::s_processorFeatures8D
 T Vc::CpuId::s_L1InstructionLineSize
 T Vc::CpuId::init()
 T Vc::CpuId::s_ecx0
 T Vc::CpuId::s_L1Data
 T Vc::CpuId::s_L2Data
 T Vc::CpuId::s_L3Data
 T Vc::CpuId::interpret(unsigned char, bool*)

support.cpp.o:
 T Vc::isImplementationSupported(Vc::Implementation)
 T Vc::extraInstructionsSupported()
 T Vc::bestImplementationSupported()
 U Vc::CpuId::s_processorFeaturesC
 U Vc::CpuId::s_processorFeaturesD
 U Vc::CpuId::s_processorFeatures8C
 U Vc::CpuId::init()

avx_sorthelper.cpp.o:
 T Vc::AVX::SortHelperdouble::sort(double __vector(4))
 T Vc::AVX::SortHelperdouble::sort(double __vector(4), double
__vector(4))
 T Vc::AVX::SortHelperfloat::sort(float __vector(8))
 T Vc::AVX::SortHelperint::sort(long long __vector(4))
 T Vc::AVX::SortHelperunsigned int::sort(long long __vector(4))
 T Vc::AVX::SortHelperVc::sfloat::sort(float __vector(8))
 T Vc::AVX::SortHelpershort::sort(long long __vector(2))
 T Vc::AVX::SortHelperunsigned short::sort(long long __vector(2))

trigonometric_SSE2.cpp.o:
 U __assert_fail
 U __cxa_atexit
 U __dso_handle
 U std::ios_base::Init::Init()
 U std::ios_base::Init::~Init()
 T Vc::SSE::Vectordouble Vc::TrigonometricVc::ImplementationT1u
::cosdouble(Vc::SSE::Vectordouble const)
 W Vc::SSE::Vectorfloat Vc::TrigonometricVc::ImplementationT1u
::cosfloat(Vc::SSE::Vectorfloat const)
 W Vc::SSE::VectorVc::sfloat
Vc::TrigonometricVc::ImplementationT1u
::cosVc::sfloat(Vc::SSE::VectorVc::sfloat const)
 T Vc::SSE::Vectordouble Vc::TrigonometricVc::ImplementationT1u
::sindouble(Vc::SSE::Vectordouble const)
 W Vc::SSE::Vectorfloat Vc::TrigonometricVc::ImplementationT1u
::sinfloat(Vc::SSE::Vectorfloat const)
 W Vc::SSE::VectorVc::sfloat
Vc::TrigonometricVc::ImplementationT1u
::sinVc::sfloat(Vc::SSE::VectorVc::sfloat const)
 T Vc::SSE::Vectordouble Vc::TrigonometricVc::ImplementationT1u
::asindouble(Vc::SSE::Vectordouble const)
 W Vc::SSE::Vectorfloat Vc::TrigonometricVc::ImplementationT1u
::asinfloat(Vc::SSE::Vectorfloat const)
 W Vc::SSE::VectorVc::sfloat
Vc::TrigonometricVc::ImplementationT1u
::asinVc::sfloat(Vc::SSE::VectorVc::sfloat const)
 T Vc::SSE::Vectordouble Vc::TrigonometricVc::ImplementationT1u

[Bug lto/59684] lto1: internal compiler error: bytecode stream: expected tag real_type instead of error_mark

2014-01-05 Thread nheghathivhistha at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59684

--- Comment #3 from David Kredba nheghathivhistha at gmail dot com ---
When libVc built without -flto Calligra can be built without -flto too.

nm -C /usr/lib64/libVc.a 

const.cpp.o:
 U abort
 U _GLOBAL_OFFSET_TABLE_
 r .LC1
 U printf
 r Vc::LIBRARY_VERSION
 D Vc::RandomState
0010 T Vc::checkLibraryAbi(unsigned int, unsigned int, char const*)
1060 R Vc::AVX::_IndexesFromZero8
1070 R Vc::AVX::_IndexesFromZero16
1080 R Vc::AVX::_IndexesFromZero32
0c80 R Vc::AVX::c_logdouble::data
0c00 R Vc::AVX::c_logfloat::data
0e80 R Vc::AVX::c_trigdouble::data
0d80 R Vc::AVX::c_trigfloat::data
0d5c R Vc::AVX::c_general::absMaskFloat
0d50 R Vc::AVX::c_general::highMaskFloat
0d54 R Vc::AVX::c_general::signMaskFloat
0d38 R Vc::AVX::c_general::highMaskDouble
0d44 R Vc::AVX::c_general::one16
0d48 R Vc::AVX::c_general::minShort
0d4c R Vc::AVX::c_general::oneFloat
0d28 R Vc::AVX::c_general::frexpMask
0d30 R Vc::AVX::c_general::oneDouble
0d40 R Vc::AVX::c_general::_2power31
0b40 R Vc::SSE::_IndexesFromZero4
0b50 R Vc::SSE::_IndexesFromZero8
0310 R Vc::SSE::_IndexesFromZero16
01c0 R Vc::SSE::c_logdouble::data
0040 R Vc::SSE::c_logfloat::data
0700 R Vc::SSE::c_trigdouble::data
0340 R Vc::SSE::c_trigfloat::data
0bc0 R Vc::SSE::c_general::absMaskFloat
0ae0 R Vc::SSE::c_general::absMaskDouble
0b70 R Vc::SSE::c_general::highMaskFloat
0b80 R Vc::SSE::c_general::signMaskFloat
0b00 R Vc::SSE::c_general::highMaskDouble
0ad0 R Vc::SSE::c_general::signMaskDouble
0b30 R Vc::SSE::c_general::one16
0b20 R Vc::SSE::c_general::one32
0b60 R Vc::SSE::c_general::minShort 
0b10 R Vc::SSE::c_general::oneFloat 
0ac0 R Vc::SSE::c_general::frexpMask
0af0 R Vc::SSE::c_general::oneDouble
 T Vc::Warnings::_operator_bracket_warning()

cpuid.cpp.o:
0400 r CSWTCH.42
 U _GLOBAL_OFFSET_TABLE_
 B Vc::CpuId::s_noL2orL3
0004 D Vc::CpuId::s_prefetch
0004 B Vc::CpuId::s_brandIndex
0003 B Vc::CpuId::s_cacheLineSize
0028 B Vc::CpuId::s_L1Instruction
 D Vc::CpuId::s_processorType
0018 B Vc::CpuId::s_L1DataLineSize
0016 B Vc::CpuId::s_L2DataLineSize
0014 B Vc::CpuId::s_L3DataLineSize
0002 B Vc::CpuId::s_processorModel
0010 B Vc::CpuId::s_L1Associativity
000c B Vc::CpuId::s_L2Associativity
0008 B Vc::CpuId::s_L3Associativity
0001 B Vc::CpuId::s_processorFamily
003c B Vc::CpuId::s_logicalProcessors
0038 B Vc::CpuId::s_processorFeaturesC
0034 B Vc::CpuId::s_processorFeaturesD
0030 B Vc::CpuId::s_processorFeatures8C
002c B Vc::CpuId::s_processorFeatures8D
001a B Vc::CpuId::s_L1InstructionLineSize
09e0 T Vc::CpuId::init()
0040 B Vc::CpuId::s_ecx0
0024 B Vc::CpuId::s_L1Data
0020 B Vc::CpuId::s_L2Data
001c B Vc::CpuId::s_L3Data
 T Vc::CpuId::interpret(unsigned char, bool*)
0044 b Vc::CpuId::init()::done

support.cpp.o:
 U _GLOBAL_OFFSET_TABLE_
 T Vc::isImplementationSupported(Vc::Implementation)
0160 T Vc::extraInstructionsSupported()
00e0 T Vc::bestImplementationSupported()
 U Vc::CpuId::s_processorFeaturesC
 U Vc::CpuId::s_processorFeaturesD
 U Vc::CpuId::s_processorFeatures8C
 U Vc::CpuId::init()

avx_sorthelper.cpp.o:
 U _GLOBAL_OFFSET_TABLE_
03b0 T Vc::AVX::SortHelperdouble::sort(double __vector(4))
0330 T Vc::AVX::SortHelperdouble::sort(double __vector(4),
double __vector(4))
02a0 T Vc::AVX::SortHelperfloat::sort(float __vector(8))
0120 T Vc::AVX::SortHelperint::sort(long long __vector(4))
01e0 T Vc::AVX::SortHelperunsigned int::sort(long long
__vector(4))
0320 T Vc::AVX::SortHelperVc::sfloat::sort(float __vector(8))
 T Vc::AVX::SortHelpershort::sort(long long __vector(2))
0090 T Vc::AVX::SortHelperunsigned short::sort(long long
__vector(2))

trigonometric_SSE2.cpp.o:
 U 

[Bug lto/59684] lto1: internal compiler error: bytecode stream: expected tag real_type instead of error_mark

2014-01-05 Thread nheghathivhistha at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59684

--- Comment #4 from David Kredba nheghathivhistha at gmail dot com ---
It does not build later (without lto).


CMakeFiles/calligrasheetscommon.dir/commands/ConditionCommand.cpp.o: In
function `Calligra::Sheets::Conditions::operator(Calligra::Sheets::Conditions
const) const':
/var/tmp/portage/app-office/calligra-2.7.5/work/calligra-2.7.5/sheets/Condition.h:170:
undefined reference to `Calligra::Sheets::qHash(Calligra::Sheets::Conditions
const)'
/var/tmp/portage/app-office/calligra-2.7.5/work/calligra-2.7.5/sheets/Condition.h:170:
undefined reference to `Calligra::Sheets::qHash(Calligra::Sheets::Conditions
const)'
/var/tmp/portage/app-office/calligra-2.7.5/work/calligra-2.7.5/sheets/Condition.h:170:
undefined reference to `Calligra::Sheets::qHash(Calligra::Sheets::Conditions
const)'
/var/tmp/portage/app-office/calligra-2.7.5/work/calligra-2.7.5/sheets/Condition.h:170:
undefined reference to `Calligra::Sheets::qHash(Calligra::Sheets::Conditions
const)'
/var/tmp/portage/app-office/calligra-2.7.5/work/calligra-2.7.5/sheets/Condition.h:170:
undefined reference to `Calligra::Sheets::qHash(Calligra::Sheets::Conditions
const)'
CMakeFiles/calligrasheetscommon.dir/commands/ConditionCommand.cpp.o:/var/tmp/portage/app-office/calligra-2.7.5/work/calligra-2.7.5/sheets/Condition.h:170:
more undefined references to
`Calligra::Sheets::qHash(Calligra::Sheets::Conditions const)' follow
collect2: error: ld returned 1 exit status
sheets/CMakeFiles/calligrasheetscommon.dir/build.make:3108: recipe for target
'lib/libcalligrasheetscommon.so.12.0.0' failed

I am going to try gcc-4.8.2 no lto build.