[Buildroot] [PATCH v2] openssl: fix race condition when symlink shared libs
Mike Frysinger
vapier at gentoo.org
Wed Nov 25 19:31:38 UTC 2015
On 21 Nov 2015 14:24, Arnout Vandecappelle wrote:
> On 20-11-15 17:23, Ryan Barnett wrote:
> > The build-shared target depends on do_crypto and link-shared, which
> > will be executed in parallel. do_crypto calls
> > link_a.linux_shared -> link_a.gnu which does SYMLINK_SO; in parallel,
> > link-shared calls symlink.linux_shared which also does SYMLINK_SO.
> > Before the symlink is created, it is rm'ed, but there is a tiny chance
> > that the second one is created after the rm has been called.
> >
> > Fix this by using 'ln -sf' instead of 'ln -s' so the build doesn't
> > error out.
> >
> > Patch submitted upstream at:
> > https://bugs.gentoo.org/show_bug.cgi?id=566260
>
> Ahem, gentoo is not exactly upstream :-) From [1]:
>
> To report a bug or make an enhancement request, send email to rt at openssl.org.
which these have been already. they don't respond. in fact, you can see
a link to the relevant upstream report in every Gentoo parallel patch.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20151125/729563ba/attachment-0002.asc>
More information about the buildroot
mailing list