Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-11163] Build should support LLVM_LIBDIR_SUFFIX #4335

Open
kevints mannequin opened this issue Jul 19, 2019 · 0 comments
Open

[SR-11163] Build should support LLVM_LIBDIR_SUFFIX #4335

kevints mannequin opened this issue Jul 19, 2019 · 0 comments
Labels
bug Something isn't working LLDB for Swift

Comments

@kevints
Copy link
Mannequin

kevints mannequin commented Jul 19, 2019

Previous ID SR-11163
Radar None
Original Reporter @kevints
Type Bug
Additional Detail from JIRA
Votes 0
Component/s LLDB for Swift
Labels Bug
Assignee None
Priority Medium

md5: 1526d0675a855f2d66f8215a223266ce

Issue Description:

This is a generalization of SR-100 and SR-143 - the lldb build currently fails on systems that use /usr/lib64 as their libdir instead of /usr/lib/x86_64-linux-gnu. This will happen due to something like the following error message:

-- Install configuration: "Release"
CMake Error at scripts/cmake_install.cmake:41 (file):
  file INSTALL cannot find
  "/code/build/buildbot_linux/lldb-linux-x86_64/./lib/python2.7".
Call Stack (most recent call first):
  cmake_install.cmake:42 (include)

The reason for this message is because the build folder contains lib64/python2.7 (which is where python libraries should be installed on these systems. Actually setting the LLVM_LIBDIR_SUFFIX cache variable to 64 doesn't work though as lldb then complains that it can't find swift in lib64. I think the fix is to teach the build system to properly use LLVM_LIBDIR_SUFFIX everywhere (which would result in /usr/lib64/swift on systems where that's the convention).

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working LLDB for Swift
Projects
None yet
Development

No branches or pull requests

0 participants