tech-pkg archive

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

Re: How to handle "-march=native"?



On Thu, Dec 26, 2013 at 11:16:07PM +0900, Takahiro Kambe wrote:
> Today, I tried to run squid-3.4.1nb1 package on NetBSD/amd64
> 6.1_STABLE and I met a troulbe, squid core dump soon with SIGILL.
> 
> Finally, I found some comments about --(disable/enable)-arch-native
> option in squid's configure script.

Please disable it unconditionally. It makes binary packages unportable
and for most things the performance difference is way too small anyway.
A user can easily add it via CFLAGS/CXXFLAGS already in mk.conf.

Joerg


Home | Main Index | Thread Index | Old Index