Summary: | media-libs/mesa-10.1.0 - In file included from main/streaming-load-memcpy.c:31:0: /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/include/smmintrin.h:31:3: error: #error "SSE4.1 instruction set not enabled" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mario Bachmann <grafgrimm77> |
Component: | [OLD] Library | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bircoph, cyberbat83, jer, jormangeud, randy-andy-, sfl, xmw |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
See Also: | https://bugs.freedesktop.org/show_bug.cgi?id=71547 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Mario Bachmann
2014-03-08 10:32:11 UTC
Yes, there's a patch upstream. I'll be in the next version. Please use this as a public service announcement telling you that it's unnecessary to explicitly disable instruction sets. -march=k8-sse3 doesn't enable SSE 4. You don't need to be disabling it explicitly. (In reply to Matt Turner from comment #1) > Yes, there's a patch upstream. epatch_user works with mkdir -p /etc/portage/patches/media-libs/mesa-10.1.0 wget http://cgit.freedesktop.org/mesa/mesa/patch/\?id\=8d3f739383fbdf671752fdec707f1c2b9b2aa6a3 -O /etc/portage/patches/media-libs/mesa-10.1.0/sse4.1.patch emerge -av1 mesa (In reply to Matt Turner from comment #1) > Yes, there's a patch upstream. I'll be in the next version. Please use this > as a public service announcement telling you that it's unnecessary to > explicitly disable instruction sets. -march=k8-sse3 doesn't enable SSE 4. > You don't need to be disabling it explicitly. I'm not agree. I'm using a coreI5 system to build packages for an ATOM system from a chroot. I must disable explicitly theses instructions sets into the chroot. mesa-10.0.4 has been stabilized but can not be built. *** Bug 506474 has been marked as a duplicate of this bug. *** (In reply to Fab from comment #3) > (In reply to Matt Turner from comment #1) > > Yes, there's a patch upstream. I'll be in the next version. Please use this > > as a public service announcement telling you that it's unnecessary to > > explicitly disable instruction sets. -march=k8-sse3 doesn't enable SSE 4. > > You don't need to be disabling it explicitly. > > I'm not agree. I'm using a coreI5 system to build packages for an ATOM > system from a chroot. I must disable explicitly theses instructions sets > into the chroot. > > mesa-10.0.4 has been stabilized but can not be built. Likewise, if you use distcc with different CPUs as servers, this is also a problem. Basically any type of cross-compiling is likely affected. *** Bug 507784 has been marked as a duplicate of this bug. *** Issue is still here with mesa-10.1.3 and -msse4.1 being enforced on Atom N270. This is odd. I have this issue with distcc or any cross-compiling with mesa-10.3.1, otherwise it builds fine. Looks like I have the same issue with chromium (bug 523744), so this issues is not package, but toolchain related. This was supposedly fixed in mesa-10.2 For the distcc/cross-compile problem best open a separate bug report. |