Bug 36093 - mipsel-alt-linux triplet
Summary: mipsel-alt-linux triplet
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: llvm7.0 (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Arseny Maslennikov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-13 16:01 MSK by Ivan A. Melnikov
Modified: 2021-02-11 23:42 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan A. Melnikov 2019-02-13 16:01:21 MSK
Для работы llvm в sisyphus_mipsel необходимо добавить к известным ему триплет mipsel-alt-linux. Сделать это можно, например, так:

http://git.altlinux.org/people/iv/packages/llvm.git?p=llvm.git;a=commitdiff;h=16d54c31963e6b74f5ad954d856943f310c4e08b

Пожалуйста внесите это или аналогичное изменение в следющую сборку llvm.
Comment 1 Konstantin A Lepikhov (L.A. Kostis) 2021-02-11 22:54:43 MSK
Дарю новому мантейнеру, не благодарите
Comment 2 Arseny Maslennikov 2021-02-11 23:42:30 MSK
(In reply to Ivan A. Melnikov from comment #0)
> Для работы llvm в sisyphus_mipsel необходимо добавить к известным ему
> триплет mipsel-alt-linux. Сделать это можно, например, так:
> 
> http://git.altlinux.org/people/iv/packages/llvm.git?p=llvm.git;a=commitdiff;
> h=16d54c31963e6b74f5ad954d856943f310c4e08b
> 
> Пожалуйста внесите это или аналогичное изменение в следющую сборку llvm.

% grep -C5 mipsel *.patch
clang-11-alt-triple.patch-   static const char *const MIPSLibDirs[] = {"/lib"};
clang-11-alt-triple.patch-   static const char *const MIPSTriples[] = {
clang-11-alt-triple.patch-@@ -2095,7 +2097,7 @@ void Generic_GCC::GCCInstallationDetecto
clang-11-alt-triple.patch-   static const char *const MIPSELLibDirs[] = {"/lib"};
clang-11-alt-triple.patch-   static const char *const MIPSELTriples[] = {
clang-11-alt-triple.patch:       "mipsel-linux-gnu", "mips-img-linux-gnu", "mipsisa32r6el-linux-gnu",
clang-11-alt-triple.patch:-      "mipsel-linux-android"};
clang-11-alt-triple.patch:+      "mipsel-linux-android", "mipsel-alt-linux", "mipsel-alt-linux-gnu"};
clang-11-alt-triple.patch- 
clang-11-alt-triple.patch-   static const char *const MIPS64LibDirs[] = {"/lib64", "/lib"};
clang-11-alt-triple.patch-   static const char *const MIPS64Triples[] = {
clang-11-alt-triple.patch-@@ -2107,7 +2109,7 @@ void Generic_GCC::GCCInstallationDetecto
clang-11-alt-triple.patch-       "mips64el-linux-gnu",      "mips-mti-linux-gnu",

По беглому взгляду — это оно.