Summary: | gui-libs/gtk-4.10.4 fails to compile on x86 ../gtk-4.10.4/gtk/roaring/roaring.c:395:37: error: ā__m128iā undeclared | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Francis Devereux <gentoo.org> |
Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | portage log |
Description
Francis Devereux
2023-07-25 14:38:45 UTC
I think this was triggered by me changing -march=k8 to -march=native CFLAGS in make.conf (on a Pentium Gold G5420 CPU). Adding -mno-sse to CFLAGS for gui-libs/gtk using /etc/portage/package.env allows gui-libs/gtk-4.10.4 to build successfully again. ../gtk-4.10.4/gtk/roaring/roaring.c:395:37: error: ā__m128iā undeclared Adding -mno-sse4.2 to CFLAGs is sufficient to fix it for me (i.e. only SSE 4.2 needs to be disabled, not all SSE). *** This bug has been marked as a duplicate of bug 830723 *** |