What does "Symbol profile is provided by all of the following features:", and why is it an ERROR:?

297 views
Skip to first unread message

mien...@peloton-tech.com

unread,
Nov 3, 2017, 5:09:41 PM11/3/17
to bazel-discuss
bazel coverage --config=bullseye --compiler=gcc //tools/coverage/bullseye:crasher_test
WARNING: The lower priority option '--test_timeout=300,600,1200,3600' does not override the previous value '--test_timeout=120,600,1800,10800'
INFO: Using default value for --instrumentation_filter: "//tools/coverage/bullseye".
INFO: Override the above default with --instrumentation_filter
ERROR: /home/miennaco/.cache/bazel/_bazel_miennaco/af311f486463d9a61a3fdd9b3eb0bcd4/external/bazel_tools/tools/cpp/BUILD:12:1: in cc_library rule @bazel_tools//tools/cpp:stl: Symbol profile is provided by all of the following features: gcc_coverage_map_format bullseye
ERROR: Analysis of target '//tools/coverage/bullseye:crasher_test' failed; build aborted: Analysis of target '@bazel_tools//tools/cpp:stl' failed; build aborted
INFO: Elapsed time: 0.914s
FAILED: Build did NOT complete successfully (1 packages loaded)
ERROR: Couldn't start the build. Unable to run tests

This runs under a modified bazel.rc file that defines the build:bullseye and test:bullseye config.

I really have no clue how to proceed here.


Marcel Hlopko

unread,
Nov 14, 2017, 6:28:51 PM11/14/17
to mien...@peloton-tech.com, bazel-discuss
Howdy,
do you have custom crosstool? Can I see it? Also do you have any --feature=something options in your bazelrc? Finally, the target itself can define some features, does it in your case?


--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/45ad21ef-bcbb-409a-a76b-9056dcc87fe4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
-- 
Marcel Hlopko | Software Engineer | hlo...@google.com | 

Google Germany GmbH | Erika-Mann-Str. 33  | 80636 München | Germany | Geschäftsführer: Geschäftsführer: Paul Manicle, Halimah DeLaine Prado | Registergericht und -nummer: Hamburg, HRB 86891

Mark Iennaco

unread,
Nov 17, 2017, 2:28:16 PM11/17/17
to Marcel Hlopko, bazel-discuss
We have custom everything...

By custom crosstool do you mean a custom //tools/cpp/CROSSTOOL file, yes and it's large.
If you mean our targets, also yes, we are using clang and gcc, and building for both intel and arm architecture (arm both linux and embedded)
we have a number of "--features something" in our bazel.rc
  build --features use_libstdcxx
  build:asan --features asan
  build:msan --features -use_libstdcxx --features msan
  build:ubsan --features -use_libstdcxx --features ubsan

I'm reasonably certain that none of our targets define a feature.


On Tue, Nov 14, 2017 at 3:28 PM, Marcel Hlopko <hlo...@google.com> wrote:
Howdy,
do you have custom crosstool? Can I see it? Also do you have any --feature=something options in your bazelrc? Finally, the target itself can define some features, does it in your case?


On Fri, Nov 3, 2017 at 2:09 PM <mien...@peloton-tech.com> wrote:
bazel coverage --config=bullseye --compiler=gcc //tools/coverage/bullseye:crasher_test
WARNING: The lower priority option '--test_timeout=300,600,1200,3600' does not override the previous value '--test_timeout=120,600,1800,10800'
INFO: Using default value for --instrumentation_filter: "//tools/coverage/bullseye".
INFO: Override the above default with --instrumentation_filter
ERROR: /home/miennaco/.cache/bazel/_bazel_miennaco/af311f486463d9a61a3fdd9b3eb0bcd4/external/bazel_tools/tools/cpp/BUILD:12:1: in cc_library rule @bazel_tools//tools/cpp:stl: Symbol profile is provided by all of the following features: gcc_coverage_map_format bullseye
ERROR: Analysis of target '//tools/coverage/bullseye:crasher_test' failed; build aborted: Analysis of target '@bazel_tools//tools/cpp:stl' failed; build aborted
INFO: Elapsed time: 0.914s
FAILED: Build did NOT complete successfully (1 packages loaded)
ERROR: Couldn't start the build. Unable to run tests

This runs under a modified bazel.rc file that defines the build:bullseye and test:bullseye config.

I really have no clue how to proceed here.


--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discuss+unsubscribe@googlegroups.com.

Marcel Hlopko

unread,
Nov 21, 2017, 8:19:52 AM11/21/17
to Mark Iennaco, bazel-discuss
Austin told me you're using the same peloton toolchain he shared a few days ago? I don't see a feature named 'bullseye' anywhere in the archive, can you at least share the bit for this feature? I suspect that you use `provides: 'profile'` for 'bullseye' feature, and that conflicts with 'gcc_coverage_map_format' that bazel enabled by default for coverage. Doing a far reaching quess, just rename 'bullseye' to 'gcc_coverage_map_format' and run bazel clean --expunge. Worth a shot :)

To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
--
-- 
Marcel Hlopko | Software Engineer | hlo...@google.com | 

Google Germany GmbH | Erika-Mann-Str. 33  | 80636 München | GermanyGeschäftsführer: Geschäftsführer: Paul Manicle, Halimah DeLaine Prado | Registergericht und -nummer: Hamburg, HRB 86891

Mark Iennaco

unread,
Nov 21, 2017, 12:50:24 PM11/21/17
to Marcel Hlopko, bazel-discuss
bullseye is a feature I'm adding.

That sounds like it was the problem.

Since then we have removed the 'provides: 'profile'' from the feature, and we are using the --config=bullseye with bazel test rather than bazel coverage.

So we are probably ok on our side.

It would be nice if bazel was a little more friendly to third party instrumentation tools.



To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discuss+unsubscribe@googlegroups.com.
--
-- 
Marcel Hlopko | Software Engineer | hlo...@google.com | 

Google Germany GmbH | Erika-Mann-Str. 33  | 80636 München | GermanyGeschäftsführer: Geschäftsführer: Paul Manicle, Halimah DeLaine Prado | Registergericht und -nummer: Hamburg, HRB 86891

Marcel Hlopko

unread,
Nov 21, 2017, 1:04:03 PM11/21/17
to Mark Iennaco, bazel-discuss
Yeah, especially the documentation leaves a lot to be desired.

To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
--
-- 
Marcel Hlopko | Software Engineer | hlo...@google.com | 

Google Germany GmbH | Erika-Mann-Str. 33  | 80636 München | GermanyGeschäftsführer: Geschäftsführer: Paul Manicle, Halimah DeLaine Prado | Registergericht und -nummer: Hamburg, HRB 86891
--
-- 
Marcel Hlopko | Software Engineer | hlo...@google.com | 

Google Germany GmbH | Erika-Mann-Str. 33  | 80636 München | GermanyGeschäftsführer: Geschäftsführer: Paul Manicle, Halimah DeLaine Prado | Registergericht und -nummer: Hamburg, HRB 86891
Reply all
Reply to author
Forward
0 new messages