I'm investigating ways to split code out of libchrome.so/libmonochrome.so on Android. In some ways, this is similar to the component build, so I've been looking at exactly how that works.
Every component .so is linked against the components on which it depends, but also, a fixed set of additional libraries. Some of these are static, including:
- unwind
- c++abi
- gcc
In theory, doesn't this risk C++ ODR (one definition rule) violations? I'm wondering if the component build's approach here isn't correct, but is deemed acceptable since it's not used in production. Ie, it's easier to include the libs in all components than to overcome the linking issues that arise from including those libraries in only one component.
torne@ took a look, and we're hoping a toolchain expert can weigh in...
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/edbea6be-2a06-4c58-8cdb-6c68cbe2672e%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAMGbLiEYi%2BGMDzTsSt42jhgHrYQyu_LxMBA5NfUkgpmkfygYEQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CA%2ByH71dwqohZ%2BoCv%2BvixuFfGJzjYg4XYReXMPCzpR%2BgSE6xNuw%40mail.gmail.com.
torne@ took a look, and we're hoping a toolchain expert can weigh in...
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.