Date: Mon, 18 Feb 2019 15:58:21 +0000 From: bugzilla-noreply@freebsd.org To: gecko@FreeBSD.org Subject: [Bug 235063] devel/rust-cbindgen: fix build on tier2 arches Message-ID: <bug-235063-21738-RZ3JHc4MT2@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-235063-21738@https.bugs.freebsd.org/bugzilla/> References: <bug-235063-21738@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235063 Tobias Kortkamp <tobik@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open --- Comment #10 from Tobias Kortkamp <tobik@freebsd.org> --- cargo.mk currently uses ${CC} as selected by the user for the linker. It should be easy to overwrite it on powerpc64 and set it to either gcc8 explicitly or just not pass -C linker to rustc if the user has not overwritten CC or something. As for the libc patches, upstreaming them is the only good way to deal with it. Adding the same patches 30 times (or whatever the current number of Rust ports is) is a bad idea. I see that the some (or all?) of the needed patches are already upstream [1]. Let's hope they release a new libc crate version soon, then we can proceed as Jan has suggested in comment #1. [1] https://github.com/rust-lang/libc/blob/master/src/unix/bsd/freebsdlike/free= bsd --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-235063-21738-RZ3JHc4MT2>