-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Dab
-
AGL master branch, bundled binutils 2.27 (aarch64-agl-linux-g++ and ld.gold.), chromium m60 - [https://github.com/Igalia/meta-browser|https://github.com/Igalia/meta-browser,]
hw - m3ulcb
Hi,
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.
Regards,
Maksim