Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 372008 Details for
Bug 474748
Accepting clang as an official supported compiler on OSX
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
lto patch to allow cctools to build
cctools-839-lto.patch (text/plain), 943 bytes, created by
Reza Jelveh
on 2014-03-07 22:24:47 UTC
(
hide
)
Description:
lto patch to allow cctools to build
Filename:
MIME Type:
Creator:
Reza Jelveh
Created:
2014-03-07 22:24:47 UTC
Size:
943 bytes
patch
obsolete
>diff --git a/libstuff/lto.c b/libstuff/lto.c >index 6f5758d..5ba7996 100644 >--- a/libstuff/lto.c >+++ b/libstuff/lto.c >@@ -381,4 +381,17 @@ void *mod) > lto_dispose(mod); > } > >+#else >+ >+#include <stdlib.h> >+ >+__private_extern__ >+int >+is_llvm_bitcode( >+ struct ofile *ofile, >+ char *addr, >+ size_t size) >+{ >+ return 0; >+} > #endif /* LTO_SUPPORT */ >diff --git a/misc/libtool.c b/misc/libtool.c >index f9c7557..ff829cc 100644 >--- a/misc/libtool.c >+++ b/misc/libtool.c >@@ -1370,8 +1370,11 @@ void) > } > } > } >- else if(ofiles[i].arch_type == OFILE_Mach_O || >- ofiles[i].arch_type == OFILE_LLVM_BITCODE){ >+ else if(ofiles[i].arch_type == OFILE_Mach_O >+#ifdef LTO_SUPPORT >+ || ofiles[i].arch_type == OFILE_LLVM_BITCODE >+#endif >+ ){ > if(cmd_flags.ranlib == TRUE){ > error("for architecture: %s file: %s is not an " > "archive (no processing done on this file)",
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 474748
:
371990
|
371992
|
371994
|
372004
| 372008 |
372012
|
372020
|
383032
|
394024
|
395260