Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: build failure when optimizing



On Wed, May 27, 2020 at 05:42:37PM +0200, Tobias Nygren wrote:
> There is an -mno-sse2 flag on the command line and it conflicts with
> your -mfpmath=sse flag. This COPTS setting comes from
> src/libexec/ld.elf_so/Makefile. You can remove the flag but expect
> random breakage, it is there for a reason. Probably the easiest fix is
> to add something like CFLAGS:=${CFLAGS:N-msse*:N-mfpmath=sse} at the
> bottom on the Makefile to undo your settings for this file only.

-mfpmath=sse is questionable anyway. It's one of those many flags found
in old Gentoo guides to magically make things faster, but (1) have a
good chance of doing the reverse (2) have a good chance of introducing
subtile regressions.

Joerg


Home | Main Index | Thread Index | Old Index