[PATCH] D56553: [WebAssembly] Change the default lib path for wasm32 to be lib32

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 13 17:55:05 PST 2019


sbc100 added a comment.

My understanding is that names like "lib32" and "lib64", at least for x86/amd64 are the old fashioned (legact) way of doing multi-arch.     I things a better approach it to either provide and single-arch sysroot (where /usr/lib contains what you want) or a multi-arch setup (where you would use something like /usr/lib/x86_64-linux-gnu/).   Since other parts of a sysroot need to be arch specific I suggest we stick with the former option and assume a separate sysroot for each architecture and sub-architecture.

So, while I don't support this change, I would support something like adding "/lib/wasm32-unknown-unknown" before "/lib" in the default library path.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D56553/new/

https://reviews.llvm.org/D56553





More information about the llvm-commits mailing list