Bug 35856 - [PATCH] собираемость lcc-1.23
Summary: [PATCH] собираемость lcc-1.23
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: php7 (show other bugs)
Version: unstable
Hardware: e2k Linux
: P3 enhancement
Assignee: Anton Farygin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-09 18:47 MSK by Michael Shigorin
Modified: 2019-01-17 23:02 MSK (History)
1 user (show)

See Also:


Attachments
[e2k] added lcc-1.23 related patch (gcc5's __builtin_* missing) (1.79 KB, patch)
2019-01-09 18:47 MSK, Michael Shigorin
no flags Details | Diff
spec patch (898 bytes, patch)
2019-01-09 18:48 MSK, Michael Shigorin
no flags Details | Diff
7.2.13-alt2 (у меня собирается) (1008 bytes, patch)
2019-01-09 18:48 MSK, Michael Shigorin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Shigorin 2019-01-09 18:47:25 MSK
Created attachment 7932 [details]
[e2k] added lcc-1.23 related patch (gcc5's __builtin_*  missing)

Забандленная копия sqlite3 в php7 не собирается сходу lcc-1.23, в котором недостаёт builtin'ов из gcc5:

lcc: "/usr/src/RPM/BUILD/php7-source/ext/sqlite3/libsqlite/sqlite3.c", строка 29470: ошибка:
          неизвестная built-in функция __builtin_add_overflow()
make: *** [ext/sqlite3/libsqlite/sqlite3.lo] Error 1

Прилагаю патчик, обходящий проблему рекомендованным поставщиком способом.
Comment 1 Michael Shigorin 2019-01-09 18:48:01 MSK
Created attachment 7933 [details]
spec patch
Comment 2 Michael Shigorin 2019-01-09 18:48:32 MSK
Created attachment 7934 [details]
7.2.13-alt2 (у меня собирается)
Comment 3 Michael Shigorin 2019-01-15 18:27:54 MSK
В 7.2.14, кстати, минимум один ремотный сегфолт в core полечили, пишут:
https://bugs.php.net/bug.php?id=77369
Comment 4 Anton Farygin 2019-01-16 08:13:21 MSK
Миша, на будущее было бы удобнее просто мержить твой git репозиторий.
Comment 5 Michael Shigorin 2019-01-17 13:53:04 MSK
(В ответ на комментарий №4)
> Миша, на будущее было бы удобнее просто мержить твой git репозиторий.
Эээ... так для того и готовил, чтоб хоть мержить, хоть чпикать.
Ты только смержи, а то всё так же не наблюдаю в
http://git.altlinux.org/people/rider/packages/?p=php.git;a=shortlog;h=refs/heads/sisyphus и _сейчас_ это важно.
Comment 6 Anton Farygin 2019-01-17 15:19:09 MSK
Позвонил по телефону, показал куда смотреть ;)
Comment 7 Michael Shigorin 2019-01-17 16:11:02 MSK
Спасибо :)
Comment 8 Repository Robot 2019-01-17 23:02:22 MSK
php7-7.2.14-alt1 -> sisyphus:

Tue Jan 15 2019 Anton Farygin <rider@altlinux.ru> 7.2.14-alt1
- 7.2.14 (fixes: CVE-2018-19935)
- removed the .a archive from php7-mysqlnd package (closes: #34521)
- E2K: worked around the lack of gcc5's builtins in lcc-1.23 (closes: #35856)