Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Nov 2019 10:08:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 242266] CLang 6.0.1 (Part of the System 12.0) can not Build CLang 8.0.1 from the Port Collection
Message-ID:  <bug-242266-227-zIgH6mLDKo@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-242266-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-242266-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242266

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

Does =C2=ABsignal 6=C2=BB mean Out of Memory? Is It =C2=ABSIGABRT=C2=BB, se=
nt by Compiler to
HimSelf? I did not find the Answer.

One more Thing: I had =C2=ABCFLAGS+=3D-march=3Dnative -O3 -pipe=C2=BB in =
=C2=AB/etc/make.conf=C2=BB.
Maybe it is the Reason. Now I added next Lines:
# =D0=9E=D1=88=D0=B8=D0=B1=D0=BA=D0=B0 =D0=A1=D0=B1=D0=BE=D1=80=D0=BA=D0=B8=
 LLVM 8.0:=20=20=20=20=20=20
HTTP://Bugs.FreeBSD.Org/bugzilla/show_bug.cgi?id=3D242266
.if ( ${.CURDIR:M*/devel/llvm80*} )
  CFLAGS+=3D      -O2
  CXXFLAGS+=3D    -O2
  COPTFLAGS+=3D   -O2
.endif

and will Try again.
This Time =C2=ABportmaster -B -v -d --no-confirm --delete-packages -a=C2=BB=
 worked
perfectly, but I also excluded some =C2=ABHeavy=C2=BB Ports (actially, from=
 FFMPEG
dependants). PortMaster worked without Building of =C2=ABGCC 9=C2=BB and =
=C2=ABLLVM 8=C2=BB. Global
System UpGrade to 12.1 is planned later...

Machine has 2 GB of RAM and Top says: =C2=ABMem: 31M Active, 494M Inact, 28=
8K
Laundry, 528M Wired, 920M Free=C2=BB; =C2=ABSwap: 4096M Total, 16M Used, 40=
80M Free=C2=BB.

The =C2=ABBE_NATIVE=C2=BB 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 :).

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-242266-227-zIgH6mLDKo>