I think have I found a bug when cross compiling mipsel3 32bit MUSL in a x86_64 environment where the ld for the stage2 for gcc fails with the integer being too large. I've confirmed this works inside a 32bit chroot on my amd64 machine and I have had someone using a PowerPC64 also report no issue. As a side not there is no issue at all when using GLIBC so this only exists with MUSL at the moment. I've tried to find out as much as I can but as I'm reaching the limits of my knowledge of cross compiling I feel this would be best confirmed by the team here to rule out if I'm the issue or I've found a bug which no one else has run into. Feel free to ask for more information or testing as I'll be more than help to help. Reproducible: Always Steps to Reproduce: 1.crossdev -s4 -t mipsr5900el-unknown-linux-musl 2. 3. Actual Results: Please see attach build log. Expected Results: Built a MUSL cross compiler.
Created attachment 785990 [details] Failed Build Log
I've been looking further into this and this is now working on x86_64. I'll do further tests to see if the way I was originally running this was exposing a bug in crossdev but for now this won't cause anyone issue so can be closed.