Project

General

Profile

Bug #13538

logadm: multiply-defined symbols

Added by Toomas Soome about 2 months ago. Updated about 1 month 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 'Debug' is multiply-defined:
            (file conf.o type=OBJT; file err.o type=OBJT);
    ld: fatal: symbol 'Err_env' is multiply-defined:
            (file conf.o type=OBJT; file err.o type=OBJT);
    ld: fatal: symbol 'Debug' is multiply-defined:
            (file conf.o type=OBJT; file fn.o type=OBJT);
    ld: fatal: symbol 'Err_env' is multiply-defined:
            (file conf.o type=OBJT; file fn.o type=OBJT);
    ld: fatal: symbol 'Debug' is multiply-defined:
            (file conf.o type=OBJT; file glob.o type=OBJT);
    ld: fatal: symbol 'Err_env' is multiply-defined:
            (file conf.o type=OBJT; file glob.o type=OBJT);
    ld: fatal: symbol 'Debug' is multiply-defined:
            (file conf.o type=OBJT; file kw.o type=OBJT);
    ld: fatal: symbol 'Err_env' is multiply-defined:
            (file conf.o type=OBJT; file kw.o type=OBJT);
    ld: fatal: symbol 'Debug' is multiply-defined:
            (file conf.o type=OBJT; file lut.o type=OBJT);
    ld: fatal: symbol 'Err_env' is multiply-defined:
            (file conf.o type=OBJT; file lut.o type=OBJT);
    ld: fatal: symbol 'Debug' is multiply-defined:
            (file conf.o type=OBJT; file main.o type=OBJT);
    ld: fatal: symbol 'Err_env' is multiply-defined:
            (file conf.o type=OBJT; file main.o type=OBJT);
    ld: fatal: symbol 'Debug' is multiply-defined:
            (file conf.o type=OBJT; file opts.o type=OBJT);
    ld: fatal: symbol 'Err_env' is multiply-defined:
            (file conf.o type=OBJT; file opts.o type=OBJT);
    ld: fatal: file processing errors. No output written to logadm
    collect2: error: ld returned 1 exit status
    *** Error code 1
    dmake: Fatal error: Command failed for target `logadm'

Testing done: build/install/boot


Related issues

Related to illumos gate - Bug #13595: logadm: failing to build test programsClosedToomas Soome

Actions
#1

Updated by Electric Monk about 2 months ago

  • Gerrit CR set to 1250
#2

Updated by Electric Monk about 1 month ago

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

git commit 454c9e74c7c117274fb3612dc713f144088203bf

commit  454c9e74c7c117274fb3612dc713f144088203bf
Author: Toomas Soome <tsoome@me.com>
Date:   2021-03-02T18:55:17.000Z

    13538 logadm: multiply-defined symbols
    Reviewed by: C Fraire <cfraire@me.com>
    Reviewed by: Gergő Mihály Doma <domag02@gmail.com>
    Approved by: Robert Mustacchi <rm@fingolfin.org>

#3

Updated by Toomas Soome about 1 month ago

  • Related to Bug #13595: logadm: failing to build test programs added

Also available in: Atom PDF