Project

General

Profile

Actions

Bug #13553

closed

iasl: multiply-defined symbols

Added by Toomas Soome over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

Build errors with gcc 10:

    ld: fatal: symbol 'LexBuffer' is multiply-defined:
            (file dtparserlex.o type=OBJT; file prparserlex.o type=OBJT);
    ld: fatal: symbol 'AslCompilerlval' is multiply-defined:
            (file aslcompilerlex.o type=OBJT; file aslcompilerparse.o type=OBJT);
    ld: fatal: file processing errors. No output written to iasl
    collect2: error: ld returned 1 exit status

Testing done: build/install/boot

Actions #1

Updated by Electric Monk over 1 year ago

  • Gerrit CR set to 1265
Actions #2

Updated by Toomas Soome over 1 year ago

  • Description updated (diff)
Actions #3

Updated by Electric Monk over 1 year ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit 830ec39e9a3d673fcf5865875006ab471d56b85b

commit  830ec39e9a3d673fcf5865875006ab471d56b85b
Author: Toomas Soome <tsoome@me.com>
Date:   2021-03-12T07:17:32.000Z

    13553 iasl: multiply-defined symbols
    Reviewed by: Andy Fiddaman <andy@omniosce.org>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions #4

Updated by Robert Mustacchi over 1 year ago

A note for folks in the future. While this was added into the illumos/20180629 branch of illumos/acpi, it was not carried forward because Intel has also fixed some of this (due to a patch from Gentoo) and the YYSTYPE AslCompilerlval declaratoin was removed because it was being done by lex/yacc.

Actions

Also available in: Atom PDF