Skip to content

Commit 6206ffe

Browse files
committed
Merge branch 'rightlib' into merge-libs-250112-0023
2 parents 039db66 + b5a2fa5 commit 6206ffe

File tree

182 files changed

+1988
-1099
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

182 files changed

+1988
-1099
lines changed

contrib/libs/curl/.yandex_meta/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,6 @@ def post_install(self):
8383

8484
# add ifaddrs implementation if needed
8585
m.PEERDIR.add("contrib/libs/libc_compat")
86-
m.PEERDIR.add("contrib/libs/openssl")
87-
m.PEERDIR.add("contrib/libs/ngtcp2")
88-
m.PEERDIR.add("contrib/libs/nghttp3")
8986

9087
# make c-ares dependency conditional,
9188
# but leave ADDINCL in place to make CONFIGURE work

contrib/libs/curl/.yandex_meta/override.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ in rec {
2929
];
3030

3131
configureFlags = [
32+
"--build=x86_64-pc-linux-gnu"
3233
"--disable-manual"
3334
"--disable-ldap"
3435
"--disable-ldaps"
@@ -41,6 +42,7 @@ in rec {
4142
"--with-ngtcp2"
4243
"--without-gnutls"
4344
"--without-libidn2"
45+
"--without-libpsl"
4446
"--without-librtmp"
4547
"--without-wolfssl"
4648
];

contrib/libs/curl/lib/curl_config-linux.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@
161161
#define HAVE_ALARM 1
162162

163163
/* Define to 1 if you have the `arc4random' function. */
164-
/* #undef HAVE_ARC4RANDOM */
164+
#define HAVE_ARC4RANDOM 1
165165

166166
/* Define to 1 if you have the <arpa/inet.h> header file. */
167167
#define HAVE_ARPA_INET_H 1

contrib/libs/curl/ya.make

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Generated by devtools/yamaker from nixpkgs 22.11.
1+
# Generated by devtools/yamaker from nixpkgs 24.05.
22

33
LIBRARY()
44

@@ -36,6 +36,7 @@ ENDIF()
3636
ADDINCL(
3737
GLOBAL contrib/libs/curl/include
3838
contrib/libs/curl/lib
39+
contrib/libs/ngtcp2/crypto/includes
3940
contrib/libs/zstd/include
4041
)
4142

contrib/libs/libunwind/.yandex_meta/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ def post_install(self):
2525
{
2626
"NOT OS_EMSCRIPTEN": Linkable(
2727
SRCS=sources,
28-
CFLAGS=["-D_LIBUNWIND_IS_NATIVE_ONLY"],
2928
),
3029
"OS_EMSCRIPTEN AND ARCH_WASM32": Linkable(
3130
SRCS=["src/Unwind-wasm.c"],
@@ -39,7 +38,7 @@ def post_install(self):
3938
PEERDIR=["contrib/restricted/emscripten/include"],
4039
CFLAGS=[
4140
"-D_LIBUNWIND_HIDE_SYMBOLS",
42-
"-D__USING_WASM_EXCEPTIONS__",
41+
"-D__WASM_EXCEPTIONS__",
4342
],
4443
),
4544
}

contrib/libs/libunwind/.yandex_meta/override.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
pkgs: attrs: with pkgs; with attrs; rec {
2-
version = "18.1.0-rc1";
2+
version = "19.1.6";
33

44
src = fetchFromGitHub {
55
owner = "llvm";
66
repo = "llvm-project";
77
rev = "llvmorg-${version}";
8-
hash = "sha256-I9VUoDv+P/3C6R1I9VozGYJDjK4KBAkezVkpPMLjMuU=";
8+
hash = "sha256-LD4nIjZTSZJtbgW6tZopbTF5Mq0Tenj2gbuPXhtOeUI=";
99
};
1010

1111
patches = [];

contrib/libs/libunwind/patches/03-unused.patch

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,6 @@ diff --git a/contrib/libs/libunwind/src/Unwind-EHABI.cpp b/contrib/libs/libunwin
1313
diff --git a/contrib/libs/libunwind/src/UnwindLevel1.c b/contrib/libs/libunwind/src/UnwindLevel1.c
1414
--- a/contrib/libs/libunwind/src/UnwindLevel1.c
1515
+++ b/contrib/libs/libunwind/src/UnwindLevel1.c
16-
@@ -195,7 +195,7 @@
17-
18-
// uc is initialized by __unw_getcontext in the parent frame. The first stack
19-
// frame walked is unwind_phase2.
20-
- unsigned framesWalked = 1;
21-
+ unsigned framesWalked __attribute__((unused)) = 1;
22-
#ifdef _LIBUNWIND_USE_CET
23-
unsigned long shadowStackTop = _get_ssp();
24-
#endif
2516
@@ -330,7 +330,7 @@
2617

2718
// uc is initialized by __unw_getcontext in the parent frame. The first stack

contrib/libs/libunwind/patches/04-wasm-config.patch

Lines changed: 0 additions & 19 deletions
This file was deleted.

contrib/libs/libunwind/patches/04-wasm-exceptions.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
#include "config.h"
66

7-
-#ifdef __USING_WASM_EXCEPTIONS__
7+
-#ifdef __WASM_EXCEPTIONS__
88

99
#include "unwind.h"
1010
+
11-
+#ifdef __USING_WASM_EXCEPTIONS__
11+
+#ifdef __WASM_EXCEPTIONS__
1212
#include <threads.h>
1313

1414
_Unwind_Reason_Code __gxx_personality_wasm0(int version, _Unwind_Action actions,
@@ -24,4 +24,4 @@
2424
+_Unwind_RaiseException(_Unwind_Exception *exception_object __attribute__((unused))) {
2525
+ abort();
2626
+}
27-
#endif // defined(__USING_WASM_EXCEPTIONS__)
27+
#endif // defined(__WASM_EXCEPTIONS__)

contrib/libs/libunwind/src/Registers.hpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1815,6 +1815,13 @@ inline const char *Registers_ppc64::getRegisterName(int regNum) {
18151815
/// process.
18161816
class _LIBUNWIND_HIDDEN Registers_arm64;
18171817
extern "C" void __libunwind_Registers_arm64_jumpto(Registers_arm64 *);
1818+
1819+
#if defined(_LIBUNWIND_USE_GCS)
1820+
extern "C" void *__libunwind_cet_get_jump_target() {
1821+
return reinterpret_cast<void *>(&__libunwind_Registers_arm64_jumpto);
1822+
}
1823+
#endif
1824+
18181825
class _LIBUNWIND_HIDDEN Registers_arm64 {
18191826
public:
18201827
Registers_arm64();

0 commit comments

Comments
 (0)