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

"-Wl,-x", "-s" flags on OS X (Yosemite) using Clang #1

Open
JasherIO opened this issue Jun 16, 2015 · 0 comments
Open

"-Wl,-x", "-s" flags on OS X (Yosemite) using Clang #1

JasherIO opened this issue Jun 16, 2015 · 0 comments

Comments

@JasherIO
Copy link

While trying to build Google Test on OS X, using http://jimgarrison.org/techblog/googletest-premake4.html, I ran into "ld: internal error: atom not found in symbolIndex ..." error. As seen before in http://industriousone.com/topic/how-remove-flags-ldflags, removal of the flags in the makefiles fixes the issue. gcc.lua has been updated since the last issue, but it seems to be an issue with Yosemite. I commented out lines 140-146 ("if not cfg.flags.Symbols then" ...) in gcc.lua, but I'm sure a more elegant solution would check for the OS version. After commenting those lines out, everything has worked.

OS:
System Version: OS X 10.10.3 (14D136)
Kernel Version: Darwin 14.3.0

Clang:
Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.3.0
Thread model: posix

Thanks for your hard work! I really enjoy using Premake.

xriss pushed a commit to xriss/puremake that referenced this issue Mar 4, 2020
Visual Studio 2015 support
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

No branches or pull requests

1 participant