Re: gcc-8-20180225: "go" breaks building OpenMP

2018-03-09 Thread Siegmar Gross
Hi Thomas, thank you very much for your help. That's exactly what I wanted. I tried again and was successful. Kind regards Siegmar Am 09.03.2018 um 17:59 schrieb Thomas Schwinge: Hi! On Fri, 9 Mar 2018 17:15:16 +0100, Siegmar Gross wrote: [...] configure: error: "libffi has not been por

Re: gcc-8-20180225: "go" breaks building OpenMP

2018-03-09 Thread Jakub Jelinek
On Fri, Mar 09, 2018 at 05:15:16PM +0100, Siegmar Gross wrote: > there are differences in the log files. Toplevel configure.ac has: # Disable libgo for some systems where it is known to not work. # For testing, you can easily override this with --enable-libgo. section, clearly nvptx*-*)

Re: gcc-8-20180225: "go" breaks building OpenMP

2018-03-09 Thread Thomas Schwinge
Hi! On Fri, 9 Mar 2018 17:15:16 +0100, Siegmar Gross wrote: > [...] > configure: error: "libffi has not been ported to nvptx-unknown-none." > [...] Right, such things are not supported for a "--target=nvptx" compiler. But, if your desire is to just enable additional languages, without offloadi

Re: gcc-8-20180225: "go" breaks building OpenMP

2018-03-09 Thread Siegmar Gross
Hi Thomas, OpenMP/OpenACC support isn't necessary for Objective-C/C++ or Go. It's enough if it is available for C/C++ and Fortran, but it would be interesting to build the compiler for Objective-C/C++ and Go. Kind regards and thank you very much for your help in advance Siegmar Am 09.03.2018

Re: gcc-8-20180225: "go" breaks building OpenMP

2018-03-09 Thread Siegmar Gross
Hi Ian, there are differences in the log files. loki gcc-8.0.0_build_3 131 grep failed log.make checking whether /export2/src/gcc-8.0.0/gcc-8.0.0_build/./gcc/xg++ -B/export2/src/gcc-8.0.0/gcc-8.0.0_build/./gcc/ -nostdinc++ -funconfigured-libstdc++-v3 -L/export2/src/gcc-8.0.0/gcc-8.0.0_build/n

Re: gcc-8-20180225: "go" breaks building OpenMP

2018-03-09 Thread Thomas Schwinge
Hi! To close the loop: On Fri, 9 Mar 2018 09:32:11 +0100, Siegmar Gross wrote: > Am 09.03.2018 um 08:44 schrieb Jakub Jelinek: > > On Fri, Mar 09, 2018 at 07:56:38AM +0100, Siegmar Gross wrote: > >> some days ago I've installed gcc-8-20180225 with accelerator support on my > >> "SUSE Linux Ente

Re: Compiling c++ template is very slow.

2018-03-09 Thread Nathan Sidwell
On 03/09/2018 08:42 AM, Richard Biener wrote: No. (if it's a vbase, it shows the offset in the complete object, IIRC, and there's other data to let code generation know some vtable inspection is needed when the dynamic type is unknown). So there's no multiple inheritance of classes with VLA me

Re: Compiling c++ template is very slow.

2018-03-09 Thread Richard Biener
On Fri, Mar 9, 2018 at 2:08 PM, Nathan Sidwell wrote: > On 03/09/2018 06:51 AM, Richard Biener wrote: >> >> On Fri, Mar 9, 2018 at 11:32 AM, Richard Biener >> wrote: > > >> callgrind shows that propagate_binfo_offsets recursing >> to self very many times is likely the issue. Your templates >> bu

Re: gcc-8-20180225: "go" breaks building OpenMP

2018-03-09 Thread Ian Lance Taylor
On Thu, Mar 8, 2018 at 10:56 PM, Siegmar Gross wrote: > > some days ago I've installed gcc-8-20180225 with accelerator support > on my "SUSE Linux Enterprise Server 12.3 (x86_64)" with gcc-6.4.0. > Yesterday I tried to add the languages objc, obj-c++, and go to my > installation. Unfortunately, I

Re: Compiling c++ template is very slow.

2018-03-09 Thread Nathan Sidwell
On 03/09/2018 06:51 AM, Richard Biener wrote: On Fri, Mar 9, 2018 at 11:32 AM, Richard Biener wrote: callgrind shows that propagate_binfo_offsets recursing to self very many times is likely the issue. Your templates build a very deep inheritance chain and it seems that the binfo offset propa

Re: Compiling c++ template is very slow.

2018-03-09 Thread Richard Biener
On Fri, Mar 9, 2018 at 11:32 AM, Richard Biener wrote: > On Fri, Mar 9, 2018 at 3:33 AM, Fis Trivial wrote: >> >> I tried to use c++ template to generate code for a personal project, but >> found that the compilation time needed with g++ is much >> slower(exponentially) than with clang++. >> >> T

Re: Compiling c++ template is very slow.

2018-03-09 Thread Richard Biener
On Fri, Mar 9, 2018 at 3:33 AM, Fis Trivial wrote: > > I tried to use c++ template to generate code for a personal project, but > found that the compilation time needed with g++ is much > slower(exponentially) than with clang++. > > This is a code snippet for testing purpose: > > #include > > tem

Re: gcc-8-20180225: "go" breaks building OpenMP

2018-03-09 Thread Jakub Jelinek
On Fri, Mar 09, 2018 at 07:56:38AM +0100, Siegmar Gross wrote: > some days ago I've installed gcc-8-20180225 with accelerator support on my > "SUSE Linux Enterprise Server 12.3 (x86_64)" with gcc-6.4.0. Yesterday I > tried to add the languages objc, obj-c++, and go to my installation. > Unfortuna

Re: gcc-8-20180225: "go" breaks building OpenMP

2018-03-09 Thread Siegmar Gross
Hi Jakub, Am 09.03.2018 um 08:44 schrieb Jakub Jelinek: On Fri, Mar 09, 2018 at 07:56:38AM +0100, Siegmar Gross wrote: some days ago I've installed gcc-8-20180225 with accelerator support on my "SUSE Linux Enterprise Server 12.3 (x86_64)" with gcc-6.4.0. Yesterday I tried to add the languages