Subject: Re: bug#21153: coreutils-8.24 build problem, and a fix, on Solaris 10 SPARC

From: Pádraig Brady <[email-masked]>
Date: Wed, 29 Jul 2015 03:41:33 +0100

forcemerge 21059 21153
stop

On 28/07/15 22:07, Nelson H. F. Beebe wrote:
> Attempts to build coreutils-8.24 on Solaris 10 SPARC failed with an
> unresolved symbol:
> 
> 	checking whether fdatasync is declared... yes
> 	checking for library containing fdatasync... -lrt
> 	  CCLD     src/sync
> 	Undefined			first referenced
> 	 symbol  			    in file
> 	fdatasync                           src/sync.o
> 	ld: fatal: Symbol referencing errors. No output written to src/sync
> 
> The -lrt library is not present in the linking in that command.
> 
> I restarted the build with "nake LIBS=-lrt", and that led to a
> successful build and subsequent validation.

Already fixed with:
http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=v8.24-4-g9d25971

thanks!
Pádraig.