Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 541368 - sys-devel/llvm-3.6.0_rc4 Error: open CFI at the end of file; missing .cfi_endproc directive
Summary: sys-devel/llvm-3.6.0_rc4 Error: open CFI at the end of file; missing .cfi_end...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-25 19:15 UTC by Petros
Modified: 2015-09-02 14:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log.gz,158.43 KB, application/gzip)
2015-03-04 14:04 UTC, Petros
Details
build.log llvm-3.6.0 (build.log.bz2,96.88 KB, application/x-bzip2)
2015-03-08 13:04 UTC, Petros
Details
emerge --info (info,25.57 KB, text/plain)
2015-03-08 17:00 UTC, Petros
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petros 2015-02-25 19:15:36 UTC
Certain packages on my system demand LLVM-3.6. I unmasked it and voila...I now it is not stable, not even testing but I think you should be aware of the situation.
Comment 1 Petros 2015-02-25 19:27:45 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?
Comment 2 Mike Gilbert gentoo-dev 2015-03-03 02:48:07 UTC
What packages fail to build?

To attach large build logs, compress them with gzip or xz.
Comment 3 Petros 2015-03-04 14:04:43 UTC
Created attachment 398034 [details]
build.log
Comment 4 Petros 2015-03-04 14:05:12 UTC
(In reply to Mike Gilbert from comment #2)
> What packages fail to build?
LLVM itself.
Comment 5 Mike Gilbert gentoo-dev 2015-03-04 23:23:40 UTC
llvm-3.6.0 (final) is in the tree. Have you tried that version?
Comment 6 Petros 2015-03-08 12:59:30 UTC
(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
Comment 7 Petros 2015-03-08 13:04:33 UTC
Created attachment 398386 [details]
build.log llvm-3.6.0
Comment 8 Bernard Cafarelli gentoo-dev 2015-03-08 14:40:58 UTC
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)
Comment 9 Petros 2015-03-08 17:00:08 UTC
(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.
Comment 10 Petros 2015-03-08 17:00:35 UTC
Created attachment 398400 [details]
emerge --info
Comment 11 Bernard Cafarelli gentoo-dev 2015-03-18 16:58:57 UTC
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)
Comment 12 Bernard Cafarelli gentoo-dev 2015-09-02 11:56:27 UTC
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)
Comment 13 Petros 2015-09-02 13:17:58 UTC
(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.
Comment 14 Bernard Cafarelli gentoo-dev 2015-09-02 14:13:34 UTC
Thanks for the confirmation :)