From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 9 17:33:00 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id B2247106564A; Fri, 9 Sep 2011 17:33:00 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-hackers@freebsd.org Date: Fri, 9 Sep 2011 13:32:51 -0400 User-Agent: KMail/1.6.2 References: <201109081811.47776.jkim@FreeBSD.org> <4E6A438F.7020504@pathscale.com> In-Reply-To: <4E6A438F.7020504@pathscale.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Message-Id: <201109091332.53594.jkim@FreeBSD.org> Cc: "C. =?iso-8859-1?q?Bergstr=F6m?=" , arrowdodger <6yearold@gmail.com> Subject: Re: Porting PathScale's EKOPath Compiler Suite X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Sep 2011 17:33:00 -0000 On Friday 09 September 2011 12:49 pm, "C. Bergström" wrote: > On 09/ 9/11 10:53 PM, arrowdodger wrote: > > On Fri, Sep 9, 2011 at 2:11 AM, Jung-uk Kim wrote: > >> I have done preliminary porting work of PathScale's open-sourced > >> EKOPath Compiler Suite (https://github.com/pathscale). > >> > >> http://people.freebsd.org/~jkim/ekopath-devel.tar.bz2 > >> > >> This includes experimental OpenMP support and PathDB. > >> Unfortuntely, PathDB builds fine but just crashes ATM. Both > >> options are turned off by default for now. Although it seems > >> working fine for many non-trivial C/C++/Fortran sources, please > >> do not use it for any serious project because I have seen few > >> internal compiler errors and crashes. Be aware of ugly hacks! > >> ;-) > >> > >> I just wanted to share it now because it was on the WantedPorts > >> list on Wiki for a while. If anyone with more clues want to > >> pick it up from here, please feel free. > >> > >> Cheers, > >> > >> Jung-uk Kim > >> _______________________________________________ > >> freebsd-hackers@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > >> To unsubscribe, send any mail to > >> "freebsd-hackers-unsubscribe@freebsd.org" > > > > I've tried to build your port on 8-STABLE and got this: > > > > [ 30%] Generating > > pscrt-static-x86_64/memcpy_em64t_c.o > > > > Error: Invalid target group option > > -TARG:processor=nocona > > > > !!! DevWarn during Reading WHIRL file: TODO: implement *skip* > > option !!! DevWarn during Reading WHIRL file: IPA_NODE::Skip is > > not yet implemented > > > > After removing CPUTYPE=nocona from /etc/make.conf i got: > > > > [ 45%] Generating openmp-static-x86_64/thread_c.o > > /usr/home/arr/ports/ekopath-devel/work/path64-suite/compiler/comp > >iler/src/libopenmp/thread.c: In function 'gettid': > > /usr/home/arr/ports/ekopath-devel/work/path64-suite/compiler/comp > >iler/src/libopenmp/thread.c:74: warning: implicit declaration of > > function 'thr_self' > > /usr/home/arr/ports/ekopath-devel/work/path64-suite/compiler/comp > >iler/src/libopenmp/thread.c: In function '__pmp_thread_create': > > /usr/home/arr/ports/ekopath-devel/work/path64-suite/compiler/comp > >iler/src/libopenmp/thread.c:515: error: 'MAP_ANONYMOUS' undeclared > > Why do I feel like I'm not being heard at all? Don't worry, I hear you. > Do you people want to work with upstream and get your issues > resolved or not? If so report bugs to *upstream* and please send > any patches for review. > > http://bugs.pathscale.com # New JIRA and not 100% tested for > community https://github.com/path64/compiler/issues # Github issues > sucks, but there's people watching this space > > We also have mailing lists, irc and you can even bug me if you need > help/have questions Please relax, it's *preliminary* work in progress. When I feel I have enough patches to submit, I will. Jung-uk Kim