On 06/02/15 16:27, Pascal Stumpf wrote: > On Tue, 02 Jun 2015 16:20:06 +0200, Guenther Niess wrote: >> Hi, >> I wanted to compile and run a small simulation with OpenMP and applied >> the patch below to compile gcc 4.9 with libgomp. It seems very >> straightforward so I'm wondering why it is disabled in ports? >> >> I run a make test and what I can see the openmp test seems to have no >> problem.. >> >> Running >> /home/ports/obj/gcc-4.9.2/gcc-4.9.2/gcc/testsuite/gcc.dg/format/format.exp >> ... >> Running >> /home/ports/obj/gcc-4.9.2/gcc-4.9.2/gcc/testsuite/gcc.dg/gomp/gomp.exp ... >> Running >> /home/ports/obj/gcc-4.9.2/gcc-4.9.2/gcc/testsuite/gcc.dg/graphite/graphite.exp >> ... >> Running >> /home/ports/obj/gcc-4.9.2/gcc-4.9.2/gcc/testsuite/gcc.dg/guality/guality.exp >> ... > > Thanks; this was on my to-do list. I'll test and commit as time > permits. > Meanwhile: Have you verified that this really only works on amd64 > and i386? In any case, omp.h should move to PFRAG.GOMP-main, and the > library version should start at 0. >
I didn't do a lot of testing. I wrote to the list, because I thought I'm missing something obvious. I will test some more the next days with my small program on my amd64 systems but my pandaboard got broken a few month ago and I don't have any other hardware to test. I also plan to make a rebuild of my desktop system (base and ports) with an up to date -CURRENT tree and will report if something brakes. Regards