Project

General

Profile

Actions

Bug #13519

closed

pkcs11_tpm: symbol 'hPrivateLeafKey' is multiply-defined

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
Due date:
% Done:

100%

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

Description

Build errors with gcc 10:

    ld: fatal: symbol 'hPrivateLeafKey' is multiply-defined:
            (file pics/loadsave.o type=OBJT; file pics/tpm_specific.o type=OBJT);
    ld: fatal: file processing errors. No output written to pkcs11_tpm.so.1
    collect2: error: ld returned 1 exit status
    *** Error code 1
    /usr/bin/rm -f /code/illumos-gate/proto/root_i386/usr/lib/security/pkcs11_tpm.so; /usr/bin/ln -s pkcs11_tpm.so.1 /code/illumos-gate/proto/root_i386/usr/lib/security/pkcs11_tpm.so
    dmake: Warning: Target `install' not remade because of errors
    Current working directory /code/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/i386

Testing done: build/install/boot

Actions

Also available in: Atom PDF