thomas725

Results 103 comments of thomas725

no, doesn't seem like it can: >hello world >Illegal instruction running in dev environment this instead prints: >hello world >0.09983342 I will have a look at https://github.com/cross-rs/cross/wiki/FAQ#gitlab-ci tomorrow and see...

Okey, so I don't think what's described at https://github.com/cross-rs/cross/wiki/FAQ#gitlab-ci can work for me, since I'm not hosting a gitlab instance myself but just using the public gitlab.com instance which includes...

hmm, something with that custom target json didn't work as hoped: ``` $ cross +nightly build --target powerpc-unknown-linux-muslsf.json --release [cross] warning: using newer rustc `1.75.0-nightly (2f1bd0729 2023-10-27)` for the target....

and the spe version fails like this: ``` error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/home/user/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/user/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin" VSLANG="1033" "cc" "-m32 -mspe" "/tmp/rustcGLJTbP/symbols.o" "/target/powerpc-unknown-linux-muslspe/release/deps/my_project-5fc72a3857ce6d3c.my_project.d68e5b2406453db7-cgu.0.rcgu.o" "-Wl,--as-needed" "-L" "/target/powerpc-unknown-linux-muslspe/release/deps"...

okey so the binary resulting from this command: ``` RUSTFLAGS="-C target-feature=-crt-static,-hard-float" CROSS_CONTAINER_ENGINE=podman cross +nightly build --target powerpc-unknown-linux-musl --release ``` gives good float output: >hello world >0.09983342 even though it does...

I've tried putting those two into `.cargo/config.toml`: ``` [target."powerpc-unknown-linux-muslsf.json"] linker = "powerpc-linux-muslsf-gcc" [target.powerpc-unknown-linux-musl] linker = "powerpc-linux-muslsf-gcc" ``` But it didn't change the output of `cross +nightly build --target powerpc-unknown-linux-muslsf.json --release`...

Also, since you said using `tcp://docker:2375/` on public gitlab.com should work just fine, I wanted to try that - but I need a docker image for the layer calling cross,...

thanks! is there also one with rust nightly pre-installed? ``` $ RUSTFLAGS="-C target-feature=-crt-static,-hard-float" cross +nightly build --target powerpc-unknown-linux-musl --release [cross] warning: unable to get metadata for package [cross] note: Falling...

Okey, I did, but now get this strange error: ``` $ RUSTFLAGS="-C target-feature=-crt-static,-hard-float" cross +nightly build --target powerpc-unknown-linux-musl --release [cross] warning: using newer rustc `1.75.0-nightly (608e9682f 2023-10-29)` for the target....

okey, thanks for showing me the connection! So cross-rs build won't work on GitLab until there's a solution for #1351 - correct? Can you help me get the json based...