Project

General

Profile

Actions

Bug #13418

closed

picl: removal of unused dependency recommended

Added by Toomas Soome 7 months ago. Updated about 2 months ago.

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

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Build errors on SPARC:

    ld: guidance: removal of unused dependency recommended: libpicldevtree.so.1
    ld: guidance: removal of unused dependency recommended: libsnmpplugin.so.1
    ld: guidance: see ld(1) -z guidance for more information
    collect2: ld returned 1 exit status
    *** Error code 1
    dmake: Fatal error: Command failed for target `libpriplugin.so.1'
    Current working directory /code/illumos-gate/usr/src/cmd/picl/plugins/sun4v/pri

    ld: guidance: removal of unused dependency recommended: libpicldevtree.so.1
    ld: guidance: see ld(1) -z guidance for more information
    collect2: ld returned 1 exit status
    *** Error code 1
    dmake: Fatal error: Command failed for target `libmdescplugin.so.1'
    Current working directory /code/illumos-gate/usr/src/cmd/picl/plugins/sun4v/mdesc

    ld: guidance: removal of unused dependency recommended: libkstat.so.1
    ld: guidance: removal of unused dependency recommended: libpiclevent.so.1
    ld: guidance: removal of unused dependency recommended: libpiclenvmon.so.1
    ld: guidance: removal of unused dependency recommended: libpiclfrutree.so.1
    ld: guidance: see ld(1) -z guidance for more information
    collect2: ld returned 1 exit status
    *** Error code 1
    dmake: Fatal error: Command failed for target `libpiclfrudr.so.1'
    Current working directory /code/illumos-gate/usr/src/cmd/picl/plugins/sun4u/mpxu/frudr

    ld: guidance: removal of unused dependency recommended: libpicldevtree.so.1
    ld: guidance: removal of unused dependency recommended: libdevinfo.so.1
    ld: guidance: see ld(1) -z guidance for more information
    collect2: ld returned 1 exit status
    *** Error code 1
    dmake: Fatal error: Command failed for target `libpiclenvd.so.1'
    Current working directory /code/illumos-gate/usr/src/cmd/picl/plugins/sun4u/chicago/envd

    ld: guidance: removal of unused dependency recommended: libpicldevtree.so.1
    ld: guidance: removal of unused dependency recommended: libdevinfo.so.1
    ld: guidance: see ld(1) -z guidance for more information
    collect2: ld returned 1 exit status
    *** Error code 1
    dmake: Fatal error: Command failed for target `libpiclenvd.so.1'
    Current working directory /code/illumos-gate/usr/src/cmd/picl/plugins/sun4u/enchilada/envd

    ld: guidance: removal of unused dependency recommended: libpicldevtree.so.1
    ld: guidance: removal of unused dependency recommended: libdevinfo.so.1
    ld: guidance: see ld(1) -z guidance for more information
    collect2: ld returned 1 exit status
    *** Error code 1
    dmake: Fatal error: Command failed for target `libpiclenvd.so.1'
    Current working directory /code/illumos-gate/usr/src/cmd/picl/plugins/sun4u/taco/envd

    ld: guidance: removal of unused dependency recommended: libpicldevtree.so.1
    ld: guidance: removal of unused dependency recommended: libpiclmemcfg.so.1
    ld: guidance: see ld(1) -z guidance for more information
    collect2: ld returned 1 exit status
    *** Error code 1
    dmake: Fatal error: Command failed for target `libpiclfrutree.so.1'
    Current working directory /code/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw8/frutree

    ld: guidance: removal of unused dependency recommended: libpicldevtree.so.1
    ld: guidance: removal of unused dependency recommended: libpiclfrutree.so.1
    ld: guidance: removal of unused dependency recommended: libnvpair.so.1
    ld: guidance: see ld(1) -z guidance for more information
    collect2: ld returned 1 exit status
    *** Error code 1
    dmake: Fatal error: Command failed for target `libfcal_leds.so.1'
    Current working directory /code/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw2plus/fcal_leds

    ld: guidance: removal of unused dependency recommended: libpicldevtree.so.1
    ld: guidance: see ld(1) -z guidance for more information
    collect2: ld returned 1 exit status
    *** Error code 1
    dmake: Fatal error: Command failed for target `libpiclfrutree.so.1'
    Current working directory /code/illumos-gate/usr/src/cmd/picl/plugins/sun4u/cherrystone/frutree

    ld: guidance: removal of unused dependency recommended: libpicldevtree.so.1
    ld: guidance: see ld(1) -z guidance for more information
    collect2: ld returned 1 exit status
    *** Error code 1
    dmake: Fatal error: Command failed for target `libpiclfrutree.so.1'
    Current working directory /code/illumos-gate/usr/src/cmd/picl/plugins/sun4u/daktari/frutree

    ld: guidance: removal of unused dependency recommended: libdevinfo.so.1
    ld: guidance: removal of unused dependency recommended: libpiclevent.so.1
    ld: guidance: removal of unused dependency recommended: libpicldevtree.so.1
    ld: guidance: see ld(1) -z guidance for more information
    collect2: ld returned 1 exit status
    *** Error code 1
    dmake: Fatal error: Command failed for target `libpiclenvmon.so.1'
    Current working directory /code/illumos-gate/usr/src/cmd/picl/plugins/sun4u/envmon

    ld: guidance: removal of unused dependency recommended: libpiclfrutree.so.1
    ld: guidance: see ld(1) -z guidance for more information
    collect2: ld returned 1 exit status
    *** Error code 1
    dmake: Fatal error: Command failed for target `libpiclfrudata.so.1'
    Current working directory /code/illumos-gate/usr/src/cmd/picl/plugins/sun4u/frudata

    ld: guidance: removal of unused dependency recommended: libpicldevtree.so.1
    ld: guidance: see ld(1) -z guidance for more information
    collect2: ld returned 1 exit status
    *** Error code 1
    dmake: Fatal error: Command failed for target `libpiclmemcfg.so.1'
    Current working directory /code/illumos-gate/usr/src/cmd/picl/plugins/sun4u/grover/memcfg

    ld: guidance: removal of unused dependency recommended: libpicldevtree.so.1
    ld: guidance: see ld(1) -z guidance for more information
    collect2: ld returned 1 exit status
    *** Error code 1
    dmake: Fatal error: Command failed for target `libpiclenvd.so.1'
    Current working directory /code/illumos-gate/usr/src/cmd/picl/plugins/sun4u/grover/envd

    ld: guidance: removal of unused dependency recommended: libpicldevtree.so.1
    ld: guidance: see ld(1) -z guidance for more information
    collect2: ld returned 1 exit status
    *** Error code 1
    dmake: Fatal error: Command failed for target `libpiclenvd.so.1'
    Current working directory /code/illumos-gate/usr/src/cmd/picl/plugins/sun4u/excalibur/envd

    ld: guidance: removal of unused dependency recommended: libpicldevtree.so.1
    ld: guidance: see ld(1) -z guidance for more information
    collect2: ld returned 1 exit status
    *** Error code 1
    dmake: Fatal error: Command failed for target `libpiclfrutree.so.1'
    Current working directory /code/illumos-gate/usr/src/cmd/picl/plugins/sun4u/littleneck/frutree
    *** Error code 1
    The following command caused the error:
    cd frutree; pwd; dmake install
    dmake: Fatal error: Command failed for target `frutree'
    Current working directory /code/illumos-gate/usr/src/cmd/picl/plugins/sun4u/littleneck

    ld: guidance: removal of unused dependency recommended: libcfgadm.so.1
    ld: guidance: see ld(1) -z guidance for more information
    collect2: ld returned 1 exit status
    *** Error code 1
    dmake: Fatal error: Command failed for target `libpsvcpolicy_psr.so.1'
    Current working directory /code/illumos-gate/usr/src/cmd/picl/plugins/sun4u/daktari/psvcpolicy

Testing done: my own test was on T4-1. From Klaus Ziegler:

I've tested this fix on T2000, SunFire V240 and on Sun Ultra2 2x400 Mhz works like a champ.

<sklaus> I tested installs on Ultra2 / v240 / T2000 - i could also test on e450 (but only 4x 200mhz - slow) - Volker testet on some other T51xx I can get a friend of mine to test on E4xxx also if needed.

Actions #1

Updated by Electric Monk 7 months ago

  • Gerrit CR set to 1139
Actions #2

Updated by Toomas Soome about 2 months ago

  • Description updated (diff)
Actions #3

Updated by Electric Monk about 2 months ago

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

git commit 1872d23e4f4f89383cc3d7774072ee4bfbb49e91

commit  1872d23e4f4f89383cc3d7774072ee4bfbb49e91
Author: Toomas Soome <tsoome@me.com>
Date:   2021-06-18T18:15:52.000Z

    13418 picl: removal of unused dependency recommended
    Reviewed by: Klaus Ziegler <klausz@haus-gisela.de>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions #4

Updated by Klaus Ziegler about 2 months ago

Ithis fix was installed and tested on the following systems:
Sun Ultra 2 UPA/SBus (2 X UltraSPARC-II 400MHz), No Keyboard
Sun Fire V240, No Keyboard
Copyright 2010 Sun Microsystems, Inc. All rights reserved.
Sun Fire T200, No Keyboard <------------------------------------------------------------- T2000
Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
Sun Ultra 450 (2 X UltraSPARC-II 248MHz), No Keyboard
OpenBoot 3.30, 3072 MB memory installed, Serial #2147479551.
LDOM on a T5120

Actions

Also available in: Atom PDF