Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-658

Relocation overflow using binutils 2.27

XMLWordPrintable

      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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            ronan ronan Le Martret
            msisov Maksim Sisov
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: