-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Illegal "udf" Instruction on armv7 #28436
Comments
UDF (UnDeFined) is an instruction that always raises an exception. It probably means your build is hitting some code path it's not supposed to hit. What does |
|
@nodejs/platform-arm |
Does I suppose the UDF might be the start of a constant pool. If you start disassembling a few bytes before $pc, the UDF should be preceded by a jump. Next question then of course is how control ends up there. |
Yes, There's a
I just built a debug version of node & looked at the object dump:
So it seems the
I'll try building node with V8 debugging enabled. The UNREACHABLE macro should then print the correct line number & maybe I'll even get a backtrace. |
In debug mode, I get these errors before I even reach the UNREACHABLE macro invocation: First:
Backtrace:
And if I skip this check (
Backtrace:
|
Alright, this is the location where my original UNREACHABLE error is triggered:
|
FYI: Node v8.12.0 & v10.15.3 seem to work without any problems. |
v12.5.0 was released yesterday, can you try that? It contains a couple of fixes to the ARM code. Also, this only happens when you build from source? Do the release binaries from https://nodejs.org/dist/latest-v12.x/ work? |
Sure - I've already started compiling v12.5.0. (I'm using buildroot btw. - in case it makes any difference) |
I can't get v12.5.0 to build. It fails while trying to build a snapshot, even though I explicitly specified "--without-snapshot" & "--without-node-snapshot"...? Snapshot/Assembler errors:
|
@NikoDelarich I just opened #28467 which should fix this issue with V8 snapshot. Can you try to apply it on top of v12.5.0? |
@targos Thanks a lot - that fixed my build! |
Everything seems to work - thank you! |
Dear maintainers,
After updating nodejs to 12.4.0 running "node" produces the following error:
The process then crashes with an illegal instruction error:
Here are my config options:
configure --prefix=/usr --dest-cpu=arm --with-arm-float-abi=softfp --with-arm-fpu=vfpv4-d16 --without-snapshot --shared-zlib --shared-nghttp2 --without-dtrace --without-etw --dest-os=linux --with-intl=small-icu --shared-openssl --without-npm
cat /proc/cpuinfo:
node --v8-options:
GDB output & disassembly:
Please let me know if more information is needed.
The text was updated successfully, but these errors were encountered: