64-bit SPARC libc needs signalfd.o too
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.
Updated by Electric Monk over 6 years ago
- Status changed from New to Closed
- % Done changed from 80 to 100
commit 696be233fd50b992c5f28974cd022f078f832272 Author: Gary Mills <firstname.lastname@example.org> Date: 2016-01-16T21:21:41.000Z 6556 64-bit SPARC libc needs signalfd.o too Reviewed by: Igor Kozhukhov <email@example.com> Reviewed by: Garrett D'Amore <firstname.lastname@example.org> Approved by: Robert Mustacchi <email@example.com>