Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Sep 2011 13:25:54 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        arrowdodger <6yearold@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Porting PathScale's EKOPath Compiler Suite
Message-ID:  <201109091325.58322.jkim@FreeBSD.org>
In-Reply-To: <CALH631nbd1-7M4T2USRd8TZKDmSky9Rm8JNpJPtLK0zZJrXUvw@mail.gmail.com>
References:  <201109081811.47776.jkim@FreeBSD.org> <CALH631nbd1-7M4T2USRd8TZKDmSky9Rm8JNpJPtLK0zZJrXUvw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 09 September 2011 11:53 am, arrowdodger wrote:
> On Fri, Sep 9, 2011 at 2:11 AM, Jung-uk Kim <jkim@freebsd.org> 
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/compil
>er/src/libopenmp/thread.c: In function 'gettid':
> /usr/home/arr/ports/ekopath-devel/work/path64-suite/compiler/compil
>er/src/libopenmp/thread.c:74: warning: implicit declaration of
> function 'thr_self'
> /usr/home/arr/ports/ekopath-devel/work/path64-suite/compiler/compil
>er/src/libopenmp/thread.c: In function '__pmp_thread_create':
> /usr/home/arr/ports/ekopath-devel/work/path64-suite/compiler/compil
>er/src/libopenmp/thread.c:515: error: 'MAP_ANONYMOUS' undeclared

Please try this:

http://people.freebsd.org/~jkim/ekopath-devel_2.tar.bz2

Jung-uk Kim



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109091325.58322.jkim>