Project

General

Profile

Actions

Bug #12580

open

halt: build depends on compiler

Added by Toomas Soome about 1 year ago. Updated 6 months ago.

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

90%

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

Description

Building on sparc with gcc 7:

    ld: guidance: removal of unused dependency recommended: libzfs.so.1
    ld: guidance: removal of unused dependency recommended: libgen.so.1
    ld: guidance: see ld(1) -z guidance for more information
    collect2: error: ld returned 1 exit status

However, gcc 4.4.4-il does not complain. Apparently the gcc 7 is smart enough to optimise out the case when fast_reboot is set to 2, therefore removing the need for libzfs and libgen and resulting the error above. However, with small update we can make the build process consistent across compilers.

We use parse_fastboot_args() with all platforms, and this will resolve the ld guidance issues above.


Related issues

Related to illumos gate - Feature #13419: halt: parse_fastboot_args() should be usable on SPARCIn ProgressToomas Soome

Actions
Actions #1

Updated by Electric Monk 12 months ago

  • Gerrit CR set to 565
Actions #2

Updated by Toomas Soome 6 months ago

  • Related to Feature #13419: halt: parse_fastboot_args() should be usable on SPARC added
Actions #3

Updated by Toomas Soome 6 months ago

  • Description updated (diff)
Actions

Also available in: Atom PDF