Project

General

Profile

Bug #6556

64-bit SPARC libc needs signalfd.o too

Added by Gary Mills over 4 years ago. Updated over 4 years ago.

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

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:

Description

When I was building a recent illumos version on my T2000 (SPARC sun4v), I got this error message:

Undefined            first referenced
 symbol                  in file
signalfd                            /dpool/export/home/mills/Downloads/code/illumos-gate/usr/src/lib/libc/port/mapfile-vers  (symbol scope specifies local binding)
ld: fatal: symbol referencing errors. No output written to libc.so.1
*** Error code 1
dmake: Warning: Target `libc.so.1' not remade because of errors
Current working directory /dpool/export/home/mills/Downloads/code/illumos-gate-jan/usr/src/lib/libc/sparcv9

The amd64, i386, and sparc makefiles all contain the signalfd.o object module. The sparcv9 makefile does not.

Adding it to the PORTSYS macro of the sparcv9/Makefile.com makefile eliminates the error and permits libc.so.1 to be built correctly.

History

#1

Updated by Electric Monk over 4 years ago

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

git commit 696be233fd50b992c5f28974cd022f078f832272

commit  696be233fd50b992c5f28974cd022f078f832272
Author: Gary Mills <gary_mills@fastmail.fm>
Date:   2016-01-16T21:21:41.000Z

    6556 64-bit SPARC libc needs signalfd.o too
    Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
    Reviewed by: Garrett D'Amore <garrett@damore.org>
    Approved by: Robert Mustacchi <rm@joyent.com>

Also available in: Atom PDF