[PATCH 0/2] Fix iasl linker issues when using --as-needed (LP: #1816474)

Colin King colin.king at canonical.com
Tue Mar 5 16:31:52 UTC 2019


From: Colin Ian King <colin.king at canonical.com>

Buglink: https://bugs.launchpad.net/bugs/1816474

The following two patches address a linker issue with gcc-9 when
using --as-needed linking flags. This was picked up on Fedora 30
on non-x86 arches and on close inspection it showed that the IASL
component needed refreshing to get all the correct objects into
the library.  We are now picking up the default IASL options so
I had to refresh the test results to match the changes in output
fields.

Colin Ian King (2):
  ACPICA: fix IASL building issues with gcc-9 and --as-needed linker
    option
  fwts-test: sync up output to new IASL output defaults

 fwts-test/acpidump-0001/acpidump-0001.log     |   97 ++
 .../arg-table-path-0001/acpidump-0001.log     |   87 ++
 src/acpica/source/compiler/Makefile.am        |  457 +++----
 src/acpica/source/compiler/aslhelp.c          |  336 +++++
 src/acpica/source/compiler/aslmapenter.c      |  456 +++++++
 src/acpica/source/compiler/asloptions.c       | 1127 +++++++++++++++++
 .../source/compiler/fwts_iasl_interface.c     |    2 -
 7 files changed, 2347 insertions(+), 215 deletions(-)
 create mode 100644 src/acpica/source/compiler/aslhelp.c
 create mode 100644 src/acpica/source/compiler/aslmapenter.c
 create mode 100644 src/acpica/source/compiler/asloptions.c

-- 
2.20.1




More information about the fwts-devel mailing list