Ok, I think I see what's going on. When I did the debug build, I
accidently used an old build script, which didn't include "cpuinfo.o".
Fixing that, I'm getting (with gdb):
Program received signal SIGILL, Illegal instruction.
0xb7a93322 in check_xcr0_ymm ()
at /home/wheagy/tmp/jsource.git/trunk/jsrc/cpuinfo.c:26
26 __asm__ ("xgetbv" : "=a" (xcr0) : "c" (0) : "%edx" );
I wonder if it's an "old hardware" problem: this processor is a core
duo, and I'm seeing the same message on a core 2 duo.
On 04/04/17 10:37 PM, bill lam wrote:
It works for me. You can grep and find cpuInit has been
defined inside source.
Вт, 04 апр 2017, Bill Heagy написал(а):
With r529 on debian 32-bit I geti "Illegal instruction" immediately on
start. Recompiling with "-O0 -g" I get:
symbol lookup error: /home/wheagy/tmp/jbld/j32/bin/libj.so: undefined
symbol: cpuInit
I haven't had a chance to check 64-bit.
Bill
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
--
Bill Heagy
615 Country Club Drive mailto:[email protected]
London, Ontario N6C 5P8 Canada telephone: 519-680-0311
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm