--
You received this message because you are subscribed to the Google Groups "cxx" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cxx+uns...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/cxx/CAAZdMad_inkTD-T4kiTNUFcMCc8kbiqpfcxyXWSfOXYPWtxnoQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/cxx/CAAZdMae2yOm2OWmR-hRYVCZ292kTs%3D%3DASSwdsvHw43CmaToPLw%40mail.gmail.com.
Hello,absl doesn't yet have a component build mode, and for that reason can be used by only one target at the moment. That target is absl. From what I understand, the absl folks are working on adding such a mode, but it's not done yet. Using absl in more targets than webrtc is blocked on that work being completed.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/cxx/CA%2Bt28XB_4%3D_%3DUZQMCOWkRPaW%2BRWteAjz5FSs2_m31-s2uPVGZA%40mail.gmail.com.
Is there a bug or so to follow here? Could we just build //third_party/abseil without -fvisibility=hidden (i.e. blindly treat every symbol as exported)? I guess that probably wouldn't work for Windows since it has the dllimport and dllexport things to worry about.
On Tue, Jan 28, 2020 at 5:19 PM David Benjamin <davi...@chromium.org> wrote:Is there a bug or so to follow here? Could we just build //third_party/abseil without -fvisibility=hidden (i.e. blindly treat every symbol as exported)? I guess that probably wouldn't work for Windows since it has the dllimport and dllexport things to worry about.No, there is no bug yet. I will create one soon.We can remove -fvisibility=default (https://cs.chromium.org/chromium/src/build/config/gcc/BUILD.gn?l=23-41&rcl=65a5774db4cfcbb3c5ce25f67d6dea6bdf3d0969) and it may be interesting to try but as you say, I am not sure it will work for Windows. Before doing that, I have to create an abseil component, at the moment the GN targets are mirroring the Bazel ones and are all source_sets.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/cxx/CA%2Bt28XDa-Q2BPyp%3D7_dqN5h8Q9xWLazUC%2B0NavZ1PnAPOrqH-A%40mail.gmail.com.
Also, what about safety checks in Abseil? (E.g. bounds-checking operator[] and so on.)