#5886 closed enhancement (fixed)
Potential problem at llvm-3.5.0.src with gcc-4.9.x
Reported by: | Alain Azuelos | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.7 |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description
Hi
Potential problem at llvm-3.5.0.src
With compiler GCC 4.9.x he seem that process build could be halted on file ./tools/opt/opt.cpp when his object is generated.
To solve require you add on this two files:
./include/llvm/IR/LegacyPassNameParser.h just after (line 96) EXTERN_TEMPLATE_INSTANTIATION(class cl::parser<const PassInfo *>);
./lib/IR/Pass.cpp just after (line 235) TEMPLATE_INSTANTIATION(class cl::parser<const PassInfo *>);
Regards
Change History (6)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
Lets add a note that about gcc to this page.
"This package hits a bug in gcc-4.9.0 or an unpatched gcc-4.9.1. To build this package, gcc needs to be updated if you have one of these versions. See http://www.linuxfromscratch.org/blfs/view/7.6/general/gcc.html"
comment:4 by , 9 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:5 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Added a note at version 15074.
This is an issue with LLVM-3.5.0 and GCC-4.9.0 and/or GCC-4.9.1. It has been fixed in GCC-4.9.2. For GCC-4.9.1, we patched GCC directly to fix the regression.