Re: Darwin-dev Digest, Vol 14, Issue 9
Re: Darwin-dev Digest, Vol 14, Issue 9
- Subject: Re: Darwin-dev Digest, Vol 14, Issue 9
- From: Jonathan Moore <email@hidden>
- Date: Tue, 21 Mar 2017 06:34:06 -0400
Clifford,
I tried:
https://github.com/csekel/darwinbuild
Tag 37 with
sudo xcodebuild install DSTROOT=/
,but the install fails. I built a version of darwinwinbuild if I need
to uninstall the version I built were is it?
Can I use a whereis like on BSD?
I'm getting an error message with Database.cpp. When I built
Darwinbuild I had to fix some obsolete functions
or methods, It installed but now I'm getting a segmentation fault.
On Mon, Mar 20, 2017 at 3:00 PM, <email@hidden> wrote:
> Send Darwin-dev mailing list submissions to
> email@hidden
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.apple.com/mailman/listinfo/darwin-dev
> or, via email, send a message with subject or body 'help' to
> email@hidden
>
> You can reach the person managing the list at
> email@hidden
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Darwin-dev digest..."
>
>
> Today's Topics:
>
> 1. Re: Darwin-dev Digest, Vol 14, Issue 8 (Clifford Sekel)
> 2. Re: connectx() function availability (Pavol Markovic)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 19 Mar 2017 20:18:38 +0000
> From: Clifford Sekel <email@hidden>
> To: "email@hidden" <email@hidden>
> Subject: Re: Darwin-dev Digest, Vol 14, Issue 8
> Message-ID:
> <email@hidden>
>
> Content-Type: text/plain; charset="utf-8"
>
> Jonathan
>
> Go here I fixed the problem and works up to macOS Sierra
>
> https://github.com/csekel/darwinbuild
>
> Thanks
> Clifford D. Sekel
> Email : email@hidden
> Phone : 240.382.9329
> Linkedin :
> Public Profile
> https://www.linkedin.com/in/clifford-sekel-846bb030
> ________________________________
> From: darwin-dev-bounces+cds87=email@hidden <darwin-dev-bounces+cds87=email@hidden> on behalf of email@hidden <email@hidden>
> Sent: Sunday, March 19, 2017 3:00:07 PM
> To: email@hidden
> Subject: Darwin-dev Digest, Vol 14, Issue 8
>
> Send Darwin-dev mailing list submissions to
> email@hidden
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.apple.com/mailman/listinfo/darwin-dev
> or, via email, send a message with subject or body 'help' to
> email@hidden
>
> You can reach the person managing the list at
> email@hidden
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Darwin-dev digest..."
>
>
> Today's Topics:
>
> 1. Darwinbuild fails to build on Lion. (Jonathan Moore)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 19 Mar 2017 10:01:27 -0400
> From: Jonathan Moore <email@hidden>
> To: email@hidden
> Subject: Darwinbuild fails to build on Lion.
> Message-ID:
> <CANih4caqUJ08ZKA7QOkw9-antXoBkP2WTQevJtD-sV=email@hidden>
> Content-Type: text/plain; charset=UTF-8
>
> Hi,
>
> I got the following error when building darwinbuild checked out from
> git. I also got a svn checkout error when I tried to use port install
> darwin build. Any help would be appreciated.
>
>
> The following build commands failed:
> CompileC build/darwinbuild.build/Public/register.build/Objects-normal/x86_64/register.o
> darwinxref/plugins/register.c normal x86_64 c
> com.apple.compilers.llvmgcc42
> (1 failure)
>
> Thanks,
>
> Jonathan Moore
>
>
> ------------------------------
>
> _______________________________________________
> Darwin-dev mailing list
> email@hidden
> https://lists.apple.com/mailman/listinfo/darwin-dev
>
> End of Darwin-dev Digest, Vol 14, Issue 8
> *****************************************
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <https://lists.apple.com/mailman/private/darwin-dev/attachments/20170319/0a13fd45/attachment.html>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 20 Mar 2017 20:49:22 +1300
> From: Pavol Markovic <email@hidden>
> To: Darwin Dev <email@hidden>
> Subject: Re: connectx() function availability
> Message-ID:
> <email@hidden>
> Content-Type: text/plain; charset=us-ascii
>
> Thanks Greg,
>
> I've submitted the bug report: rdar://31142152
>
> I have to correct myself after double-checking the sys headers, some functions have indeed availability and weak_import attributes expanded through macro __OSX_AVAILABLE_STARTING.
>
>> On 18 Mar 2017, at 10:48, Greg Parker <email@hidden> wrote:
>>
>> Historically the libc headers have not used availability annotations. You should file a bug report asking that they do so, with a description of your specific use case.
>>
>>
>>> On Mar 17, 2017, at 12:12 PM, Pavol Markovic <email@hidden> wrote:
>>>
>>> I didn't think about that possibility but it should be doable. Thanks!
>>>
>>> I still wonder why the function is not declared with weak_import attribute.
>>> I have just searched all headers in sys folder and it's not used in any of them.
>>> Is there a reason for that (i.e. keeping sys headers free of GNU C extensions)?
>>>
>>> PM
>>>
>>>> On 18 Mar 2017, at 04:33, Damien DeVille <email@hidden> wrote:
>>>>
>>>> Probably not ideal but if you have access to the source that uses `connectx` could you resolve the symbol at runtime on newer OS versions with dlopen/dlsym?
>>>>
>>>> On Fri, Mar 17, 2017, at 03:23 AM, Pavol Markovic wrote:
>>>>> Hello,
>>>>> I'm working on a product statically linking (non-system) libcurl and it
>>>>> is crashing on OS X 10.8 due to missing _connectx symbol in
>>>>> /usr/lib/libSystem.B.dylib
>>>>>
>>>>> Man page shows that:
>>>>> The connectx() function call appeared in Darwin 15.0.0
>>>>>
>>>>> Why is connectx() function in <sys/socket.h> not marked for weak-linking?
>>>>> As I understand it's recommended to use weak-linking when extending
>>>>> dynamic library (libsystem-kernel.dylib in this case).
>>>>>
>>>>> As a result the libcurl cannot use connectx() fast tcp connect on 10.11
>>>>> (and later) and at the same time targetting previous systems which do not
>>>>> have this function at all.
>>>>>
>>>>> Any idea how to solve this except of doing preprocessor checks like:
>>>>>
>>>>> #if defined(__MAC_OS_X_VERSION_MIN_REQUIRED)
>>>>> # if (__MAC_OS_X_VERSION_MIN_REQUIRED >= 101100)
>>>>> # define HAVE_DARWIN_CONNECTX 1
>>>>> # endif
>>>>> #elif defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
>>>>> # if (__IPHONE_OS_VERSION_MIN_REQUIRED >= 90000)
>>>>> # define HAVE_DARWIN_CONNECTX 1
>>>>> # endif
>>>>> #elif defined(CONNECT_DATA_IDEMPOTENT) /* Fallback for other Darwin OS
>>>>> */
>>>>> # define HAVE_DARWIN_CONNECTX 1
>>>>> #endif
>>>>>
>>>>> Best regards,
>>>>> Pavol Markovic
>>>>> _______________________________________________
>>>>> Do not post admin requests to the list. They will be ignored.
>>>>> Darwin-dev mailing list (email@hidden)
>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>
>>>>> This email sent to email@hidden
>>>>
>>>> _______________________________________________
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Darwin-dev mailing list (email@hidden)
>>>> Help/Unsubscribe/Update your Subscription:
>>>>
>>>> This email sent to email@hidden
>>>
>>>
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Darwin-dev mailing list (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>> This email sent to email@hidden
>>
>
>
>
>
> ------------------------------
>
> _______________________________________________
> Darwin-dev mailing list
> email@hidden
> https://lists.apple.com/mailman/listinfo/darwin-dev
>
> End of Darwin-dev Digest, Vol 14, Issue 9
> *****************************************
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden