Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 891800 Details for
Bug 930641
sci-libs/caffe2-2.2.2: fails compilation with musl: 'LONG_LONG_MAX' was not declared in this scope
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
musl.patch (text/plain), 724 bytes, created by
Felix Janda
on 2024-04-26 17:01:42 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Felix Janda
Created:
2024-04-26 17:01:42 UTC
Size:
724 bytes
patch
obsolete
>commit c5cbd1b6026ce95465ca21e941465467e5d1f020 >Author: Felix Janda <felix.janda@posteo.de> >Date: Fri Apr 26 12:21:49 2024 -0400 > > [unwind] replace LONG_LONG_MAX by the portable LLONG_MAX > > This fixes a compilation error on systems with the musl c library. > >diff --git a/torch/csrc/profiler/unwind/unwind.cpp b/torch/csrc/profiler/unwind/unwind.cpp >index f3fbde151b..13005ac26b 100644 >--- a/torch/csrc/profiler/unwind/unwind.cpp >+++ b/torch/csrc/profiler/unwind/unwind.cpp >@@ -114,8 +114,8 @@ static const char* process_name() { > } > > struct Version { >- uint64_t adds_ = LONG_LONG_MAX; >- uint64_t subs_ = LONG_LONG_MAX; >+ uint64_t adds_ = LLONG_MAX; >+ uint64_t subs_ = LLONG_MAX; > }; > > struct UnwindCache {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 930641
: 891800