This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

crosstool-ng 1.15.2: cloog problems


[Please keep me in CC]

Hi,

I'm experiencing trouble with cloog in crosstool-ng 1.15.2, and I
didn't have problems before with 1.13.4. I'm using the same
configuration.

Note: the machine on which I have these problems is running CentOS
5.8, which does not contain the most recent packages of anything. But
note also that the same machine was used before (1.13.4) without
problems.

The first problem was this:

[EXTRA]    Building CLooG/ppl
[ALL  ]    make[3]: Entering directory
`/repo/central/jenkins/workspace/buildroot-eglibc-toolchain/output/build/build-toolchain/.build/powerpc-unknown-linux-gnu/build/build-cloog-ppl-host-x86_64-build_unknown-linux-gnu'
[ALL  ]    cd /repo/central/jenkins/workspace/buildroot-eglibc-toolchain/output/build/build-toolchain/.build/src/cloog-ppl-0.15.9
&& /bin/sh /repo/central/jenkins/workspace/buildroot-eglibc-toolchain/output/build/build-toolchain/.build/src/cloog-ppl-0.15.9/autoconf/missing
--run aclocal-1.9 -I m4

[ALL  ]    aclocal: couldn't open directory `m4': No such file or directory
[ERROR]    make[3]: ***
[/repo/central/jenkins/workspace/buildroot-eglibc-toolchain/output/build/build-toolchain/.build/src/cloog-ppl-0.15.9/aclocal.m4]
Error 1
[ALL  ]    make[3]: Leaving directory
`/repo/central/jenkins/workspace/buildroot-eglibc-toolchain/output/build/build-toolchain/.build/powerpc-unknown-linux-gnu/build/build-cloog-ppl-host-x86_64-build_unknown-linux-gnu'

The m4 directory is indeed not present in cloog-ppl so it shouldn't be
referenced anyway.
I could fix this problem by changing the cloog Makefile.in and
Makefile.am so that the m4 directory is not included (remove
ACLOCAL_AMFLAGS setting).

Then, the second problem arises:

[ALL  ]    if /bin/sh ./libtool --tag=CC --mode=compile
x86_64-build_unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I.
-I/repo/central/jenkins/workspace/buildroot-eglibc-toolchain/output/build/build-toolchain/.build/src/cloog-ppl-0.15.9
-I./include/cloog -I./include
-I/repo/central/jenkins/workspace/buildroot-eglibc-toolchain/output/build/build-toolchain/.build/src/cloog-ppl-0.15.9/include
 -I/repo/central/jenkins/workspace/buildroot-eglibc-toolchain/output/build/build-toolchain/.build/powerpc-unknown-linux-gnu/buildtools/include
-I/repo/central/jenkins/workspace/buildroot-eglibc-toolchain/output/build/build-toolchain/.build/powerpc-unknown-linux-gnu/buildtools/include
 -Wall -fomit-frame-pointer -pipe  -MT options.lo -MD -MP -MF
".deps/options.Tpo" -c -o options.lo `test -f 'source/options.c' ||
echo '/repo/central/jenkins/workspace/buildroot-eglibc-toolchain/output/build/build-toolchain/.build/src/cloog-ppl-0.15.9/'`source/options.c;
      then mv -f ".deps/options.Tpo" ".deps/options.Plo"; else rm -f
".deps/options.Tpo"; exit 1; fi
[ALL  ]    ./libtool: line 466: CDPATH: command not found
[ALL  ]    ./libtool: line 466: CDPATH: command not found
[ALL  ]    ./libtool: line 466: CDPATH: command not found
[ALL  ]    ./libtool: line 466: CDPATH: command not found
[ALL  ]    ./libtool: line 1144: func_opt_split: command not found
[ALL  ]    ./libtool: line 1144: func_opt_split: command not found
[ALL  ]    ./libtool: line 1144: func_opt_split: command not found
[ALL  ]    ./libtool: line 1144: func_opt_split: command not found
[ALL  ]    libtool: Version mismatch error.  This is libtool 2.2.6
Debian-2.2.6a-1ubuntu1, but the
[ALL  ]    libtool: definition of this LT_INIT comes from an older release.
[ALL  ]    libtool: You should recreate aclocal.m4 with macros from
libtool 2.2.6 Debian-2.2.6a-1ubuntu1
[ALL  ]    libtool: and run autoconf again.
[ALL  ]    libtool: Version mismatch error.  This is libtool 2.2.6
Debian-2.2.6a-1ubuntu1, but the
[ALL  ]    libtool: definition of this LT_INIT comes from an older release.
[ALL  ]    libtool: You should recreate aclocal.m4 with macros from
libtool 2.2.6 Debian-2.2.6a-1ubuntu1
[ALL  ]    libtool: and run autoconf again.
[ALL  ]    libtool: Version mismatch error.  This is libtool 2.2.6
Debian-2.2.6a-1ubuntu1, but the
[ALL  ]    libtool: definition of this LT_INIT comes from an older release.
[ALL  ]    libtool: You should recreate aclocal.m4 with macros from
libtool 2.2.6 Debian-2.2.6a-1ubuntu1
[ALL  ]    libtool: and run autoconf again.
[ALL  ]    libtool: Version mismatch error.  This is libtool 2.2.6
Debian-2.2.6a-1ubuntu1, but the
[ALL  ]    libtool: definition of this LT_INIT comes from an older release.
[ALL  ]    libtool: You should recreate aclocal.m4 with macros from
libtool 2.2.6 Debian-2.2.6a-1ubuntu1
[ALL  ]    libtool: and run autoconf again.
[ERROR]    make[3]: *** [block.lo] Error 1
[ALL  ]    make[3]: *** Waiting for unfinished jobs....
[ERROR]    make[3]: *** [loop.lo] Error 1
[ERROR]    make[3]: *** [names.lo] Error 1
[ERROR]    make[3]: *** [options.lo] Error 1
[ALL  ]    make[3]: Leaving directory
`/repo/central/jenkins/workspace/buildroot-eglibc-toolchain/output/build/build-toolchain/.build/powerpc-unknown-linux-gnu/build/build-cloog-ppl-host-x86_64-build_unknown-linux-gnu'

The CDPATH problem stems from the following line in <cloog>/libtool:
$lt_unset CDPATH

Normally $lt_unset is set to 'unset'. This is done through the
configure script. However, when I look at the configure script, it no
longer matches with the version from the tarball. It seems to have
been regenerated, and in the new version, lt_unset no longer exists.
Hence, it resolves to the empty string, and CDPATH is interpreted as a
command.

Has this problem been seen before? Has anything changed in the cloog
area in crosstool-ng.

In the working case, I was using buildroot-2012.02 and crosstool-ng
1.13.4. In the bad case, this is buildroot-2012.05 and
crosstool-ng-1.15.2.
In both cases, automake is at 1.11.1, autoconf at 2.65, libtool at
2.2.10, cloog at 0.15.9.

I send the screen log in attachment (consoleText.gz).
I also send the build.log from the second run (CDPATH problem) (build.log.gz).

Thanks,
Thomas

Attachment: consoleText.gz
Description: GNU Zip compressed data

Attachment: build.log.gz
Description: GNU Zip compressed data

--
For unsubscribe information see http://sourceware.org/lists.html#faq

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]