Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 595900 Details for
Bug 691764
dev-util/android-tools-9.0.0_p3 : /.../unistd_ext.h:34:16: error: declaration of _pid_t gettid() noexcept has a different exception specifier
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
use-glibc-s-gettid-when-using-glibc-2.30.patch
use-glibc-s-gettid-when-using-glibc-2.30.patch (text/plain), 1.23 KB, created by
Greg Turner
on 2019-11-12 15:41:10 UTC
(
hide
)
Description:
use-glibc-s-gettid-when-using-glibc-2.30.patch
Filename:
MIME Type:
Creator:
Greg Turner
Created:
2019-11-12 15:41:10 UTC
Size:
1.23 KB
patch
obsolete
>c.f.: https://raw.githubusercontent.com/nmeum/android-tools/237abccb95cadd78f2c431bc34974c2598804c21/patches/core/0022-Use-glibc-s-gettid-when-using-glibc-2.30.patch > >diff -urpN a/core/libcutils/include/cutils/threads.h b/core/libcutils/include/cutils/threads.h >--- a/core/libcutils/include/cutils/threads.h 2018-06-20 17:58:42.000000000 -0700 >+++ b/core/libcutils/include/cutils/threads.h 2019-11-12 07:26:44.612266274 -0800 >@@ -37,7 +37,9 @@ extern "C" { > /***********************************************************************/ > /***********************************************************************/ > >+#if !defined(__GLIBC__) || __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 30) > extern pid_t gettid(); >+#endif > > #if !defined(_WIN32) > >diff -urpN a/core/libcutils/threads.cpp b/core/libcutils/threads.cpp >--- a/core/libcutils/threads.cpp 2018-06-20 17:58:42.000000000 -0700 >+++ b/core/libcutils/threads.cpp 2019-11-12 07:26:44.612266274 -0800 >@@ -32,7 +32,7 @@ > #endif > > // No definition needed for Android because we'll just pick up bionic's copy. >-#ifndef __ANDROID__ >+#if !defined(__ANDROID__) || !defined(__GLIBC__) || __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 30) > pid_t gettid() { > #if defined(__APPLE__) > uint64_t tid;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 691764
:
586224
|
586226
|
586228
|
586230
|
586232
|
586234
| 595900