--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
In this specific situation, wouldn't this fail at runtime though? Or do we do store the sysroot path in the binary for so search paths? (I forgot the name of that rpath option....)
-Christian
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.
Thanks,Dominik
Hi Sam, Albert,
I took another closer look at the problem and how the sysroot images
are generated.
I would propose the following steps to find a compromise here that
allows us to land our change without #ifdefs in our code:
1) Land Sam's change sysroot default on for chromeos=1 build
https://codereview.chromium.org/1585463002
2) Then update wheezy sysroot images to contain harfbuzz 0.9.36, which
is the wheezy version, or pin them to 1.0.1 from unstable. An example
CL on how to update the sysroot can be found here:
https://bugs.chromium.org/p/chromium/issues/detail?id=576807
When the linux=1 && chromeos=1 buid uses the sysroot by default, this
will fix our linkage issues against versions of HarfBuzz before
0.9.28.
Still, chromeos=1 buils on Linux hosts with an old HarfBuzz version
such as 0.9.36 in the sysroot will face expose a set of layout and
text bugs, which do not occur on ChromeOS as the HarfBuzz version
there is not as out-of-date. However, this may be acceptable for a
developer-only build. These regressions could be partially mitigated
by pinning to the latest version from unstable (1.0.1), plus pinging
the Debian maintainer of libharfbuzz package to roll a new release
reflecting an even newer the upstream version 1.2.3. In fact, latest
HarfBuzz 1.2.3 is needed for correct font fallback behavior and
showing Sinhala, and Devanagari script languages correctly and is
practically the only reference version for correct layout and text.
Sam, if you could do 1) and help with uploading new wheezy sysroot
images as part of 2), I am happy to prepare a CL adding HarfBuzz to
the wheezy sysroot. WDYT?
I hope we can resolve the issue for now, until the next ABI break at least.
Theoretical alternatives to this approach:
* Define a new sysroot type to be used only for the chromeos=1 Linux
build type which has a custom .deb of HarfBuzz intergrated. This .deb
would either have to a) be built locally from third_party/harfbuzz-ng
or b) coming from the debian package repository. a) would require a
lot of build scripts work and adding debian/rules files to HarfBuzz
upstream, b) would require a roundtrip via the Debian maintainer to
get update versions each time. Overall, this seems overkill for fixing
the linkage issue - given that for local development perhaps
Dominik