Details

    • Type: Bug
    • Status: In Progress
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: Dab
    • Fix Version/s: None
    • Component/s: Build and Tools
    • Labels:
    • Environment:

      AGL master branch, bundled binutils 2.27 (aarch64-agl-linux-g++ and ld.gold.), chromium m60 - https://github.com/Igalia/meta-browser

      hw - m3ulcb

      Description

      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

        Attachments

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

          Activity

            People

            • Assignee:
              jsmoeller Jan-Simon Moeller
              Reporter:
              msisov Maksim Sisov
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated: