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

macOS clang compilation failed when linking. #2165

Closed
LittleFall opened this issue Jun 16, 2021 · 1 comment · Fixed by #2166
Closed

macOS clang compilation failed when linking. #2165

LittleFall opened this issue Jun 16, 2021 · 1 comment · Fixed by #2166
Assignees
Labels
severity/moderate type/bug The issue is confirmed as a bug.

Comments

@LittleFall
Copy link
Contributor

I deleted all cmake cache and reproduced again.

[100%] Linking CXX executable tiflash
Undefined symbols for architecture x86_64:
  "_inside_main", referenced from:
      DateLUTImpl::DateLUTImpl(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in libcommond.a(DateLUTImpl.cpp.o)
ld: symbol(s) not found for architecture x86_64
$ clang -v
Apple clang version 12.0.0 (clang-1200.0.32.29)
Target: x86_64-apple-darwin20.3.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

maybe related to #2143

@solotzg
Copy link
Contributor

solotzg commented Jun 16, 2021

Same error in Apple clang version 11.0.0 (clang-1100.0.33.17).

@lilinghai lilinghai added severity/moderate type/bug The issue is confirmed as a bug. labels Jun 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity/moderate type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants