Project

General

Profile

Bug #12233

libsmbios fails to build on SPARC

Added by Peter Tribble 30 days ago. Updated about 22 hours ago.

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

100%

Estimated time:
Difficulty:
Bite-size
Tags:

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.

History

#1

Updated by Peter Tribble 1 day 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.

#2

Updated by Electric Monk about 22 hours 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>

Also available in: Atom PDF