Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 545044 - media-gfx/blender-2.72b-r3: CPU_FLAGS_X86="sse -sse2": emmintrin.h:593:1: error: inlining failed in call to always_inline ‘__m128i _mm_set_epi32(int, int, int, int)’: target specific option mismatch _mm_set_epi32 (int __q3, int __q2, int __q1, int __q0)
Summary: media-gfx/blender-2.72b-r3: CPU_FLAGS_X86="sse -sse2": emmintrin.h:593:1: err...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Jonathan Scruggs (RETIRED)
URL:
Whiteboard:
Keywords: NeedPatch
Depends on:
Blocks: 586160
  Show dependency tree
 
Reported: 2015-03-30 08:44 UTC by Andrew Savchenko
Modified: 2016-10-23 09:48 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.xz (build.log.xz,22.68 KB, application/x-xz)
2015-03-30 08:44 UTC, Andrew Savchenko
Details
environment (environment,171.04 KB, text/plain)
2015-03-30 08:45 UTC, Andrew Savchenko
Details
emerge --info (emerge.info,10.62 KB, text/plain)
2015-03-30 08:45 UTC, Andrew Savchenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Savchenko gentoo-dev 2015-03-30 08:44:39 UTC
Created attachment 400134 [details]
build.log.xz

Hello,

blender-2.72b-r3[sse -sse2] fails to build:

In file included from ^[[01m^[[K/usr/lib/gcc/i686-pc-linux-gnu/4.9.2/include/xmmintrin.h:1258:0^[[m^[[K,
                 from ^[[01m^[[K/var/tmp/portage/media-gfx/blender-2.72b-r3/work/blender-2.72b/intern/cycles/util/util_optimization.h:107^[[m^[[K,
                 from ^[[01m^[[K/var/tmp/portage/media-gfx/blender-2.72b-r3/work/blender-2.72b/intern/cycles/util/util_types.h:83^[[m^[[K,
                 from ^[[01m^[[K/var/tmp/portage/media-gfx/blender-2.72b-r3/work/blender-2.72b/intern/cycles/util/util_simd.h:24^[[m^[[K,
                 from ^[[01m^[[K/var/tmp/portage/media-gfx/blender-2.72b-r3/work/blender-2.72b/intern/cycles/util/util_simd.cpp:21^[[m^[[K:
^[[01m^[[K/usr/lib/gcc/i686-pc-linux-gnu/4.9.2/include/emmintrin.h:^[[m^[[K In function ‘^[[01m^[[Kvoid __static_initialization_and_destruction_0(int, int)^[[m^[[K’:
^[[01m^[[K/usr/lib/gcc/i686-pc-linux-gnu/4.9.2/include/emmintrin.h:593:1:^[[m^[[K ^[[01;31m^[[Kerror: ^[[m^[[Kinlining failed in call to always_inline ‘^[[01m^[[K__m128i _mm_set_epi32(int, int, int, int)^[[m^[[K’: target specific option mismatch
 _mm_set_epi32 (int __q3, int __q2, int __q1, int __q0)
^[[01;32m^[[K ^^[[m^[[K
^[[01m^[[K/var/tmp/portage/media-gfx/blender-2.72b-r3/work/blender-2.72b/intern/cycles/util/util_simd.cpp:26:45:^[[m^[[K ^[[01;31m^[[Kerror: ^[[m^[[Kcalled from here
  _mm_castsi128_ps(_mm_set_epi32( 0, 0, 0, 0)),
^[[01;32m^[[K                                             ^^[[m^[[K
In file included from ^[[01m^[[K/usr/lib/gcc/i686-pc-linux-gnu/4.9.2/include/xmmintrin.h:1258:0^[[m^[[K,
                 from ^[[01m^[[K/var/tmp/portage/media-gfx/blender-2.72b-r3/work/blender-2.72b/intern/cycles/util/util_optimization.h:107^[[m^[[K,
                 from ^[[01m^[[K/var/tmp/portage/media-gfx/blender-2.72b-r3/work/blender-2.72b/intern/cycles/util/util_types.h:83^[[m^[[K,
                 from ^[[01m^[[K/var/tmp/portage/media-gfx/blender-2.72b-r3/work/blender-2.72b/intern/cycles/util/util_simd.h:24^[[m^[[K,
                 from ^[[01m^[[K/var/tmp/portage/media-gfx/blender-2.72b-r3/work/blender-2.72b/intern/cycles/util/util_simd.cpp:21^[[m^[[K:
^[[01m^[[K/usr/lib/gcc/i686-pc-linux-gnu/4.9.2/include/emmintrin.h:1525:1:^[[m^[[K ^[[01;31m^[[Kerror: ^[[m^[[Kinlining failed in call to always_inline ‘^[[01m^[[K__m128 _mm_castsi128_ps(__m128i)^[[m^[[K’: target specific option mismatch
 _mm_castsi128_ps(__m128i __A)
^[[01;32m^[[K ^^[[m^[[K
^[[01m^[[K/var/tmp/portage/media-gfx/blender-2.72b-r3/work/blender-2.72b/intern/cycles/util/util_simd.cpp:26:45:^[[m^[[K ^[[01;31m^[[Kerror: ^[[m^[[Kcalled from here
  _mm_castsi128_ps(_mm_set_epi32( 0, 0, 0, 0)),
^[[01;32m^[[K                                             ^^[[m^[[K


This issue may be related to bug 531752: basically the same problem, but different error.

Please note that package was build with:
FEATURES="-ccache -distcc" CFLAGS="-O2 -march=native -pipe" CXXFLAGS=$CFLAGS LDFLAGS="-Wl,-O1,--as-needed"
in order to be sure that this is not flags/ccache/distcc related issue.
Comment 1 Andrew Savchenko gentoo-dev 2015-03-30 08:45:09 UTC
Created attachment 400136 [details]
environment
Comment 2 Andrew Savchenko gentoo-dev 2015-03-30 08:45:49 UTC
Created attachment 400138 [details]
emerge --info
Comment 3 Jonathan Scruggs (RETIRED) gentoo-dev 2016-06-16 11:27:01 UTC
@Andrew Savchenko: is this error still valid for you? Have you found a work around yet? I can't reproduce this on my system, so it might be a package dependency.
Comment 4 Andrew Savchenko gentoo-dev 2016-06-16 12:04:15 UTC
Sorry, that hardware is dead now. I can't test this any longer.
Comment 5 Jonathan Scruggs (RETIRED) gentoo-dev 2016-10-07 07:43:14 UTC
This is caused by automagic in other parts of the build system. This is resolved in the new version. Will close this once that's in portage.

Thanks for reporting. :)
Comment 6 Jonathan Scruggs (RETIRED) gentoo-dev 2016-10-23 09:48:19 UTC
This is fixed in 2.78. :)