Closed ydirson closed 13 hours ago
there is also a problem with the BINDGEN_EXTRA_CLANG_ARGS_*
for other targets, will have to identify those.
Specifically, I think targets returned by grep -L "ENV CROSS_SYSROOT=/usr/local/" --include='Dockerfile.*' -r ./docker
need to be checked
edit: cc #1389
fixed with #1403
Checklist
Describe your issue
headers are installed in
$SYSROOT/include
, when the compiler wants then in$SYSROOT/usr/include
(and the same happens forlib
).If we passthrough
BINDGEN_EXTRA_CLANG_ARGS_x86_64_unknown_freebsd="--sysroot=/usr/local/x86_64-unknown-freebsd12 -v"
we can see things like:Workaround: start the pre-build hook with
What target(s) are you cross-compiling for?
x86_64-unknown-freebsd
Which operating system is the host (e.g computer cross is on) running?
What architecture is the host?
What container engine is cross using?
cross version
cross 0.2.5 (44011c8 2023-10-23) [note: that's master not 0.2.5]
Example
No response
Additional information / notes
No response