<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ydb/util/system, branch get_cmakelists2</title>
<subtitle>Mirror of YDB github repos</subtitle>
<id>https://code.mastervirt.ru/ydb/atom?h=get_cmakelists2</id>
<link rel='self' href='https://code.mastervirt.ru/ydb/atom?h=get_cmakelists2'/>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/'/>
<updated>2023-06-22T10:27:40Z</updated>
<entry>
<title>Revert commit rXXXXXX, Optimize CloseAllFdsOnExec for large MaxOpenFiles</title>
<updated>2023-06-22T10:27:40Z</updated>
<author>
<name>say</name>
<email>say@yandex-team.com</email>
</author>
<published>2023-06-22T10:27:40Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=8b6f16bdaac2d0e2ca9551f01414585a0e0951da'/>
<id>urn:sha1:8b6f16bdaac2d0e2ca9551f01414585a0e0951da</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add ymake export to ydb</title>
<updated>2023-06-13T08:05:01Z</updated>
<author>
<name>alexv-smirnov</name>
<email>alex@ydb.tech</email>
</author>
<published>2023-06-13T08:05:01Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0'/>
<id>urn:sha1:bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Delete constant reference API to DoNotOptimizeAway</title>
<updated>2023-06-12T18:00:15Z</updated>
<author>
<name>bulatman</name>
<email>bulatman@yandex-team.com</email>
</author>
<published>2023-06-12T18:00:15Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=640dbbe9b05b4b54bef29c5e3cf25d73bdcaf4a7'/>
<id>urn:sha1:640dbbe9b05b4b54bef29c5e3cf25d73bdcaf4a7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove extra semicolon (util)</title>
<updated>2023-06-12T12:39:10Z</updated>
<author>
<name>bulatman</name>
<email>bulatman@yandex-team.com</email>
</author>
<published>2023-06-12T12:39:10Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=7c5a27ccb26f24801b005c5093b128de084476eb'/>
<id>urn:sha1:7c5a27ccb26f24801b005c5093b128de084476eb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Require semicolon after saveload macroses</title>
<updated>2023-06-08T17:05:16Z</updated>
<author>
<name>bulatman</name>
<email>bulatman@yandex-team.com</email>
</author>
<published>2023-06-08T17:05:16Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=df6af3ee4741c667cf0c449696f768186bdc5752'/>
<id>urn:sha1:df6af3ee4741c667cf0c449696f768186bdc5752</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove xray support</title>
<updated>2023-06-06T10:16:22Z</updated>
<author>
<name>thegeorg</name>
<email>thegeorg@yandex-team.com</email>
</author>
<published>2023-06-06T10:16:22Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=ed277181e5a96f90f07fb040d45772242919c09d'/>
<id>urn:sha1:ed277181e5a96f90f07fb040d45772242919c09d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Optimize CloseAllFdsOnExec for large MaxOpenFiles</title>
<updated>2023-05-11T18:33:03Z</updated>
<author>
<name>say</name>
<email>say@yandex-team.com</email>
</author>
<published>2023-05-11T18:33:03Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=7df1977a606ccd826561ecb88ee0f35ddf92e0f9'/>
<id>urn:sha1:7df1977a606ccd826561ecb88ee0f35ddf92e0f9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Mute -Wdeprecated-declarations error when thread sanitizer enabled on darwin platform</title>
<updated>2023-05-09T20:03:47Z</updated>
<author>
<name>hiddenpath</name>
<email>hiddenpath@yandex-team.com</email>
</author>
<published>2023-05-09T20:03:47Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=a2b07bdd8ae0998c6f7b5ec402a830da91198ac5'/>
<id>urn:sha1:a2b07bdd8ae0998c6f7b5ec402a830da91198ac5</id>
<content type='text'>
При сборке проектов с ```--sanitize=thread``` под **darwin**, по умолчанию попадет ```util``` и его часть ```system/context.h```, где в случае ```thread_sanitizer_enabled``` выставляется ```USE_UCONTEXT_CONT```, что приводит к использованию [депрекейтнутного](https://opensource.apple.com/source/libplatform/libplatform-125/include/ucontext.h.auto.html) ```&lt;ucontext.h&gt;``` из [macos_sdk](https://a.yandex-team.ru/arcadia/build/platform/macos_sdk/ya.make?rev=rXXXXXX#L6).


Без должных изменений, сборка падает с ошибкой.
```In file included from /Users/hiddenpath/.ya/build/build_root/fnjm/000128/util/all_system_1.cpp:13:
In file included from /Users/hiddenpath/arcadia/util/system/context.cpp:31:
In file included from /Users/hiddenpath/arcadia/util/system/context.h:46:
/Users/hiddenpath/.ya/tools/v4/2088833948/usr/include/ucontext.h:51:2: error: The deprecated ucontext routines require _XOPEN_SOURCE to be defined
#error The deprecated ucontext routines require _XOPEN_SOURCE to be defined
 ^
In file included from /Users/hiddenpath/.ya/build/build_root/fnjm/000128/util/all_system_1.cpp:13:
In file included from /Users/hiddenpath/arcadia/util/system/context.cpp:31:
/Users/hiddenpath/arcadia/util/system/context.h:68:9: error: use of undeclared identifier 'getcontext'
        getcontext(&amp;Ctx_);
        ^
/Users/hiddenpath/arcadia/util/system/context.h:72:9: error: use of undeclared identifier 'getcontext'
        getcontext(&amp;Ctx_);
        ^
/Users/hiddenpath/arcadia/util/system/context.h:80:9: error: use of undeclared identifier 'makecontext'
        makecontext(&amp;Ctx_, (ucontext_func_t)ContextTrampoLine, 1, c.TrampoLine);
        ^
/Users/hiddenpath/arcadia/util/system/context.h:87:9: error: use of undeclared identifier 'swapcontext'
        swapcontext(&amp;Ctx_, &amp;next-&gt;Ctx_);
        ^
5 errors generated.
Failed</content>
</entry>
<entry>
<title>Remove using of extra semicolons in util</title>
<updated>2023-05-04T07:28:45Z</updated>
<author>
<name>bulatman</name>
<email>bulatman@yandex-team.com</email>
</author>
<published>2023-05-04T07:28:45Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=6bccf8a6c51dfc4e563317584ee71ea0637c452a'/>
<id>urn:sha1:6bccf8a6c51dfc4e563317584ee71ea0637c452a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Simplify system utime.h include</title>
<updated>2023-04-27T08:49:01Z</updated>
<author>
<name>spreis</name>
<email>spreis@yandex-team.com</email>
</author>
<published>2023-04-27T08:49:01Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=e3ee28dfc5cdfc85597dc3fad2c368ba8f574d11'/>
<id>urn:sha1:e3ee28dfc5cdfc85597dc3fad2c368ba8f574d11</id>
<content type='text'>
There is no reason now to hide include behind macro: we have sysincls properly working for years</content>
</entry>
</feed>
