Skip to content

Doesn't work compiling for powerpc64le-unknown-linux-gnu: lots of output about features #1448

Answered by Emilgardis
rjzak asked this question in Q&A
Discussion options

You must be logged in to vote

When you run

cross build --workspace --bin mdb_client --target=powerpc64le-unknown-linux-gnu

you immediately see

    Blocking waiting for file lock on build directory
'skylake' is not a recognized processor for this target (ignoring processor)
...

?

I think the problem then is rustflags = ["-Ctarget-cpu=native"], native in this context is the host, see rust-lang/rust#51721

https://github.com/malwaredb/malwaredb-rs/blob/40646208dcb69ec47c77f4f1b82f0dd070cc3b69/.cargo/config#L3

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@Emilgardis
Comment options

@rjzak
Comment options

@Emilgardis
Comment options

Answer selected by rjzak
@rjzak
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants