[GH-ISSUE #65] Can't build on Linux. #11

Closed
opened 2026-03-03 13:44:59 +03:00 by kerem · 2 comments
Owner

Originally created by @io3432iooivzs on GitHub (Jun 1, 2024).
Original GitHub issue: https://github.com/gopher64/gopher64/issues/65

Hi.

I'd tried to build v0.1.6 on Linux (Debian12/bookworm).
But failed, build stopped with under error messages.

=== Error messages from ===

Compiling typenum v1.17.0
Compiling rustix v0.38.34
error: failed to run custom build command for typenum v1.17.0

Caused by:
process didn't exit successfully: {MY_HOME_DIR}/gopher64-0.1.6/target/release/build/typenum-40ca016cb72a8397/build-script-main (signal: 4, SIGILL: illegal instruction)
--- stdout
cargo:rerun-if-changed=build/main.rs
warning: build failed, waiting for other jobs to finish...

=== Error messages here ===

I'd tried some solutions,maybe.

  1. Add typenum before building.
    $ cd gopher64-0.1.6
    $ cargo add typenum

  2. Add system typenum libraries.
    $ sudo apt install librust-typenum-dev

  3. Specified Clang-15 instead of Debian12 default (Clang-14).
    $ export CC=clang-15
    $ export CXX=clang++-15

But these methods only returned same error messages. Can't solve problem.
What wrong?

Originally created by @io3432iooivzs on GitHub (Jun 1, 2024). Original GitHub issue: https://github.com/gopher64/gopher64/issues/65 Hi. I'd tried to build v0.1.6 on Linux (Debian12/bookworm). But failed, build stopped with under error messages. === Error messages from === Compiling typenum v1.17.0 Compiling rustix v0.38.34 error: failed to run custom build command for `typenum v1.17.0` Caused by: process didn't exit successfully: `{MY_HOME_DIR}/gopher64-0.1.6/target/release/build/typenum-40ca016cb72a8397/build-script-main` (signal: 4, SIGILL: illegal instruction) --- stdout cargo:rerun-if-changed=build/main.rs warning: build failed, waiting for other jobs to finish... === Error messages here === I'd tried some solutions,maybe. 1) Add typenum before building. $ cd gopher64-0.1.6 $ cargo add typenum 2) Add system typenum libraries. $ sudo apt install librust-typenum-dev 3) Specified Clang-15 instead of Debian12 default (Clang-14). $ export CC=clang-15 $ export CXX=clang++-15 But these methods only returned same error messages. Can't solve problem. What wrong?
kerem closed this issue 2026-03-03 13:44:59 +03:00
Author
Owner

@loganmc10 commented on GitHub (Jun 1, 2024):

You can try changing or removing this line:

github.com/gopher64/gopher64@d644617d62/.cargo/config.toml (L2)

You can try changing it to target-cpu=x86-64-v2, it's possible that your computer doesn't support v3

<!-- gh-comment-id:2143610284 --> @loganmc10 commented on GitHub (Jun 1, 2024): You can try changing or removing this line: https://github.com/gopher64/gopher64/blob/d644617d623c322b3074390f4a1779bd0b96ee54/.cargo/config.toml#L2 You can try changing it to `target-cpu=x86-64-v2`, it's possible that your computer doesn't support v3
Author
Owner

@io3432iooivzs commented on GitHub (Jun 2, 2024):

Thanks reply, and success to build!
But v0.1.6 was building failed, otherwise, Today's git clone was building success.

Boot gopher64 to success also, I played some game a while, speed was too slow :-<
mupen64plus + parallel-RDP plugin was playing speed fine, almost games I have.
I'll post my PC specs.

A8-7600
Radeon R7 graphics(internal CPU)
A88XM-A

Only exits a few emulators for to play N64,
I'll counting on gopher64.

<!-- gh-comment-id:2143910456 --> @io3432iooivzs commented on GitHub (Jun 2, 2024): Thanks reply, and success to build! But v0.1.6 was building failed, otherwise, Today's git clone was building success. Boot gopher64 to success also, I played some game a while, speed was too slow :-< mupen64plus + parallel-RDP plugin was playing speed fine, almost games I have. I'll post my PC specs. A8-7600 Radeon R7 graphics(internal CPU) A88XM-A Only exits a few emulators for to play N64, I'll counting on gopher64.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/gopher64#11
No description provided.