Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#5886 closed enhancement (fixed)

Potential problem at llvm-3.5.0.src with gcc-4.9.x

Reported by: Alain Azuelos Owned by: bdubbs@…
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 Armin K, 11 years ago

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.

comment:2 by bdubbs@…, 11 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:3 by Fernando de Oliveira, 11 years ago

Agree. Due to that problem, would you mind, please, taking this?

comment:4 by bdubbs@…, 11 years ago

Owner: changed from blfs-book@… to bdubbs@…
Status: newassigned

comment:5 by bdubbs@…, 11 years ago

Resolution: fixed
Status: assignedclosed

Added a note at version 15074.

comment:6 by Fernando de Oliveira, 11 years ago

Thank you very much!!!

Note: See TracTickets for help on using tickets.