Created attachment 767535 [details] compressed debug log from armv7-cross this regression was introduced in the librsvg-2.52 branch, basically it tries to use the hosts gcc to link the foreign binaries, similar to what happens when one uses cargo build --target without setting up the linking for the target in ~/.cargo/config: = note: /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/armv7a-unknown-linux-gnueabihf/tmp/portage/gnome-base/librsvg-2.54.0/work/librsvg-2.54.0-.arm/target/thumbv7neon-unknown-linux-gnueabihf/release/deps/rsvg_convert-6da247c81e33f7e1.rsvg_convert.aaca61b7-cgu.0.rcgu.o: relocations in generic ELF (EM: 40) /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/armv7a-unknown-linux-gnueabihf/tmp/portage/gnome-base/librsvg-2.54.0/work/librsvg-2.54.0-.arm/target/thumbv7neon-unknown-linux-gnueabihf/release/deps/rsvg_convert-6da247c81e33f7e1.rsvg_convert.aaca61b7-cgu.0.rcgu.o: relocations in generic ELF (EM: 40) /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/armv7a-unknown-linux-gnueabihf/tmp/portage/gnome-base/librsvg-2.54.0/work/librsvg-2.54.0- the compressed build.log is attached
Created attachment 767536 [details] output from emerge --info (armv7)
as stated in the url, its possible to give the linker information to the build process via .cargo/config, as in: diff --git a/.cargo/config b/.cargo/config index a94e912..fd4f0a7 100644 --- a/.cargo/config +++ b/.cargo/config @@ -9,3 +9,6 @@ replace-with = 'vendored-sources' [source.vendored-sources] directory = './vendor' + +[target.armv7-unknown-linux-gnueabihf] +linker = "armv7a-unknown-linux-gnueabihf-gcc" this unbreaks the cross compile with armv7a-unknown-linux-gnueabihf toolchain maybe its possible to generalize this, but I'm not good enough with toolchain-funcs stuff
*** Bug 904984 has been marked as a duplicate of this bug. ***