-
Notifications
You must be signed in to change notification settings - Fork 136
Source-build should support CBL Mariner #3654
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Forced the runtime build to go through (had to add |
next problem repo is aspnetcore, which doesn't surprise me |
You're absolutely right, @omajid. Those are definitely related asks, and ought to be resolved in part or in whole as part of this effort. |
Heck, I can't reproduce runtime being buildable. The two changes noted above are insufficient. |
OK, I got things going vs. this morning. I had to modify ONE file, src/runtime/eng/native/build-commons.sh, to force portable build (I struggled to get that passed in via environment or repo-projects/runtime.proj
Will switch to 8.0 branch and try to make progress with aspnet. |
aspnetcore passes on the Installer fails. |
Made installer do something, and thus, the build finish building. Complete patch, with the above docker invocation, is:
Needs cleaning up, but for the most part, this was less invasive to make work than I feared. |
The model used by CBL Mariner (the distro we use to build all official builds) is a minimal OS providing a compiler and tools, combined with a sysroot folder containing libraries and headers to compile/link against. This lets us use a consistent compiler, toolchain, etc, regardless of the target architecture or distribution, and easily use a compiler version which is newer than the old version bundled with the old distros we link against (for older glibc compatibility).
Right now, the VMR fails to build on mariner for two reasons:
ROOTFS_DIR
environment variable)ld
linker (only LLVMlld
is provided, and it must be opted in for every repo by passing-fuse-ld=lld
to the linker flags)Right now, attempting to build with Mariner fails as follows:
We also need to either check whether we need to be building the subsets we currently build, OR add the needed files to the sysroot folder, to ensure every expected lib/header is available (e.g. GSS.h isn't in our images)
The text was updated successfully, but these errors were encountered: