microsoft / microsoft/mimalloc
build 2.0.6 error with llvm-mingw x86 clang
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 13.4k
- Forks
- 1.2k
- Avg merge
- 4d 45m
- Merged PRs (30d)
- 13
Description
src/os.c:365:44: warning: missing field 'AllocationProtect' initializer [-Wmissing-field-initializers]
MEMORY_BASIC_INFORMATION info = { 0, 0 };
^
mimalloc/src/os.c:367:88: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
if (info.AllocationBase < addr && ((uint8_t*)addr - (uint8_t*)info.AllocationBase) < (1UL<<( 7 + (13 + (2))))) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
init.s:2275:17: error: unexpected token in directive
.section .text$_mi_fls_done@4,"xr",one_only,_mi_fls_done@4
^
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the mimalloc 2.0.6 build with llvm-mingw x86 clang and inspect init.s around line 2275, where the assembler reports the unexpected section directive. Also review the warnings in src/os.c; done means the build completes successfully with this toolchain.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- build-system, compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100