[Clfs-dev] GCC update

Martin Ward macros_the_black at ntlworld.com
Tue May 28 14:01:45 PDT 2013


On 28/05/13 21:52, William Harrington wrote:
>
> On May 28, 2013, at 2:12 AM, Martin Ward wrote:
>
>> 4.8.0,. allows us to remove ppl which takes a long time to check, we 
>> have always been cautious with optimisation in builds as they often 
>> cause problems whatever they are.
>
> Hello Martin,
>
> I removed ppl, so all that is left is cloog 0.18.0.  I'm having the 
> same issue I have when building cloog 0.18.0 in the past. I usually 
> build and install isl separately. Cloog 0.18.0 seems to have the habit 
> of not being able to link against the isl that is shipped and built 
> within the cloog source tree. Have you noticed this?

i do a separate isl build so no, haven't noticed it

cross phase

isl-0.11.2 LDFLAGS="-Wl,-rpath,/cross-tools/lib" ./configure 
--prefix=/cross-tools --with-gmp-prefix=/cross-tools
cloog-0.18.0, LDFLAGS="-Wl,-rpath,/cross-tools/lib"      ./configure 
--prefix=/cross-tools --with-isl=system --with-gmp=system 
--with-gmp-prefix=/cross-tools --with-isl-prefix=/cross-tools


temp phase


CC="${CC} ${BUILD64}" ./configure --prefix=/tools --build=${CLFS_HOST} 
--host=${CLFS_TARGET} --with-gmp-prefix=/tools

and then cloog

  CC="${CC} ${BUILD64}" ./configure --prefix=/tools --build=${CLFS_HOST} 
--host=${CLFS_TARGET}  --enable-shared --with-isl=system 
--with-gmp=system --with-gmp-prefix=/tools --with-isl-prefix=/tools

>
> Configure states:
>
> checking which isl to use... bundled
>
>
> === configuring in isl (/mnt/clfs/sources/cloog-0.18.0/isl)
>
> configures isl..........
>
> Making all in isl
>
> builds isl.........
>
> a bunch of undefined references for cloog isl required by the isl library.
>
> hah! Silly build system!
>
> libtool: link: x86_64-unknown-linux-gnu-gcc -m64 -Wall -O3 
> -fomit-frame-pointer -malign-double -fstrict-aliasing -ffast-math -o 
> .libs/cloog cloog.o  -L/tools/lib ./.libs/libcloog-isl.so 
> /tools/lib/libgmp.so -Wl,-rpath -Wl,/tools/lib
> /mnt/clfs/cross-tools/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.8.0/../../../../x86_64-unknown-linux-gnu/bin/ld: 
> warning: libisl.so.10, needed by ./.libs/libcloog-isl.so, not found 
> (try using -rpath or -rpath-link)
> ./.libs/libcloog-isl.so: undefined reference to 
> `isl_basic_set_has_defining_equality'
>
> I removed ppl, it wouldn't hurt to add isl before cloog. Although, 
> this stumps me.
LD_LIBRARY_PATH= ?
>
> I don't see a way to tell it that the isl library to use is the 
> bundled library it just built! Heh.
> Sincerely,
>
> William Harrington
>
>
> _______________________________________________
> Clfs-dev mailing list
> Clfs-dev at lists.cross-lfs.org
> http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org
martin



More information about the Clfs-dev mailing list