Skip to content
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

DIFF to show RISCV changes #1

Draft
wants to merge 17 commits into
base: master
Choose a base branch
from

Conversation

saatze-qm
Copy link
Collaborator

PR only to show diff

Anton Saatze added 17 commits November 3, 2023 11:04
…./konan/dependencies/riscv64-lp64d--glibc--stable-2021.11-1
…ion -> clangFrontend for arm64 build worked
… command: python3 package.py --branch stable/20230725. Zip created folder and put in ~/.konan/dependencies/cache.

Update DependencyDownloader to not crash when loading local file.
…with the kotlin native compiler is executed
…h. targetToolchain/usr/bin does not exist on my machine -> Why is that path set like that? Also libClangSpecificArgs are created with -isystem param with path that does not exist.
cannot find 'createThreadSanitizerLegacyPassPass' method -> Uncommented
new llvm version uses new gcc -> std::optional.hasValue() -> std::optional.has_value()
new llvm version uses new gcc -> getNullability does not take Parameter anymore
new llvm version deprecates None -> None replaced by std::nullopt
Replaced int64_t vector with uint664_t vector, because cast of elements was not possible
Cast tag in Logging.hpp for RuntimeFail. (Auto cast was not possible anymore?)
new llvm version uses new gcc -> Warning: definition of implicit copy constructor is deprecated (see stackoverflow)
Manually include optional in ThreadSuspension.cpp (dont know which include should have done this earlier)
manually change clangstubs.c
adjust clangstubs.c code generation in MappingBridgeGeneratorImpl (not tested if that works)
Remove usage of LLVMAddInstrProfPass since it makes use of deprecated llvm functionality
-> LLVMAddInstrProfPass makes use of createInstrProfilingLegacyPass which is deprecated and was removed in new llvm version.
cast SmallVector<StringRef, 16> to ArrayRef<std::string> in CoverageMappingC and replace deprecated makeArrayRef calls with ArrayRef constructor
ignore ZSTD llvm symbols
include all llvm libs as ld flag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant