Created
July 25, 2017 14:38
-
-
Save webRat/af330f586e8c5bf5c6a0da06be0cc9aa to your computer and use it in GitHub Desktop.
Alpine `go build -race` issues
This file contains 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
api_1 | [00] # runtime/race | |
api_1 | [00] race_linux_amd64.syso: In function `__sanitizer::InternalAlloc(unsigned long, __sanitizer::SizeClassAllocatorLocalCache<__sanitizer::SizeClassAllocator32<0ul, 140737488355328ull, 0ul, __sanitizer::SizeClassMap<3ul, 4ul, 8ul, 17ul, 64ul, 14ul>, 20ul, __sanitizer::TwoLevelByteMap<32768ull, 4096ull, __sanitizer::NoOpMapUnmapCallback>, __sanitizer::NoOpMapUnmapCallback> >*, unsigned long)': | |
api_1 | [00] gotsan.cc:(.text+0x16e1): undefined reference to `__libc_malloc' | |
api_1 | [00] race_linux_amd64.syso: In function `__sanitizer::GetArgv()': | |
api_1 | [00] gotsan.cc:(.text+0x4543): undefined reference to `__libc_stack_end' | |
api_1 | [00] race_linux_amd64.syso: In function `__sanitizer::InternalRealloc(void*, unsigned long, __sanitizer::SizeClassAllocatorLocalCache<__sanitizer::SizeClassAllocator32<0ul, 140737488355328ull, 0ul, __sanitizer::SizeClassMap<3ul, 4ul, 8ul, 17ul, 64ul, 14ul>, 20ul, __sanitizer::TwoLevelByteMap<32768ull, 4096ull, __sanitizer::NoOpMapUnmapCallback>, __sanitizer::NoOpMapUnmapCallback> >*)': | |
api_1 | [00] gotsan.cc:(.text+0x7dd0): undefined reference to `__libc_realloc' | |
api_1 | [00] race_linux_amd64.syso: In function `__sanitizer::ReExec()': | |
api_1 | [00] gotsan.cc:(.text+0xed47): undefined reference to `__libc_stack_end' | |
api_1 | [00] race_linux_amd64.syso: In function `__sanitizer::InternalFree(void*, __sanitizer::SizeClassAllocatorLocalCache<__sanitizer::SizeClassAllocator32<0ul, 140737488355328ull, 0ul, __sanitizer::SizeClassMap<3ul, 4ul, 8ul, 17ul, 64ul, 14ul>, 20ul, __sanitizer::TwoLevelByteMap<32768ull, 4096ull, __sanitizer::NoOpMapUnmapCallback>, __sanitizer::NoOpMapUnmapCallback> >*)': | |
api_1 | [00] gotsan.cc:(.text+0x7438): undefined reference to `__libc_free' | |
api_1 | [00] collect2: error: ld returned 1 exit status | |
api_1 | [00] (error exit: exit status 2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment