ALT Linux Bugzilla
– Attachment 7932 Details for
Bug 35856
[PATCH] собираемость lcc-1.23
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
[e2k] added lcc-1.23 related patch (gcc5's __builtin_* missing)
0001-e2k-added-lcc-1.23-related-patch-gcc5-s-__builtin_-m.patch (text/plain), 1.79 KB, created by
Michael Shigorin
on 2019-01-09 18:47:25 MSK
(
hide
)
Description:
[e2k] added lcc-1.23 related patch (gcc5's __builtin_* missing)
Filename:
MIME Type:
Creator:
Michael Shigorin
Created:
2019-01-09 18:47:25 MSK
Size:
1.79 KB
patch
obsolete
>From 75c8857e123a4ec0a93bb5c79c3c5f1f3a72d8bd Mon Sep 17 00:00:00 2001 >From: Michael Shigorin <mike@altlinux.org> >Date: Wed, 9 Jan 2019 16:28:48 +0300 >Subject: [PATCH 1/3] [e2k] added lcc-1.23 related patch (gcc5's __builtin_* > missing) > >--- > .gear/php7-7.2.13-alt-e2k-lcc123.patch | 31 +++++++++++++++++++++++++++++++ > 1 file changed, 31 insertions(+) > create mode 100644 .gear/php7-7.2.13-alt-e2k-lcc123.patch > >diff --git a/.gear/php7-7.2.13-alt-e2k-lcc123.patch b/.gear/php7-7.2.13-alt-e2k-lcc123.patch >new file mode 100644 >index 0000000..0000da1 >--- /dev/null >+++ b/.gear/php7-7.2.13-alt-e2k-lcc123.patch >@@ -0,0 +1,31 @@ >+diff --git a/ext/sqlite3/libsqlite/sqlite3.c b/ext/sqlite3/libsqlite/sqlite3.c >+index ea5ba16..1de7814 100644 >+--- a/ext/sqlite3/libsqlite/sqlite3.c >++++ b/ext/sqlite3/libsqlite/sqlite3.c >+@@ -29466,7 +29466,7 @@ SQLITE_PRIVATE int sqlite3SafetyCheckSickOrOk(sqlite3 *db){ >+ ** overflow, leave *pA unchanged and return 1. >+ */ >+ SQLITE_PRIVATE int sqlite3AddInt64(i64 *pA, i64 iB){ >+-#if GCC_VERSION>=5004000 >++#if GCC_VERSION>=5004000 && !(defined __LCC__ && __LCC__ <= 123) >+ return __builtin_add_overflow(*pA, iB, pA); >+ #else >+ i64 iA = *pA; >+@@ -29486,7 +29486,7 @@ SQLITE_PRIVATE int sqlite3AddInt64(i64 *pA, i64 iB){ >+ #endif >+ } >+ SQLITE_PRIVATE int sqlite3SubInt64(i64 *pA, i64 iB){ >+-#if GCC_VERSION>=5004000 >++#if GCC_VERSION>=5004000 && !(defined __LCC__ && __LCC__ <= 123) >+ return __builtin_sub_overflow(*pA, iB, pA); >+ #else >+ testcase( iB==SMALLEST_INT64+1 ); >+@@ -29501,7 +29501,7 @@ SQLITE_PRIVATE int sqlite3SubInt64(i64 *pA, i64 iB){ >+ #endif >+ } >+ SQLITE_PRIVATE int sqlite3MulInt64(i64 *pA, i64 iB){ >+-#if GCC_VERSION>=5004000 >++#if GCC_VERSION>=5004000 && !(defined __LCC__ && __LCC__ <= 123) >+ return __builtin_mul_overflow(*pA, iB, pA); >+ #else >+ i64 iA = *pA; >-- >2.10.4 >
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 35856
: 7932 |
7933
|
7934