[sudo-commits] sudo changeset 11426:a8d94e6aed9f

Todd C. Miller Todd.Miller at sudo.ws
Fri Jul 20 10:19:36 MDT 2018

changeset:	11426:a8d94e6aed9f in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/a8d94e6aed9f
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Fri Jul 20 10:17:51 2018 -0600

Log Message:
	When both a .o and .lo file was used in a Makefile, we used to make
	the .o depend on the .lo.  Unfortunately, this creates a race
	condition for parallel make since libtool is not atomic (it creates
	a .o and then renames it when building PIC objects for shared libs).

	We always link with libtool so the only reason to prefer the .o
	over the .lo file is to avoid mixing .o and .lo in the dependencies.
	That's not a good enough reason so change mkdep.pl to warn when
	both a .o and .lo are referenced in a Makefile and do nothing else.

	Bug #842


 mkdep.pl                    |   4 +-
 plugins/sudoers/Makefile.in |  57 +++++++++++++-------------------------------
 2 files changed, 19 insertions(+), 42 deletions(-)

More information about the sudo-commits mailing list