Opened 5 years ago

Closed 5 years ago

#402 closed defect (fixed)

FTB with gcc5

Reported by: Pavel Zhukov Owned by:
Priority: critical Milestone:
Component: Matreshka Version:
Keywords: Cc:

Description

Trying to build with gcc-5.0 and got following errors:

gcc -c -fPIC -g -gnatwa -gnat12 -gnatW8 -O2 -gnatn -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fasynchronous-unwind-tables -gnatn -gnat-p -gnatVd -gnatwn -gnatyN matreshka-simd-intel-sse.adb
/builddir/build/BUILD/matreshka-0.6.0/source/league/arch/x86_generic/matreshka-internals-strings-handlers-generic_x86_sse2.adb: In function 'Matreshka.Internals.Strings.Handlers.X86.Sse2_Popcnt.Is_Equal':
/builddir/build/BUILD/matreshka-0.6.0/source/league/arch/x86_generic/matreshka-internals-strings-handlers-generic_x86_sse2.adb:567:18: error: '.builtin_ia32_pcmpeqw128' needs isa option -m32 -msse2
/builddir/build/BUILD/matreshka-0.6.0/source/league/arch/x86_generic/matreshka-internals-strings-handlers-generic_x86_sse2.adb:567: confused by earlier errors, bailing out
/builddir/build/BUILD/matreshka-0.6.0/source/league/arch/x86_generic/matreshka-internals-strings-handlers-generic_x86_sse2.adb: In function 'Matreshka.Internals.Strings.Handlers.X86.Sse2.Index':
/builddir/build/BUILD/matreshka-0.6.0/source/league/arch/x86_generic/matreshka-internals-strings-handlers-generic_x86_sse2.adb:412:32: error: '.builtin_ia32_pcmpeqw128' needs isa option -m32 -msse2
/builddir/build/BUILD/matreshka-0.6.0/source/league/arch/x86_generic/matreshka-internals-strings-handlers-generic_x86_sse2.adb:412: confused by earlier errors, bailing out
/builddir/build/BUILD/matreshka-0.6.0/source/league/arch/x86_generic/matreshka-simd-intel-sse.adb: In function 'Matreshka.Simd.Intel.Sse.Mm_Cvtpi16_Ps':
/builddir/build/BUILD/matreshka-0.6.0/source/league/arch/x86_generic/matreshka-simd-intel-sse.adb:103:12: error: '.builtin_ia32_pcmpgtw' needs isa option -m32 -mmmx
/builddir/build/BUILD/matreshka-0.6.0/source/league/arch/x86_generic/matreshka-simd-intel-sse.adb:107:24: error: '.builtin_ia32_punpcklwd' needs isa option -m32 -mmmx
/builddir/build/BUILD/matreshka-0.6.0/source/league/arch/x86_generic/matreshka-simd-intel-sse.adb:108:24: error: '.builtin_ia32_punpckhwd' needs isa option -m32 -mmmx
/builddir/build/BUILD/matreshka-0.6.0/source/league/arch/x86_generic/matreshka-simd-intel-sse.adb:113:12: error: '.builtin_ia32_cvtpi2ps' needs isa option -m32 -msse

https://kojipkgs.fedoraproject.org//work/tasks/6393/9636393/build.log
We have to fix/work this around to save matreshka in Fedora

Change History (1)

comment:1 by Pavel Zhukov, 5 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.