Project

General

Profile

Actions

Bug #14073

closed

kdb/ldap: symbol referencing errors

Added by Toomas Soome 14 days ago. Updated 9 days 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 on SPARC:

    Undefined                       first referenced
     symbol                             in file
    __stack_chk_fail                    pics/ldap_exp.o  (symbol belongs to implicit dependency /code/illumos-gate/proto/root_sparc/lib/libc.so.1)
    memcmp                              pics/ldap_exp.o  (symbol belongs to implicit dependency /code/illumos-gate/proto/root_sparc/lib/libc.so.1)
    strlen                              pics/ldap_exp.o  (symbol belongs to implicit dependency /code/illumos-gate/proto/root_sparc/lib/libc.so.1)
    __stack_chk_guard                   pics/ldap_exp.o  (symbol belongs to implicit dependency /code/illumos-gate/proto/root_sparc/lib/libc.so.1)
    ld: fatal: symbol referencing errors. No output written to kldap.so.1
    collect2: error: ld returned 1 exit status
    *** Error code 1
    dmake: Fatal error: Command failed for target `kldap.so.1'
    Current working directory /code/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/sparc

Add -lc to LDLIBS.

Testing done: build/installb/boot.


Related issues

Related to illumos gate - Bug #14099: 14073 breaks gcc4 builds on x86, should be SPARC-onlyClosedDan McDonald

Actions
Actions #1

Updated by Electric Monk 9 days ago

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

git commit aa2e4271d40e09086d298155a3a5342859fe4f99

commit  aa2e4271d40e09086d298155a3a5342859fe4f99
Author: Toomas Soome <tsoome@me.com>
Date:   2021-09-17T16:12:23.000Z

    14073 kdb/ldap: symbol referencing errors
    Reviewed by: Robert Mustacchi <rm+illumos@fingolfin.org>
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions #2

Updated by Joshua M. Clulow 4 days ago

  • Related to Bug #14099: 14073 breaks gcc4 builds on x86, should be SPARC-only added
Actions

Also available in: Atom PDF