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

bazel warnings on mac #5145

Closed
RussTedrake opened this issue Feb 12, 2017 · 2 comments
Closed

bazel warnings on mac #5145

RussTedrake opened this issue Feb 12, 2017 · 2 comments
Assignees
Labels

Comments

@RussTedrake
Copy link
Contributor

fyi — building master w/ bazel on mac, I get spammed with e.g.

INFO: From Linking drake/systems/framework/libleaf_system.pic.a:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: bazel-out/osx-opt/bin/drake/systems/framework/_objs/leaf_system/drake/systems/framework/leaf_system.pic.o has no symbols
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning for library: bazel-out/osx-opt/bin/drake/systems/framework/libleaf_system.pic.a the table of contents is empty (no object file members in the library define global symbols)
INFO: From Linking drake/systems/framework/libleaf_system.a:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: bazel-out/osx-opt/bin/drake/systems/framework/_objs/leaf_system/drake/systems/framework/leaf_system.o has no symbols
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning for library: bazel-out/osx-opt/bin/drake/systems/framework/libleaf_system.a the table of contents is empty (no object file members in the library define global symbols)
@david-german-tri
Copy link
Contributor

Yeah, I've noticed this too, on all our header-only targets. Thanks for opening an issue. There's probably a linker flag we can specify in CROSSTOOL to silence it.

@david-german-tri
Copy link
Contributor

Closing as duplicate of #5183, which has some additional detail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants