Can't manage to build ldc, problem seems to be compiling ldc/runtime/profile-rt/profile-rt-38/GCDAProfiling.c

Johan Engelen via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Sat Jul 23 08:06:12 PDT 2016


On Saturday, 23 July 2016 at 14:07:20 UTC, Andrew wrote:
> On Saturday, 23 July 2016 at 14:04:22 UTC, Andrew wrote:
>> On Saturday, 23 July 2016 at 13:34:14 UTC, Johan Engelen wrote:
>>> Can you check whether the file "sys/mman.h" contains MAP_FILE 
>>> or not?
>>
>> Sorry, replied without seeing this message. In 
>> /usr/include/sys/mman.h there's no mention of MAP_FILE or 
>> MAP_SHARED
>
> /usr/include/bits/mman.h has:
>
> # define MAP_FILE	0

Where is MAP_SHARED defined?

This is a bug in LLVM's compile-rt project, and it'd be good to 
find a proper fix for it.
Perhaps it is adding the correct header file, or adding
#ifndef MAP_FILE
# define MAP_FILE 0
#endif



More information about the digitalmars-d-ldc mailing list