Project

General

Profile

Actions

Bug #12233

closed

libsmbios fails to build on SPARC

Added by Peter Tribble over 3 years ago. Updated over 3 years ago.

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

100%

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

Description

Recent changes to libsmbios (either #12133 or #12138) appear to tickle a build failure on SPARC

ld: fatal: too many symbols require 'small' PIC references:
have 1053, maximum 1024 -- recompile some modules -K PIC.
collect2: ld returned 1 exit status

Apparently we need C_BIGPICFLAGS/C_BIGPICFLAGS64, similar to the fix for #10391.

Actions #1

Updated by Peter Tribble over 3 years ago

Reviewboard link: https://www.illumos.org/rb/r/2494/

Testing:

Checked with wsdiff that this change doesn't modify the output on x86.

Verified that smbios output on my x86 machine is unchanged.

Actions #2

Updated by Electric Monk over 3 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit e371214c989050b68785a50c83f96cd04c4d18e8

commit  e371214c989050b68785a50c83f96cd04c4d18e8
Author: Peter Tribble <peter.tribble@gmail.com>
Date:   2020-02-18T13:33:46.000Z

    12233 libsmbios fails to build on SPARC
    Reviewed by: Toomas Soome <tsoome@me.com>
    Reviewed by: Matthias Scheler <mscheler@tintri.com>
    Approved by: Robert Mustacchi <rm@fingolfin.org>

Actions

Also available in: Atom PDF