pdfium uses sysroot freetype |
|||
Issue descriptionI tried turning on a warning. It passed CQ but then broke 32-bit linux like so: https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Fchromium.linux%2FLinux_Builder__dbg__32_%2F65396%2F%2B%2Frecipes%2Fsteps%2Fcompile%2F0%2Fstdout In file included from ../../third_party/pdfium/core/fxge/fx_font.h:17: In file included from ../../third_party/pdfium/core/fxge/fx_freetype.h:11: In file included from ../../build/linux/debian_jessie_i386-sysroot/usr/include/freetype2/freetype.h:33: ../../build/linux/debian_jessie_i386-sysroot/usr/include/freetype2/config/ftconfig.h:453:5: error: 'register' storage class specifier is deprecated and incompatible with C++1z [-Werror,-Wdeprecated-register] register FT_Int32 result; ^~~~~~~~~ 1 error generated. Don't we ship our own freetype? Why does pdfium use the sysroot freetype? Also, it's a bug that freetype uses register. I don't know if that's fixed upstream already.
,
Mar 31 2017
There are probably other users of FreeType in Chromium somewhere, so even without PDFium, you would have hit this anyway.
,
Mar 31 2017
FWIW, I would not mind shipping our own. We would not be exposed to security issues in system FreeTypes older than 2.7.1. After 2.6.1, the fuzzing efforts in FreeType started and found a number of issues. Plus, if we have our own, we have variable font support on Linux, and we ship what we're testing in LayoutTests.
,
May 17 2017
With bug 274030 fixed, can we see if we are still hitting this problem?
,
Sep 18 2017
We should be using third_party/freetype. Reopen if this is still an issue. |
|||
►
Sign in to add a comment |
|||
Comment 1 by thestig@chromium.org
, Mar 31 2017