-
Notifications
You must be signed in to change notification settings - Fork 786
Fix build issues when compiling WAMRC as a cross-compiler #4112
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
lum1n0us
merged 5 commits into
bytecodealliance:main
from
peter-tatrai:wamrc-cross-compiler
Mar 20, 2025
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
30073ff
Use CMAKE_INSTALL_BINDIR for wamrc installation
peter-tatrai d1eb64a
Fix wamrc build failure for 32bit non-x86 targets
peter-tatrai b644e8c
Handle PIC flags by cmake in wamrc
peter-tatrai 06bc571
Use dummy AOT reloc functions when building wamrc
peter-tatrai c97e1ac
Add option to turn off SIMD support in wamrc
peter-tatrai 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| /* | ||
| * Copyright (C) 2020 Intel Corporation. All rights reserved. | ||
| * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | ||
| */ | ||
|
|
||
| #include "aot_reloc.h" | ||
|
|
||
| SymbolMap * | ||
| get_target_symbol_map(uint32 *sym_num) | ||
| { | ||
| abort(); | ||
| } | ||
|
|
||
| uint32 | ||
| get_plt_table_size(void) | ||
| { | ||
| abort(); | ||
| } | ||
|
|
||
| void | ||
| init_plt_table(uint8 *plt) | ||
| { | ||
| abort(); | ||
| } | ||
|
|
||
| void | ||
| get_current_target(char *target_buf, uint32 target_buf_size) | ||
| { | ||
| abort(); | ||
| } | ||
|
|
||
| bool | ||
| apply_relocation(AOTModule *module, uint8 *target_section_addr, | ||
| uint32 target_section_size, uint64 reloc_offset, | ||
| int64 reloc_addend, uint32 reloc_type, void *symbol_addr, | ||
| int32 symbol_index, char *error_buf, uint32 error_buf_size) | ||
| { | ||
| abort(); | ||
| } |
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.