Marc Alff

Results 158 comments of Marc Alff

Thanks @astitcher for the detailed problem description. Also discussed during the opentelemetry-cpp meeting today. The same issue was reported recently (#1409) and fixed (#1420) for some singletons present in the...

> ## Example 4: > > After learning from #1525 and https://gcc.gnu.org/onlinedocs/gcc/Microsoft-Windows-Variable-Attributes.html , I also test `__attribute__((selectany))` of gcc. Thanks @owent for the tests. For gcc on windows, could you...

My findings so far, about the position of the singleton variable ... ## static variable inside a function or method ``` class Foo { void bar() { static xxx singleton...

There are two separate issues to address here. For windows, the opentelemetry-cpp code does not support building a windows DLL (as far as I understand), so this needs to be...

The Bazel build fails with the following message: `2022-06-21T14:51:15.8227347Z ERROR: /home/runner/.cache/bazel/e6b8d6759295e14b76bc8cb98b604748/external/com_github_grpc_grpc/BUILD:964:16: Compiling src/core/lib/config/core_configuration.cc failed: (Exit 1): gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer '-std=c++0x' -MD...

Hi @lalitb I never used Bazel before, so I am really struggling with it. On a local build on a linux machine, I get: ``` [email protected]:opentelemetry-cpp> bazel build //... ERROR:...

gRPC 1.46.3 depends on: third_party/abseil-cpp (20211102.0) The gRPC contains uses of src/core/lib/channel/channel_args.h: decltype(ChannelArgTypeTraits::VTable())); using remove_cvref_t in abseil.

Resources: 1) Paper from Ulrich Drepper, see section 2.2 export control, page 17: https://akkadia.org/drepper/dsohowto.pdf 2) Gnu visibility doc https://gcc.gnu.org/wiki/Visibility

@lalitb , @esigo , @owent I added a singleton_test unit test, and makefiles for both CMake and Bazel. This test does not build properly on windows platforms, and I can...

> Do we need declare `do_something_in_c` as default visibility or `__declspec(dllexport)/__declspec(dllimport)` ? I find `component_c` is built as a shared library but export nothing. Good point, fixing this. Thanks