Bug #12233
libsmbios fails to build on SPARC
Added by Peter Tribble about 1 year ago.
Updated about 1 year ago.
Category:
lib - userland libraries
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.
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.
- 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