Bug 49275 - clang -print-runtime-dir shows non-existent directory
Summary: clang -print-runtime-dir shows non-existent directory
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: clang (show other bugs)
Version: unstable
Hardware: x86 Linux
: P5 normal
Assignee: Arseny Maslennikov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-02 19:17 MSK by Alexey Gladkov
Modified: 2024-02-12 00:20 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 Alexey Gladkov 2024-02-02 19:17:56 MSK
clang-17 выдаёт неправильную директорию на i586:

$ clang -print-runtime-dir

на  x86_64: /usr/lib/llvm-17.0/lib64/clang/17/lib/x86_64-unknown-linux-gnu
на aarch64: /usr/lib/llvm-17.0/lib64/clang/17/lib/aarch64-unknown-linux-gnu
на ppc64le: /usr/lib/llvm-17.0/lib64/clang/17/lib/powerpc64le-unknown-linux-gnu
на    armh: /usr/lib/llvm-17.0/lib/clang/17/lib/arm-unknown-linux-gnueabihf

на i586:       /usr/lib/llvm-17.0/lib/clang/17/lib/linux
а должно быть: /usr/lib/llvm-17.0/lib/clang/17/lib/i586-pc-linux-gnu
Comment 1 Konstantin A Lepikhov (L.A. Kostis) 2024-02-12 00:20:06 MSK
Fixed in llvm17.0-17.0.6-alt2:

* Thu Feb 08 2024 L.A. Kostis <lakostis@altlinux ru> 17.0.6-alt2                                                                                                                                                                                                                          
- clang: fix wrong -print-runtime-dir on %%ix86.