mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Alexander Aring <aar@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: m.olbrich@pengutronix.de
Subject: [ptxdist] OSELAS toolchain and real host side libisl bug while compiling host-cloog
Date: Tue, 5 Apr 2016 17:44:12 +0200	[thread overview]
Message-ID: <5703DD4C.4060707@pengutronix.de> (raw)

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

                 reply	other threads:[~2016-04-05 15:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5703DD4C.4060707@pengutronix.de \
    --to=aar@pengutronix.de \
    --cc=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox