Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 568336

Summary: sys-devel/llvm-3.5.0 fails to build: Error: open CFI at the end of file; missing .cfi_endproc directive
Product: Gentoo Linux Reporter: Craig Inches <craig>
Component: [OLD] DevelopmentAssignee: Bernard Cafarelli <voyageur>
Status: RESOLVED INVALID    
Severity: normal CC: craig, mgorny, troysung
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: BuildLog part1
BuildLog part2
emerge --info

Description Craig Inches 2015-12-15 16:16:34 UTC
Emerge fails with:
* ERROR: sys-devel/llvm-3.5.0::gentoo failed (compile phase):
 *   emake failed
 *

llvm[3]: Compiling InstCombineAndOrXor.cpp for Release build
{standard input}: Assembler messages:
{standard input}:33582: Warning: end of file not at end of a line; newline inserted
{standard input}:34244: Error: unknown pseudo-op: `.l59'
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
x86_64-pc-linux-gnu-g++: internal compiler error: Killed (program cc1plus)


Reproducible: Always

Steps to Reproduce:
1.emerge sys-devel/llvm
2.
3.
Comment 1 Craig Inches 2015-12-15 16:27:25 UTC
Created attachment 419276 [details]
BuildLog part1
Comment 2 Craig Inches 2015-12-15 16:28:48 UTC
Created attachment 419278 [details]
BuildLog part2
Comment 3 Craig Inches 2015-12-15 16:30:42 UTC
Created attachment 419280 [details]
emerge --info
Comment 4 Craig Inches 2015-12-15 16:31:23 UTC
[ebuild  N    ] sys-devel/llvm-3.5.0  USE="libffi ncurses static-analyzer -clang -debug -doc -gold -libedit -multitarget -ocaml -python {-test} -xml" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7 (-pypy)" VIDEO_CARDS="radeon"
Comment 5 Rafał Mużyło 2015-12-15 23:45:23 UTC
This is most likely INVALID.

This looks like an OOM failure.

Given your 'emerge -info', with packages like llvm, '-j4' has about no chance of working with as little memory as it has available.
Comment 6 Craig Inches 2015-12-16 05:46:57 UTC
(In reply to Rafał Mużyło from comment #5)
> This is most likely INVALID.
> 
> This looks like an OOM failure.
> 
> Given your 'emerge -info', with packages like llvm, '-j4' has about no
> chance of working with as little memory as it has available.

Your right, -j1 works -j2 fails.