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

compiler-rt uses deprecated definitions of ustat #36766

Closed
rusyaev-roman opened this issue May 11, 2018 · 8 comments
Closed

compiler-rt uses deprecated definitions of ustat #36766

rusyaev-roman opened this issue May 11, 2018 · 8 comments
Assignees
Labels
bugzilla Issues migrated from bugzilla compiler-rt

Comments

@rusyaev-roman
Copy link
Member

Bugzilla Link 37418
Resolution FIXED
Resolved on Jun 14, 2018 15:33
Version unspecified
OS Linux
Blocks #35997
CC @hjl-tools,@tstellar,@vitalybuka
Fixed by commit(s) r333213 r334776

Extended Description

Hi!

Deprecated function ustat has been removed from upstream glibc.

From NEWS file of glibc version 2.28:

  • The obsolete function ustat is no longer available to newly linked
    binaries; the headers <ustat.h> and <sys/ustat.h> have been removed. This
    function has been deprecated in favor of fstatfs and statfs.

Please, remove all uses of ustat from compiler-rt.

Thanks,
Roman.

@rusyaev-roman
Copy link
Member Author

assigned to @kcc

@hjl-tools
Copy link
Contributor

Fixed by compiler-rt revision 333213.

@llvmbot
Copy link
Collaborator

llvmbot commented May 31, 2018

Seems like only LLBM mainline got fixed.

Can this issue also get fixed in LLVM release_60 branch too.

LLVM release_60 can not build on Fedora 29(rawhide) because of this issue.

@vitalybuka
Copy link
Collaborator

Is it OK to merge the following revision(s) to the 6.0 branch?
https://reviews.llvm.org/rL333213

@vitalybuka
Copy link
Collaborator

*** Bug llvm/llvm-bugzilla-archive#37775 has been marked as a duplicate of this bug. ***

@tstellar
Copy link
Collaborator

Hi Kostya,

What do you think about merging https://reviews.llvm.org/rL333213 to the release_60 branch?

@tstellar
Copy link
Collaborator

Merged: r334776

@vitalybuka
Copy link
Collaborator

mentioned in issue llvm/llvm-bugzilla-archive#37775

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 10, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla compiler-rt
Projects
None yet
Development

No branches or pull requests

5 participants