Thank you also.  Getting cmake to build might help a lot of other arm
packages to build.

-----Original Message-----
From: Jeremie Courreges-Anglas <[email protected]> 
Sent: April 23, 2018 1:49 PM
To: [email protected]
Cc: OpenBSD Ports <[email protected]>
Subject: Re: hph build on arm, gcc 4.9

On Mon, Apr 23 2018, Jeremie Courreges-Anglas <[email protected]> wrote:
> On Mon, Apr 23 2018, <[email protected]> wrote:
>> Picking up on your last comment, I restarted the php build on arm with
the intent of looking for why gcc is required.  So far I have come across
one package that pulls in gcc and it is specific to arm.
>>
>> Cmake pulls in libuv whose Makefile has:
>>
>> # for atomic builtins
>> MODULES =       gcc4
>> MODGCC4_ARCHS = arm
>>
>> This is what starts off the gcc build.  Can and should these lines be
replaced with a clang equivalent?
>
> Probably,
>
>> To keep the build going I took out these two items and the cmake build
completed without  gcc.
>
> so the diff below is a candidate for a commit.  If clang didn't 
> provide those atomics, linking cmake should have failed because of 
> unresolved references.  I won't have access to my arm box until 
> tomorrow, but this looks safe.
>
> ok?

Committed, thanks.

--
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply via email to