| Summary: | sys-devel/llvm-3.6.0_rc4 Error: open CFI at the end of file; missing .cfi_endproc directive | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Petros <petros_20> |
| Component: | [OLD] Development | Assignee: | Michał Górny <mgorny> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | voyageur |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
build.log
build.log llvm-3.6.0 emerge --info |
||
|
Description
Petros
2015-02-25 19:15:36 UTC
bugs.gentoo.org doesn't allow me to submit build.lof (file too large). What can I do in order to help you see it? What packages fail to build? To attach large build logs, compress them with gzip or xz. Created attachment 398034 [details]
build.log
(In reply to Mike Gilbert from comment #2) > What packages fail to build? LLVM itself. llvm-3.6.0 (final) is in the tree. Have you tried that version? (In reply to Mike Gilbert from comment #5) > llvm-3.6.0 (final) is in the tree. Have you tried that version? Well I tried to emerge sys-devel/llvm-3.6.0::gentoo and it didn't complete compilation. I am attaching an build.log Created attachment 398386 [details]
build.log llvm-3.6.0
Thanks for the report, can you post your emerge --info and also how much memory/swap do you have on this system? The build log says:
> virtual memory exhausted: Cannot allocate memory
So you almost certainly ran out of memory (llvm keeps getting bigger with each release)
(In reply to Bernard Cafarelli from comment #8) > Thanks for the report, can you post your emerge --info and also how much > memory/swap do you have on this system? Yes of course I will post emerge --info. I have not swap on my system. My RAM's size is 3.8GB (4096MB normally but built'in graphics are using some). I have noticed many packages dying because of RAM and I think I should lower my parallel builds. Created attachment 398400 [details]
emerge --info
Did running the build by itself and/or adding swap help? If not, you should try with simpler cflags/ldflags (especially the link parts can use a bit of memory) Cleaning some bugs now that 3.7.0 is near (and 3.6.1/3.6.2 did not generate similar bugs), don't hesitate to reopen if you still have the problem (with simpler CFLAGS/LDFLAGS) (In reply to Bernard Cafarelli from comment #12) > Cleaning some bugs now that 3.7.0 is near (and 3.6.1/3.6.2 did not generate > similar bugs), don't hesitate to reopen if you still have the problem (with > simpler CFLAGS/LDFLAGS) I added some RAM (8Gb total) and LLVM builds without problem. I should think of the memory in the first place. Thanks for the confirmation :) |