jmacdonald / amp

A complete text editor for your terminal.

Home Page:https://amp.rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build on OpenBSD 6.7 on pentium2

naguam opened this issue · comments

Hello, I've installed rust python3 cmake xcb, zlib and libressl are there by default.
When I do cargo build (or even cargo install amp even if i just want the binary for experiments).

p2mmx$ cargo build                
 Downloading crates ...
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `-6`,
 right: `0`', /pobj/rust-1.42.0/rustc-1.42.0-src/vendor/flate2/src/ffi/c.rs:182:13
stack backtrace:
   0: 0x178be6cc - __register_frame_info
   1: 0x178e8801 - __register_frame_info
   2: 0x178be497 - __register_frame_info
   3: 0x178a729c - __register_frame_info
   4: 0x178a6f55 - __register_frame_info
   5: 0x178a79a5 - __register_frame_info
   6: 0x178a7512 - __register_frame_info
   7: 0x178a747c - __register_frame_info
   8: 0x17837ed2 - __register_frame_info
   9: 0x178383dd - __register_frame_info
  10: 0x173a2f4b - __register_frame_info
  11: 0x173f6cc8 - __register_frame_info
  12: 0x173f8c8f - __register_frame_info
  13: 0x173dc7f7 - __register_frame_info
  14: 0x17709427 - __register_frame_info
  15: 0x17707d8e - __register_frame_info
  16: 0x17706d48 - __register_frame_info
  17: 0x17706c34 - __register_frame_info
  18: 0x177054f8 - __register_frame_info
  19: 0x173b116c - __register_frame_info
  20: 0x173ae3b1 - __register_frame_info
  21: 0x17275383 - __register_frame_info
  22: 0x17280df3 - __register_frame_info
  23: 0x172c2a58 - __register_frame_info
  24: 0x172c4a79 - __register_frame_info
  25: 0x178be93d - __register_frame_info
  26: 0x178a73b4 - __register_frame_info
  27: 0x178c9cc2 - __register_frame_info
  28: 0x178c9909 - __register_frame_info
  29: 0x172c4a57 - __register_frame_info
p2mmx$

I'm building it on an old processor (i686) that has no sse2 insctruction but I've read that rustc has support of this and i'm using the openbsd build of rustc (maybe should I use a custom built version of rust). I thought that I could build directly because I could also build a "hello world" in rust on this computer.

Thanks for reading (even if this issue is may be not fixable because of processor architecture or rust version or os)

Ok I've built some other projects in rust, it might be a problem with sse2 and / or my rust implementation (even if i can build a "Hello world program") that cause problem.

Sorry for the issue opened.