12233 libsmbios fails to build on SPARC

Review Request #2494 — Created Jan. 20, 2020 and submitted

ptribble
illumos-gate
12233
general
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.

With the fix, SPARC build is clean again.

tsoome
  1. note you only need CFLAGS64 but I guess it is ok to have both set.

  2. 
      
mscheler
  1. Ship It!
  2. 
      
ptribble
Review request changed

Status: Closed (submitted)

Loading...