Build error for usr/src/uts/common/exec/elf/elf.c on sparc

Review Request #1372 - Created Jan. 16, 2019 and submitted

Information
Peter Tribble
illumos-gate
10245
Reviewers
general
On a SPARC build, we see the following error:

../../common/exec/elf/elf.c:841: error: unused variable 'fptype' [-Wunused-variable]
../../common/exec/elf/elf.c:840: error: unused variable 'fpsize' [-Wunused-variable]

The code that uses these variables is guarded for amd64, so the variables should be too.

With the fix, the sparc build no longer generates this error

Issues

  • 0
  • 0
  • 1
  • 1
Description From Last Updated
Andy Fiddaman
Andrew Stormont
Toomas Soome
Igor Kozhukhov
Gergő Mihály Doma
Igor Kozhukhov
Peter Tribble
Review request changed

Status: Closed (submitted)

Loading...