--
You received this message because you are subscribed to the Google Groups "Chromium Embedders" group.
To unsubscribe from this group and stop receiving emails from it, send an email to embedder-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/embedder-dev/CAHtyhaQMu4%2B6YwJfeEUa%3Dtap%2BGQr0Y%2B2xgoV3o6UyMQGfyeKVw%40mail.gmail.com.
We build using libstdc++ for Silk. We're in the process of moving to libc++ but that's probably a year away for us.I do think there is some value in allowing some level of support for libstdc++ though. Our build ran into https://issues.chromium.org/issues/341812566 which did not seem to have been caught by any of the standard build configurations.
--
--
-----
secu...@chromium.org is for discussing vulnerabilities and fixes in Chromium code.
Please protect Chromium users: DO NOT FORWARD this email or disclose its contents to third parties.
http://groups.google.com/a/chromium.org/group/security
To unsubscribe from this group and stop receiving emails from it, send an email to security+u...@chromium.org.
Hi,The wording in the proposal is a bit misleading: it proposal specifically mentions libstdc++, but we can also (and we do here, for obvious binary size reasons) use libc++ linked dynamically.However, use_custom_libcxx is also used to enforce static linking of //buildtools/third_party/libc++Will there still be an option to link with an external libc++ ?
On Friday, October 11, 2024 at 4:15:17 PM UTC+2 danakj wrote:Hi Embedders,I have a proposal to always depend on libc++ in Chromium. This only affects Linux, where we currently allow using libstdc++ when linking Chromium.The choice of libstdc++ has a large security impact on Chromium, as we depend on the implementation details of libc++, and it will also restrict language interop in the future.The GCC build will continue to be supported as it is today.Design doc is here: https://docs.google.com/document/d/193ig0qeM23rK1yH6bW14O3zIgVztyKaY4R1XRwgmUFk/edit?usp=sharingI'd welcome any feedback.Thanks,Dana
--
You received this message because you are subscribed to the Google Groups "Chromium Embedders" group.
To unsubscribe from this group and stop receiving emails from it, send an email to embedder-dev...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/embedder-dev/f22e509d-0630-45a7-b9f2-0aec33656cecn%40chromium.org.
On Thu, Nov 7, 2024 at 11:08 AM 'Gabriel FORTE' via Chromium Embedders <embedd...@chromium.org> wrote:Hi,The wording in the proposal is a bit misleading: it proposal specifically mentions libstdc++, but we can also (and we do here, for obvious binary size reasons) use libc++ linked dynamically.However, use_custom_libcxx is also used to enforce static linking of //buildtools/third_party/libc++Will there still be an option to link with an external libc++ ?We also use use_custom_libcxx=true on Windows to link //base against MSVC libc++ (example). Hopefully that option won't be going away.
On Thu, Nov 7, 2024 at 11:48 AM Marshall Greenblatt <magree...@gmail.com> wrote:On Thu, Nov 7, 2024 at 11:08 AM 'Gabriel FORTE' via Chromium Embedders <embedd...@chromium.org> wrote:Hi,The wording in the proposal is a bit misleading: it proposal specifically mentions libstdc++, but we can also (and we do here, for obvious binary size reasons) use libc++ linked dynamically.However, use_custom_libcxx is also used to enforce static linking of //buildtools/third_party/libc++Will there still be an option to link with an external libc++ ?
We also use use_custom_libcxx=true on Windows to link //base against MSVC libc++ (example). Hopefully that option won't be going away.That should say use_custom_libcxx=false
--On Friday, October 11, 2024 at 4:15:17 PM UTC+2 danakj wrote:Hi Embedders,I have a proposal to always depend on libc++ in Chromium. This only affects Linux, where we currently allow using libstdc++ when linking Chromium.The choice of libstdc++ has a large security impact on Chromium, as we depend on the implementation details of libc++, and it will also restrict language interop in the future.The GCC build will continue to be supported as it is today.Design doc is here: https://docs.google.com/document/d/193ig0qeM23rK1yH6bW14O3zIgVztyKaY4R1XRwgmUFk/edit?usp=sharingI'd welcome any feedback.Thanks,Dana
You received this message because you are subscribed to the Google Groups "Chromium Embedders" group.
To unsubscribe from this group and stop receiving emails from it, send an email to embedder-dev...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/embedder-dev/f22e509d-0630-45a7-b9f2-0aec33656cecn%40chromium.org.
--
--
-----
secu...@chromium.org is for discussing vulnerabilities and fixes in Chromium code.
Please protect Chromium users: DO NOT FORWARD this email or disclose its contents to third parties.
http://groups.google.com/a/chromium.org/group/security
To unsubscribe from this group and stop receiving emails from it, send an email to security+u...@chromium.org.
On Thu, Nov 7, 2024 at 11:51 AM Marshall Greenblatt <magree...@gmail.com> wrote:On Thu, Nov 7, 2024 at 11:48 AM Marshall Greenblatt <magree...@gmail.com> wrote:On Thu, Nov 7, 2024 at 11:08 AM 'Gabriel FORTE' via Chromium Embedders <embedd...@chromium.org> wrote:Hi,The wording in the proposal is a bit misleading: it proposal specifically mentions libstdc++, but we can also (and we do here, for obvious binary size reasons) use libc++ linked dynamically.However, use_custom_libcxx is also used to enforce static linking of //buildtools/third_party/libc++Will there still be an option to link with an external libc++ ?This is a good question. As long as the library is compiled with the same flags as Chromium uses (which would be required anyway for ABI correctness), it should not be an issue.We also use use_custom_libcxx=true on Windows to link //base against MSVC libc++ (example). Hopefully that option won't be going away.That should say use_custom_libcxx=falseFor the reasons described in the document, including that Chromium is going to fail to compile in the future with MSVC stdlib (similar reasons as with libstdc++), support for libraries other than libc++ is going away.
------On Friday, October 11, 2024 at 4:15:17 PM UTC+2 danakj wrote:Hi Embedders,I have a proposal to always depend on libc++ in Chromium. This only affects Linux, where we currently allow using libstdc++ when linking Chromium.The choice of libstdc++ has a large security impact on Chromium, as we depend on the implementation details of libc++, and it will also restrict language interop in the future.The GCC build will continue to be supported as it is today.Design doc is here: https://docs.google.com/document/d/193ig0qeM23rK1yH6bW14O3zIgVztyKaY4R1XRwgmUFk/edit?usp=sharingI'd welcome any feedback.Thanks,Dana
You received this message because you are subscribed to the Google Groups "Chromium Embedders" group.
To unsubscribe from this group and stop receiving emails from it, send an email to embedder-dev...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/embedder-dev/f22e509d-0630-45a7-b9f2-0aec33656cecn%40chromium.org.
--
-----
secu...@chromium.org is for discussing vulnerabilities and fixes in Chromium code.
Please protect Chromium users: DO NOT FORWARD this email or disclose its contents to third parties.
http://groups.google.com/a/chromium.org/group/security
To unsubscribe from this group and stop receiving emails from it, send an email to security+u...@chromium.org.
You received this message because you are subscribed to the Google Groups "Chromium Embedders" group.
To unsubscribe from this group and stop receiving emails from it, send an email to embedder-dev...@chromium.org.