Now that -m32 is fixed, just install libs in ${WORLDTMP}/lib/lib32
and use the installed headers.
Obtained from: CheriBSD
Differential D34697
libcompat: Use WORLDTMP sysroot brooks on Mar 28 2022, 6:45 PM. Authored by Tags None Referenced Files
Subscribers
Details
Now that -m32 is fixed, just install libs in ${WORLDTMP}/lib/lib32 Obtained from: CheriBSD
Diff Detail
Event TimelineComment Actions Adding powerpc as this effect powerpc64 and I can't test it (the comments about -m32 are only about amd64, powerpc64 builds without additional changes) Comment Actions All the prerequisites for this change have now landed. We'd like to get this in to reduce diffs to CheriBSD before we add support for multiple libcompat ARCHs in the same buildworld. Comment Actions I like this simplification. Comment Actions Brooks followed up in email to this commit with the following that seems useful to preserve here. A better reference would have been a good idea, but listing them all git log --grep -m32 a09ea2bbc3053d3b2afdb2f7444e5e57a96bb891~..HEAD Comment Actions I'll note that arm64 has historically made a little non-lib32 use of -m32. As of a commit back in 2018-Jun-27 share/mk/src.opts.mk has: # aarch64 needs arm for -m32 support. .elif ${__T} == "aarch64" && ${__llt:Marm*} != "" __DEFAULT_DEPENDENT_OPTIONS+= LLVM_TARGET_ARM/LLVM_TARGET_AARCH64 The commit was described via: QUOTE Comment Actions Is that for aarch64 ending up with armv7 (or AArch32) lib32 support? If yes, any notes about what the troubles would be? |