[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: LuaJit 1.1.0 coredump on FreeBSD
- From: Jim Mellander <jmellander@...>
- Date: Wed, 29 Mar 2006 14:25:59 -0800
Thanks for the info, I'll try it.
You ain't seen bureaucracies until you've seen a .gov bureaucracy! Your
workaround should get me by while waiting for the wheels of government
bureaucracy to laboriously turn over, or until they gum up completely....
Mike Pall wrote:
Jim Mellander wrote:
I would prefer to take the performance hit by sinking back into the
pre-SSE days. I didn't see any option for disabling the use of SSE in
the Luajit code - can this be done via a define?
Workaround: redefine JIT_F_CPU_SSE2 in src/ljit.h to 0.
there some way to detect that although the CPU supports SSE, the kernel
doesn't, and dynamically disable that code under the circumstances?
The CPUID detection is in fact designed to do exactly this (to
benefit older operating systems). But apparently FreeBSD 4.x
doesn't play by the rules if the option is disabled. AFAIK it has
been fixed in newer versions.
However, this is a production kernel, for which any changes need to go
thru a time-consuming QA process, as well as requiring me to run the
gauntlet of fascist system administration :-(
Never surrender to bureaucracies. Queue one change request now
and get what you need in a few months. Queue three change
requests every day and within two weeks you get your own box.
Incident Response Manager
Computer Protection Program
Lawrence Berkeley National Laboratory
Your fortune for today is:
When in doubt, lead trump.