[Bug 242266] CLang 6.0.1 (Part of the System 12.0) can not Build CLang 8.0.1 from the Port Collection

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Nov 28 10:08:51 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242266

--- Comment #2 from CrazyMihey <CrazyMihey at Ya.Ru> ---
dmesg | grep --extended-regexp --ignore-case --colour=Auto
"(CC|C\+\+|Memory|Swap)"
dmesg says «pid 54444 (c++), uid 0: exited on signal 6 (core dumped)», but
unfortunately there is no Time specified.
«/var/log/messages» contains the same Message:
grep --extended-regexp --ignore-case --colour=Auto --bz2decompress
"(CC|C\+\+|Memory|Swap)" /var/log/messages*
...
Nov 27 12:12:37 CrazyServer kernel: pid 54444 (c++), uid 0: exited on signal 6
(core dumped)
Nov 28 00:00:00 CrazyServer kernel: Accounting disabled
Nov 28 00:00:02 CrazyServer kernel: Accounting enabled

Does «signal 6» mean Out of Memory? Is It «SIGABRT», sent by Compiler to
HimSelf? I did not find the Answer.

One more Thing: I had «CFLAGS+=-march=native -O3 -pipe» in «/etc/make.conf».
Maybe it is the Reason. Now I added next Lines:
# Ошибка Сборки LLVM 8.0:      
HTTP://Bugs.FreeBSD.Org/bugzilla/show_bug.cgi?id=242266
.if ( ${.CURDIR:M*/devel/llvm80*} )
  CFLAGS+=      -O2
  CXXFLAGS+=    -O2
  COPTFLAGS+=   -O2
.endif

and will Try again.
This Time «portmaster -B -v -d --no-confirm --delete-packages -a» worked
perfectly, but I also excluded some «Heavy» Ports (actially, from FFMPEG
dependants). PortMaster worked without Building of «GCC 9» and «LLVM 8». Global
System UpGrade to 12.1 is planned later...

Machine has 2 GB of RAM and Top says: «Mem: 31M Active, 494M Inact, 288K
Laundry, 528M Wired, 920M Free»; «Swap: 4096M Total, 16M Used, 4080M Free».

The «BE_NATIVE» Option appeared only in LLVM and Clang 8.0.0.r1, but FreeBSD
12.0 had 6.0.1 Version.

Thank You for Advices!

P.S. The worst part is that My Atom N270 does not support x64 OSes :).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list