Re: [gentoo-user] llvm / clang compile error

2016-08-17 Thread james

On 08/17/2016 10:24 AM, siefke_lis...@web.de wrote:

On Wed, 17 Aug 2016 08:36:12 -0400 james  wrote:


On 08/16/2016 04:43 PM, Silvio Siefke wrote:

Please submit a full bug report


https://bugs.gentoo.org/show_bug.cgi?id=591514

Silvio



Reading the bug, here is a request for specific info::

" Alex Xu (Hello71) 2016-08-17 15:26:17 UTC
please attach example build.log"

If you work with the requests on BGO, then they are much more likely
to work on your bug, or at least process. If there are other similar 
bugs in BGO, then stay on top of them too.


I've only mildly used clang, at this point, so it'll take somebody
else to spot what's wrong, or who knows clang more deeply. But, now
you can keep your posts short and precise in gentoo-user and reference 
your but like this  BGO#591514.


Also, if you are not copied on the postings to your bug, go ahead and 
add yourself directly to the "cc list".



You can also use gentoo forums or an appropriate gentoo irc channel to 
look for CLANG/llvm types of folks, referring them to your posted bug 
too, so your posts there can be short and easy to read. [1]



[1] 
https://wiki.gentoo.org/wiki/Google_Summer_of_Code/2016/Ideas/Clang_native_support



hth,
James



Re: [gentoo-user] llvm / clang compile error

2016-08-17 Thread siefke_lis...@web.de
On Wed, 17 Aug 2016 08:36:12 -0400 james  wrote:

> On 08/16/2016 04:43 PM, Silvio Siefke wrote:
> > Please submit a full bug report

https://bugs.gentoo.org/show_bug.cgi?id=591514 

Silvio



Re: [gentoo-user] llvm / clang compile error

2016-08-17 Thread siefke_lis...@web.de
On Wed, 17 Aug 2016 08:36:12 -0400 james  wrote:

Okay i will open Bug Report. But can it be that the memory / swap
is to small?

cat /proc/meminfo 
MemTotal:2024472 kB

cat /proc/swaps 
FilenameTypeSizeUsedPriority
/dev/sda2   partition   2046972 1741732 -1



Silvio



Re: [gentoo-user] llvm / clang compile error

2016-08-17 Thread james

On 08/16/2016 04:43 PM, Silvio Siefke wrote:

Please submit a full bug report



Seems like a good recommendation. Also, once the bug
is filed, you can provide all the details in the bug report
and reference those details in your gentoo-user threads.
That way the gentoo-user thread can focus on a specific item
or two, because the full details are readily available in BGO.
The bug report will enable a wider group to look at your complete
details and keep the discussion (here on gentoo-user) short
and focused. Just a suggestion, ymmv.

Often when I run into issues, I just go to a minimal flag set
and just use one processor to compile, as a routine, baseline
test-compile run. Also on my system, I have this::

Installed versions:  3.7.1-r3(03:48:50 PM 07/13/2016)(clang libffi 
ncurses python static-analyzer


ABI_X86="32 64 -x32" PYTHON_TARGETS="python2_7"



hth,
James




Re: [gentoo-user] llvm / clang compile error

2016-08-17 Thread Silvio Siefke
On Tue, 16 Aug 2016 21:40:40 -0400
Fernando Rodriguez  wrote:

Hi,

> If you havent, try disabling ccache to rule that out.

i have do now. Same mistake. Same error message.


Silvio



pgp0yrcGvf49z.pgp
Description: PGP signature


Re: [gentoo-user] llvm / clang compile error

2016-08-16 Thread Fernando Rodriguez
On 08/16/2016 04:43 PM, Silvio Siefke wrote:
> Hello,
> 
> I'm trying to install llvm for days. But all versions fail with the 
> error message "internal compiler error: Killed (program cc1plus)".
> 
> The last lines in the build log.
> 
> [1820/2304] /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-g++  
> -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER 
> -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS 
> -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS   -DNDEBUG -O2 -pipe  -fPIC 
> -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings 
> -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long 
> -Wno-maybe-uninitialized -Wnon-virtual-dtor -Wno-comment -Werror=date-time 
> -std=c++11 -ffunction-sections -fdata-sections -fno-common 
> -Woverloaded-virtual -fno-strict-aliasing -fPIC -Itools/clang/lib/Sema 
> -I/var/tmp/portage/sys-devel/llvm-3.7.1-r3/work/llvm-3.7.1.src/tools/clang/lib/Sema
>  
> -I/var/tmp/portage/sys-devel/llvm-3.7.1-r3/work/llvm-3.7.1.src/tools/clang/include
>  -Itools/clang/include -Iinclude 
> -I/var/tmp/portage/sys-devel/llvm-3.7.1-r3/work/llvm-3.7.1.src/include -MMD 
> -MT tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaExprObjC.cpp.o -MF 
> tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaExprObjC.cpp.o.d -o 
> tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaExprObjC.cpp.o -c 
> /var/tmp/portage/sys-devel/llvm-3.7.1-r3/work/llvm-3.7.1.src/tools/clang/lib/Sema/SemaExprObjC.cpp
> FAILED: /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-g++  -DCLANG_ENABLE_ARCMT 
> -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE 
> -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS   
> -DNDEBUG -O2 -pipe  -fPIC -fvisibility-inlines-hidden -Wall -W 
> -Wno-unused-parameter -Wwrite-strings -Wcast-qual 
> -Wno-missing-field-initializers -pedantic -Wno-long-long 
> -Wno-maybe-uninitialized -Wnon-virtual-dtor -Wno-comment -Werror=date-time 
> -std=c++11 -ffunction-sections -fdata-sections -fno-common 
> -Woverloaded-virtual -fno-strict-aliasing -fPIC 
> -Itools/clang/lib/ASTMatchers/Dynamic 
> -I/var/tmp/portage/sys-devel/llvm-3.7.1-r3/work/llvm-3.7.1.src/tools/clang/lib/ASTMatchers/Dynamic
>  
> -I/var/tmp/portage/sys-devel/llvm-3.7.1-r3/work/llvm-3.7.1.src/tools/clang/include
>  -Itools/clang/include -Iinclude 
> -I/var/tmp/portage/sys-devel/llvm-3.7.1-r3/work/llvm-3.7.1.src/include -MMD 
> -MT 
> tools/clang/lib/ASTMatchers/Dynamic/CMakeFiles/clangDynamicASTMatchers.dir/Registry.cpp.o
>  -MF 
> tools/clang/lib/ASTMatchers/Dynamic/CMakeFiles/clangDynamicASTMatchers.dir/Registry.cpp.o.d
>  -o 
> tools/clang/lib/ASTMatchers/Dynamic/CMakeFiles/clangDynamicASTMatchers.dir/Registry.cpp.o
>  -c 
> /var/tmp/portage/sys-devel/llvm-3.7.1-r3/work/llvm-3.7.1.src/tools/clang/lib/ASTMatchers/Dynamic/Registry.cpp
> {standard input}: Assembler messages:
> {standard input}:265459: Warning: end of file in string; '"' inserted
> x86_64-pc-linux-gnu-g++: internal compiler error: Killed (program cc1plus)
> Please submit a full bug report,
> 
> This happen with version 3.5, 3.8, 3.7. The crazy thing without  set flag 
> clang, the installation work without problems. In  Bug Report i found 
> equal bug, but there seem march item the problem. This i have not set. 
> 
> Have someone a idea why llvm hate clang? 
> 
> Thank's
> 
> Silvio
> 
> 
> # emerge --info '=sys-devel/llvm-3.7.1-r3::gentoo'
> Portage 2.2.28 (python 2.7.10-final-0, default/linux/amd64/13.0/no-multilib, 
> gcc-5.4.0, glibc-2.22-r4, 3.14.32--std-ipv6-64-hz1000 x86_64)
> =
>  System Settings
> =
> System uname: 
> Linux-3.14.32--std-ipv6-64-hz1000-x86_64-Intel-R-_Atom-TM-_CPU_N2800_@_1.86GHz-with-gentoo-2.2
> KiB Mem: 2024472 total,   1766584 free
> KiB Swap:2046972 total,   1229132 free
> Timestamp of repository gentoo: Tue, 16 Aug 2016 11:45:01 +
> sh bash 4.3_p42-r1
> ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
> ccache version 3.2.4 [enabled]
> app-shells/bash:  4.3_p42-r1::gentoo
> dev-java/java-config: 2.2.0-r3::gentoo
> dev-lang/perl:5.20.2::gentoo
> dev-lang/python:  2.7.10-r1::gentoo, 3.4.3-r1::gentoo
> dev-util/ccache:  3.2.4::gentoo
> dev-util/cmake:   3.3.1-r1::gentoo
> dev-util/pkgconfig:   0.28-r2::gentoo
> sys-apps/baselayout:  2.2::gentoo
> sys-apps/openrc:  0.21.3::gentoo
> sys-apps/sandbox: 2.10-r1::gentoo
> sys-devel/autoconf:   2.13::gentoo, 2.69::gentoo
> sys-devel/automake:   1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
> sys-devel/binutils:   2.25.1-r1::gentoo
> sys-devel/gcc:5.4.0::gentoo
> sys-devel/gcc-config: 1.7.3::gentoo
> sys-devel/libtool:2.4.6::gentoo
> sys-devel/make:   4.1-r1::gentoo
> sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
> 

[gentoo-user] llvm / clang compile error

2016-08-16 Thread Silvio Siefke
Hello,

I'm trying to install llvm for days. But all versions fail with the 
error message "internal compiler error: Killed (program cc1plus)".

The last lines in the build log.

[1820/2304] /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-g++  -DCLANG_ENABLE_ARCMT 
-DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE 
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS   
-DNDEBUG -O2 -pipe  -fPIC -fvisibility-inlines-hidden -Wall -W 
-Wno-unused-parameter -Wwrite-strings -Wcast-qual 
-Wno-missing-field-initializers -pedantic -Wno-long-long 
-Wno-maybe-uninitialized -Wnon-virtual-dtor -Wno-comment -Werror=date-time 
-std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual 
-fno-strict-aliasing -fPIC -Itools/clang/lib/Sema 
-I/var/tmp/portage/sys-devel/llvm-3.7.1-r3/work/llvm-3.7.1.src/tools/clang/lib/Sema
 
-I/var/tmp/portage/sys-devel/llvm-3.7.1-r3/work/llvm-3.7.1.src/tools/clang/include
 -Itools/clang/include -Iinclude 
-I/var/tmp/portage/sys-devel/llvm-3.7.1-r3/work/llvm-3.7.1.src/include -MMD -MT 
tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaExprObjC.cpp.o -MF 
tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaExprObjC.cpp.o.d -o 
tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaExprObjC.cpp.o -c 
/var/tmp/portage/sys-devel/llvm-3.7.1-r3/work/llvm-3.7.1.src/tools/clang/lib/Sema/SemaExprObjC.cpp
FAILED: /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-g++  -DCLANG_ENABLE_ARCMT 
-DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE 
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS   
-DNDEBUG -O2 -pipe  -fPIC -fvisibility-inlines-hidden -Wall -W 
-Wno-unused-parameter -Wwrite-strings -Wcast-qual 
-Wno-missing-field-initializers -pedantic -Wno-long-long 
-Wno-maybe-uninitialized -Wnon-virtual-dtor -Wno-comment -Werror=date-time 
-std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual 
-fno-strict-aliasing -fPIC -Itools/clang/lib/ASTMatchers/Dynamic 
-I/var/tmp/portage/sys-devel/llvm-3.7.1-r3/work/llvm-3.7.1.src/tools/clang/lib/ASTMatchers/Dynamic
 
-I/var/tmp/portage/sys-devel/llvm-3.7.1-r3/work/llvm-3.7.1.src/tools/clang/include
 -Itools/clang/include -Iinclude 
-I/var/tmp/portage/sys-devel/llvm-3.7.1-r3/work/llvm-3.7.1.src/include -MMD -MT 
tools/clang/lib/ASTMatchers/Dynamic/CMakeFiles/clangDynamicASTMatchers.dir/Registry.cpp.o
 -MF 
tools/clang/lib/ASTMatchers/Dynamic/CMakeFiles/clangDynamicASTMatchers.dir/Registry.cpp.o.d
 -o 
tools/clang/lib/ASTMatchers/Dynamic/CMakeFiles/clangDynamicASTMatchers.dir/Registry.cpp.o
 -c 
/var/tmp/portage/sys-devel/llvm-3.7.1-r3/work/llvm-3.7.1.src/tools/clang/lib/ASTMatchers/Dynamic/Registry.cpp
{standard input}: Assembler messages:
{standard input}:265459: Warning: end of file in string; '"' inserted
x86_64-pc-linux-gnu-g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,

This happen with version 3.5, 3.8, 3.7. The crazy thing without  set flag 
clang, the installation work without problems. In  Bug Report i found 
equal bug, but there seem march item the problem. This i have not set. 

Have someone a idea why llvm hate clang? 

Thank's

Silvio


# emerge --info '=sys-devel/llvm-3.7.1-r3::gentoo'
Portage 2.2.28 (python 2.7.10-final-0, default/linux/amd64/13.0/no-multilib, 
gcc-5.4.0, glibc-2.22-r4, 3.14.32--std-ipv6-64-hz1000 x86_64)
=
 System Settings
=
System uname: 
Linux-3.14.32--std-ipv6-64-hz1000-x86_64-Intel-R-_Atom-TM-_CPU_N2800_@_1.86GHz-with-gentoo-2.2
KiB Mem: 2024472 total,   1766584 free
KiB Swap:2046972 total,   1229132 free
Timestamp of repository gentoo: Tue, 16 Aug 2016 11:45:01 +
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
ccache version 3.2.4 [enabled]
app-shells/bash:  4.3_p42-r1::gentoo
dev-java/java-config: 2.2.0-r3::gentoo
dev-lang/perl:5.20.2::gentoo
dev-lang/python:  2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/ccache:  3.2.4::gentoo
dev-util/cmake:   3.3.1-r1::gentoo
dev-util/pkgconfig:   0.28-r2::gentoo
sys-apps/baselayout:  2.2::gentoo
sys-apps/openrc:  0.21.3::gentoo
sys-apps/sandbox: 2.10-r1::gentoo
sys-devel/autoconf:   2.13::gentoo, 2.69::gentoo
sys-devel/automake:   1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:   2.25.1-r1::gentoo
sys-devel/gcc:5.4.0::gentoo
sys-devel/gcc-config: 1.7.3::gentoo
sys-devel/libtool:2.4.6::gentoo
sys-devel/make:   4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:   2.22-r4::gentoo
Repositories:

gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync2.fr.gentoo.org/gentoo-portage/
priority: -1000

pentoo
location: /var/lib/layman/pentoo
masters: