Bug 200269 - Clang failed due to some internal error during buildworld on RPI2.
Summary: Clang failed due to some internal error during buildworld on RPI2.
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: arm (show other bugs)
Version: CURRENT
Hardware: arm Any
: --- Affects Some People
Assignee: freebsd-arm (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-17 14:50 UTC by jau
Modified: 2015-11-27 23:11 UTC (History)
2 users (show)

See Also:


Attachments
The last 150 lines of the build time messages (24.69 KB, text/plain)
2015-05-17 14:50 UTC, jau
no flags Details
1st of the two files clang instructed to be attached (913 bytes, text/plain)
2015-05-17 14:52 UTC, jau
no flags Details
2nd of the two files clang instructed to be attached (868.37 KB, application/x-xz)
2015-05-17 14:54 UTC, jau
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description jau 2015-05-17 14:50:22 UTC
Created attachment 156854 [details]
The last 150 lines of the build time messages

I was maybe pushing things a bit, but I decided to try buildworld
and buildkernel on my RPI2. It would have been nice to be able to
say it is in principle self hosting. As it seems, it is not quite
there yet.
During buildworld while clang was compiling itself it failed with
an error message which did not help me much. Obviously there was
some sort of an internal error, but that was pretty much all.

So, just in case someone knows clang better and has some interest
in understanding what happened I attach the last 150 lines of the
build time messages and the couple of files clang itself instructed
to be attached to any bug reports.
The cpp file was so big that it became necessary to compress it
using xz.
Comment 1 jau 2015-05-17 14:52:51 UTC
Created attachment 156855 [details]
1st of the two files clang instructed to be attached
Comment 2 jau 2015-05-17 14:54:06 UTC
Created attachment 156856 [details]
2nd of the two files clang instructed to be attached
Comment 3 Luiz Otavio O Souza,+55 (14) 99772-1255 freebsd_committer 2015-05-17 15:18:01 UTC
c++: error: unable to execute command: Killed

This usually happens when you run out of memory, do you have any swap space set ?

1GB of RAM is not enough to build world with -jX on Rpi 2.
Comment 4 Michael Moll freebsd_committer 2015-11-27 23:11:58 UTC
Jukka, what's the status here?