Affects Version/s: Dab
Fix Version/s: None
Component/s: Build and Tools
We face a problem when we build chromium with AGL master branch provided binutils.
Apparently, the problem has started to appear since binutils version was bumped to 2.27, which introduced the R_AARCH64_LD64_GOTPAGE_LO15 got-relative instruction relocation and the R_AARCH64_ABS32 data relocation.
We use TARGET_CFLAGS and TARGET_CXXFLAGS, but instead of -O2 and -fpie flags -Os and -fPIE are used, which resolves the linking problem. This is not an ideal solution as long as it leads to a decreased performance. In order to reproduce the issue, comment out lines 115, 116 and 119, 120 from https://github.com/Igalia/meta-browser/blob/ozone/wayland/20170606/recipes-browser/chromium/chromium-browser-gn.inc#L115.
Would you please take a closer look to the issue and resolve it as soon as possible? I suppose some upstream patches could be backported, which would resolve the issue.