You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
japaric opened this issue
Sep 14, 2016
· 1 comment
Labels
I-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.O-ArmTarget: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 state
# omitted: install https://static.rust-lang.org/dist/2016-09-13/rustc-nightly-arm-unknown-linux-gnueabihf.tar.gz
$ gdb rustc
(gdb) run -V
Starting program: rustc -V
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
(gdb) bt
#0 0x00000000 in ?? ()
#1 0xb2ef57b4 in __pthread_initialize_minimal_internal () from /usr/lib/libpthread.so.0
#2 0xb2ef4d54 in _init () from /usr/lib/libpthread.so.0
#3 0xb6fdf2e8 in call_init.part () from /lib/ld-linux-armhf.so.3
#4 0xb6fdf4b8 in _dl_init () from /lib/ld-linux-armhf.so.3
#5 0xb6fcfbc4 in _dl_start_user () from /lib/ld-linux-armhf.so.3
The armv7-unknown-linux-gnueabihf variant also segfaults.
1.9.0, 1.10.0 and 1.11.0 also segfault in their both (arm and armv7) variants and there is no official rustc-1.8.0 release for ARM.
The unofficial 1.8.0 rustc release (for armv7) from the RustBuild project does work.
Hello world cross compiled for armv7 using rustc-1.8.0 works fine.
Note that the Beaglebone only has 256 MB. But I created a 512MB swapfile and flushed all the caches before testing all this. Unsure if the low amount of RAM contributes to the problem.
The text was updated successfully, but these errors were encountered:
japaric
added
I-crash
Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.
O-Arm
Target: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 state
labels
Sep 14, 2016
I-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.O-ArmTarget: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 state
The armv7-unknown-linux-gnueabihf variant also segfaults.
1.9.0, 1.10.0 and 1.11.0 also segfault in their both (arm and armv7) variants and there is no official rustc-1.8.0 release for ARM.
The unofficial 1.8.0 rustc release (for armv7) from the RustBuild project does work.
Hello world cross compiled for armv7 using rustc-1.8.0 works fine.
Meta
Tested on a fresh Arch Linux ARM install.
Note that the Beaglebone only has 256 MB. But I created a 512MB swapfile and flushed all the caches before testing all this. Unsure if the low amount of RAM contributes to the problem.
cc @petevine
The text was updated successfully, but these errors were encountered: