[Libre-soc-bugs] [Bug 999] Linux Distribution Porting (Gentoo & Debian)

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Fri Feb 17 22:01:42 GMT 2023


Jacob Lifshay <programmerjake at gmail.com> changed:

           What    |Removed                     |Added
                 CC|                            |programmerjake at gmail.com

--- Comment #3 from Jacob Lifshay <programmerjake at gmail.com> ---
Created attachment 188
  --> https://bugs.libre-soc.org/attachment.cgi?id=188&action=edit
proposed patch for rust for isa v3.0 sffs

the patch is on top of tag 1.66.1 from https://github.com/rust-lang/rust

i built a cross compiler from x86_64 to powerpc64le with isa v3.0 sffs:

> env CFLAGS_powerpc64le-unknown-linux-gnu='-mcpu=power9 -mno-altivec -mno-crypto -mno-htm' ./configure --target=powerpc64le-unknown-linux-gnu,x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --enable-ccache --enable-ninja
> env CFLAGS_powerpc64le-unknown-linux-gnu='-mcpu=power9 -mno-altivec -mno-crypto -mno-htm' make dist

you can then find the distribution tarballs in build/dist

to use it (only needed for cross-compiler) you need to pass:
--target=powerpc64le-unknown-gnu -Clinker=powerpc64le-linux-gnu-gcc

You are receiving this mail because:
You are on the CC list for the bug.

More information about the libre-soc-bugs mailing list