[aarch64-port-dev ] [RFC] [PATCH] replace fork syscall with equivalent clone
Riku Voipio
riku.voipio at linaro.org
Thu Oct 3 06:17:21 PDT 2013
On 3 October 2013 15:56, Andrew Haley <aph at redhat.com> wrote:
> On 10/03/2013 01:36 PM, Riku Voipio wrote:
>> According to the man page of fork, under linux that is implemented by
>> clone(SIGCHLD, ..) . Calling fork system call is considered
>> deprecated.
>>
>> The following patch is against openjdk-7 25b30 / icedtea 2.1.8 as used
>> in linaro openembedded overlay for building openjdk-7. I see openjdk-8
>> has taken a more conservative approach by defining the fork system
>> call number for Aarch64. While this works, I think it would be more
>> cleaner to use clone system call, since that is guaranteed to be
>> available on all linux platforms. If you disagree, then we should just
>> backport the openjdk-8 patch to openjdk-7.
>
> I'm trying really hard to figure out why this matters. BTW, there was
> no patch attached.
Less lines of code and less arch specific ifdefs, mainly.
I guess the mailing list scrubbed it. The patch is also viewable from here:
https://git.linaro.org/gitweb?p=openembedded/meta-linaro.git;a=blob_plain;f=meta-aarch64/recipes-core/openjdk/files/icedtea-openjdk-aarch64.patch
Riku
More information about the aarch64-port-dev
mailing list