mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] OSELAS toolchain and real host side libisl bug while compiling host-cloog
@ 2016-04-05 15:44 Alexander Aring
  0 siblings, 0 replies; only message in thread
From: Alexander Aring @ 2016-04-05 15:44 UTC (permalink / raw)
  To: ptxdist; +Cc: m.olbrich

Hi,

I helped somebody which had a host side libisl and he got a compile failure:

libtool: link: ranlib .libs/libcloog-isl.a
libtool: link: ( cd ".libs" && rm -f "libcloog-isl.la" && ln -s "../libcloog-isl.la" "libcloog-isl.la" )
/bin/sh ./libtool  --tag=CC   --mode=link gcc -Wall -O3 -fomit-frame-pointer -malign-double -fstrict-aliasing -ffast-math  -L/lib  -o cloog cloog.o libcloog-isl.la -lgmp
libtool: link: gcc -Wall -O3 -fomit-frame-pointer -malign-double -fstrict-aliasing -ffast-math -o cloog cloog.o  -L/lib ./.libs/libcloog-isl.a -lisl -lgmp
./.libs/libcloog-isl.a(libcloog_isl_la-domain.o): In function `cloog_domain_print_constraints':
domain.c:(.text+0xe7f): undefined reference to `isl_basic_set_print'
./.libs/libcloog-isl.a(libcloog_isl_la-domain.o): In function `cloog_domain_print_structure':
domain.c:(.text+0x19ba): undefined reference to `isl_set_print'
./.libs/libcloog-isl.a(libcloog_isl_la-domain.o): In function `cloog_scattering_lazy_block':
domain.c:(.text+0x2226): undefined reference to `isl_set_fast_dim_is_fixed'
./.libs/libcloog-isl.a(libcloog_isl_la-domain.o): In function `cloog_scattering_list_lazy_same':
domain.c:(.text+0x23c0): undefined reference to `isl_map_fast_is_equal'
./.libs/libcloog-isl.a(libcloog_isl_la-domain.o): In function `cloog_domain_print_constraints':
domain.c:(.text+0xea6): undefined reference to `isl_set_print'
./.libs/libcloog-isl.a(libcloog_isl_la-domain.o): In function `cloog_scattering_print_constraints':
domain.c:(.text+0xee1): undefined reference to `isl_map_print'
./.libs/libcloog-isl.a(libcloog_isl_la-domain.o): In function `cloog_domain_lazy_equal':
domain.c:(.text+0x20c1): undefined reference to `isl_set_fast_is_equal'
./.libs/libcloog-isl.a(libcloog_isl_la-domain.o): In function `cloog_domain_lazy_disjoint':
domain.c:(.text+0x2381): undefined reference to `isl_set_fast_is_disjoint'
./.libs/libcloog-isl.a(libcloog_isl_la-domain.o): In function `cloog_scattering_lazy_isscalar':
domain.c:(.text+0x251b): undefined reference to `isl_map_fast_is_fixed'
./.libs/libcloog-isl.a(libcloog_isl_la-domain.o): In function `cloog_domain_lazy_isconstant':
domain.c:(.text+0x2521): undefined reference to `isl_set_fast_dim_is_fixed'

while compiling host-cloog.

The issue is that cloog use the REAL host side libisl, etc. I fixed it in rules/host-cloog.make with the
additional configure argument:

--with-isl-prefix=$(PTXCONF_SYSROOT_HOST) \

additional we need also the same for libgmp:

--with-gmp-prefix=$(PTXCONF_SYSROOT_HOST) \

Maybe something for the next OSELAS release.

- Alex

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-04-05 15:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-05 15:44 [ptxdist] OSELAS toolchain and real host side libisl bug while compiling host-cloog Alexander Aring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox