Bug 1460420 - error building arm-trusted-firmware on F-26 aarch64
Summary: error building arm-trusted-firmware on F-26 aarch64
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: binutils
Version: 26
Hardware: aarch64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nick Clifton
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ARMTracker
TreeView+ depends on / blocked
 
Reported: 2017-06-10 08:36 UTC by Peter Robinson
Modified: 2017-10-17 16:47 UTC (History)
3 users (show)

Fixed In Version: binutils-2.27-24.fc26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-15 03:02:07 UTC


Attachments (Terms of Use)
full build log from scratch build (9.84 KB, text/plain)
2017-06-10 08:36 UTC, Peter Robinson
no flags Details

Description Peter Robinson 2017-06-10 08:36:30 UTC
Created attachment 1286595 [details]
full build log from scratch build

This builds fine on F-27 and there's minimal deps. It fails on F-26. The only real difference is the binutils version (2.27-23.fc26 vs 2.28-8.fc27).

Full log attached.

  AS      lib/cpus/aarch64/cortex_a53.S
  AS      lib/cpus/aarch64/cortex_a57.S
  AS      lib/cpus/aarch64/cortex_a72.S
  AS      bl31/aarch64/bl31_entrypoint.S
  AS      bl31/aarch64/runtime_exceptions.S
bl31/aarch64/runtime_exceptions.S: Assembler messages:
bl31/aarch64/runtime_exceptions.S:156: Error: non-constant expression in ".if" statement
bl31/aarch64/runtime_exceptions.S:164: Error: non-constant expression in ".if" statement
bl31/aarch64/runtime_exceptions.S:169: Error: non-constant expression in ".if" statement
bl31/aarch64/runtime_exceptions.S:174: Error: non-constant expression in ".if" statement
bl31/aarch64/runtime_exceptions.S:188: Error: non-constant expression in ".if" statement
bl31/aarch64/runtime_exceptions.S:192: Error: non-constant expression in ".if" statement
bl31/aarch64/runtime_exceptions.S:196: Error: non-constant expression in ".if" statement
bl31/aarch64/runtime_exceptions.S:200: Error: non-constant expression in ".if" statement
bl31/aarch64/runtime_exceptions.S:214: Error: non-constant expression in ".if" statement
bl31/aarch64/runtime_exceptions.S:218: Error: non-constant expression in ".if" statement
bl31/aarch64/runtime_exceptions.S:222: Error: non-constant expression in ".if" statement
bl31/aarch64/runtime_exceptions.S:230: Error: non-constant expression in ".if" statement
bl31/aarch64/runtime_exceptions.S:244: Error: non-constant expression in ".if" statement
bl31/aarch64/runtime_exceptions.S:248: Error: non-constant expression in ".if" statement
bl31/aarch64/runtime_exceptions.S:252: Error: non-constant expression in ".if" statement
bl31/aarch64/runtime_exceptions.S:260: Error: non-constant expression in ".if" statement
make: *** [Makefile:548: build/juno/release/bl31/runtime_exceptions.o] Error 1

F=26 failed scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=19945792
F-27 successful build: https://koji.fedoraproject.org/koji/buildinfo?buildID=906690

Comment 1 Nick Clifton 2017-06-12 11:08:32 UTC
Hi Peter,

  FYI - this bug has been fixed upstream:

https://sourceware.org/bugzilla/show_bug.cgi?id=20364

  I have copied the patch from there and added it to the F26 binutils.
  Please try: binutils-2.27-24.fc26

Cheers
  Nick

Comment 2 Peter Robinson 2017-06-12 12:48:52 UTC
Hi Nick,

Did a scratch build and it LGTM, not sure why I didn't find that bug when I searched for the issue but thanks! Can we have it submitted as an update?

Comment 3 Fedora Update System 2017-06-12 15:09:52 UTC
binutils-2.27-24.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-bbc17e349e

Comment 4 Nick Clifton 2017-06-12 15:11:00 UTC
Hi Peter.

> Can we have it submitted as an update?

Here you go:

  https://bodhi.fedoraproject.org/updates/binutils-2.27-24.fc26

Cheers
  Nick

Comment 5 Fedora Update System 2017-06-14 01:35:25 UTC
binutils-2.27-24.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-bbc17e349e

Comment 6 Fedora Update System 2017-06-15 03:02:07 UTC
binutils-2.27-24.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.