-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Build on CBL-mariner host with rootfs #84148
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
Merged
Merged
Changes from 20 commits
Commits
Show all changes
88 commits
Select commit
Hold shift + click to select a range
8735c94
Enable x64 Alpine crossbuild
janvorli 0084966
Set PKG_CONFIG_SYSROOT_DIR
sbomer bb39763
More build fixes
sbomer a5f2dbd
test
sbomer db7bf3e
Print full clang command to show selected linker
sbomer 597a304
Build scripts
sbomer 3e5a366
Fix x64 -> x64 musl cross-build
sbomer 4c369f3
Enable thumb-2 in mono build
sbomer 612c686
Allow cross compiling for x86
sbomer a9fd083
Enable x86 build with lld
sbomer d0a1560
Fix x86 mono cross-build
sbomer 2abee9b
Some cleanup
sbomer 54dc641
Add gcc-toolchain arg when aot-ing crossgen
sbomer 2da99a9
Merge remote-tracking branch 'origin/main' into marinerTest
sbomer 825a1d9
Fix AOT compilation of ILCompiler and crossgen2
sbomer c7468f6
Only pass --gcc-toolchain where required
sbomer ae6c6ab
Cleanup
sbomer 3d70352
Fix symbol stripping on ci builds
sbomer 2f12a9a
Fix nativeaot test build
sbomer f6bd3e5
Pick up mariner images, set cross-build arguments
sbomer e9f17fb
Don't use lld on macos
sbomer 26621ab
Update src/coreclr/pgosupport.cmake
sbomer 39ca0c0
Don't pass clang9
sbomer 220094a
Fix osx linker in tests too
sbomer d4f71e9
Define separate platform for GCC build
sbomer d85c7d6
Disable PGO for linux x64 and musl-x64
sbomer 1b3afcb
Build cross tools for x64 and musl-x64
sbomer 938cdf1
Pass crossArg to mono build
sbomer 749ee9c
Pass cross arg in build-test-job.yml
sbomer 6cb0b8e
Fix typo
sbomer 96243bd
Pass through no-PGO arg in global-build-job.yml
sbomer b84beba
Remove pgoType from job name
sbomer c9137b3
Pass noPgo arg to native prereqs step
sbomer d0d3312
Fix crossArg not defined for NativeAOT test build
sbomer ed0c013
Pass crossBuild through build-test-job.yml
sbomer 2367f3f
Set linker flavor, sysroot in nativeaot library tests
sbomer a51dbde
Use git diff for AsnXml
sbomer 76c434f
Merge remote-tracking branch 'origin/main' into marinerBuild
sbomer c30a214
Pass crossBuild through mono's xplat-pipeline-job.yml
sbomer dd59301
Move crossArg after runtime build params
sbomer c4c5fa7
Disable PGO from MSBuild instead
sbomer 8a19475
Fix empty container
sbomer 8c41d41
Pass crossArg to mono Build packages step
sbomer a8cc38d
Fix gcc container definition
sbomer 9aa3527
Use init-compiler.sh for mono cross build
sbomer cd1f16a
Condition linker selection based on compiler
sbomer 143552e
Fix publish condition
sbomer 04e6182
Pass compilerArg to managed component build
sbomer 47246a3
Use command -v instead of which
sbomer 7ecd081
Use crossArg instead of _crossBuildPropertyArg
sbomer 405fbae
Set mono toolchain for aot build
sbomer c1da152
Adjust DwarfDump baseline, show expected AOT size
sbomer 9cd348b
Don't use new images for Mono LLVMAot test build
sbomer d6b0649
Build cross tools when BuildArch != TargetArch
sbomer 8e12626
Fix typo
sbomer ecd4081
Don't set crossBuild for mono llvmaot
sbomer 028a889
Fix ILCompiler, crossgen invocation for windows
sbomer 7fc39d3
Add PGO instrumentation legs
sbomer 6aa9f0a
Run source-build legs
sbomer 667921b
Pick up arm images
sbomer cf0ffef
Fix indentation
sbomer 6c0b026
Undo job name change
sbomer fc9c302
Add linux arm64 libraries build
sbomer a5e22a0
Don't run AOT'd crossgen that targets musl
sbomer 09f6889
Fix crossgen-corelib logic
sbomer d23534a
Freeze image versions
sbomer 609f19b
Use existing images for mono arm64 build
sbomer bedfad7
Don't trigger source-build
sbomer c708244
Merge remote-tracking branch 'origin/main' into marinerBuild
sbomer 02ec629
Update dwarfdump, size baseline
sbomer e130eb5
Fix yaml mistakes
sbomer 0fcef90
Update src/tests/nativeaot/SmokeTests/HardwareIntrinsics/X64Baseline.…
sbomer f1ea8ad
PR feedback
sbomer 04571e5
Fix arm image tags
sbomer 45bb34d
Update src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.…
sbomer ee57442
Merge remote-tracking branch 'origin/main' into marinerBuild
sbomer d80a584
Revert "Write linker script for lld to enable gc-sections (#84493)"
sbomer ddcd261
Update image tags
sbomer 812d284
Revert "Use git diff for AsnXml"
sbomer e25b5c9
Fix nativeaot libraries test build
sbomer 0fe6ac6
Remove temporary PGO instrumentation legs
sbomer 8406c40
Fix musl_arm tag
sbomer 97a9faf
Remove left-over leg
sbomer bfad4ea
Merge remote-tracking branch 'origin/main' into marinerBuild
sbomer 018e961
Merge remote-tracking branch 'origin/main' into marinerBuild
sbomer 1e2e056
PR feedback
sbomer ba6001c
Update src/mono/mono.proj
sbomer 92d1f22
Fix condition for mono aot flags
sbomer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sbomer marked this conversation as resolved.
Show resolved
Hide resolved
sbomer marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -109,6 +109,10 @@ if(CLR_CMAKE_HOST_UNIX) | |
endif() | ||
endif() | ||
|
||
if(CLR_CMAKE_TARGET_LINUX AND CLR_CMAKE_TARGET_ARCH_I386) | ||
add_linker_flag(-Wl,-z,notext) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix taken from #83682 which was hitting the same issue (getting warnings due to text relocations). |
||
endif() | ||
|
||
if(NOT CLR_CMAKE_HOST_MACCATALYST AND NOT CLR_CMAKE_HOST_IOS AND NOT CLR_CMAKE_HOST_TVOS) | ||
add_subdirectory(pal) | ||
add_subdirectory(hosts) | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sbomer marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.