public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* crosstool-ng 1.15.2: cloog problems
@ 2012-06-08 12:21 Thomas De Schampheleire
  2012-06-13  8:02 ` Thomas De Schampheleire
  0 siblings, 1 reply; 8+ messages in thread
From: Thomas De Schampheleire @ 2012-06-08 12:21 UTC (permalink / raw)
  To: crossgcc maillist

[-- Attachment #1: Type: text/plain, Size: 5897 bytes --]

[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 #2: consoleText.gz --]
[-- Type: application/x-gzip, Size: 860374 bytes --]

[-- Attachment #3: build.log.gz --]
[-- Type: application/x-gzip, Size: 827222 bytes --]

[-- Attachment #4: Type: text/plain, Size: 71 bytes --]

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-07-31 20:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-08 12:21 crosstool-ng 1.15.2: cloog problems Thomas De Schampheleire
2012-06-13  8:02 ` Thomas De Schampheleire
2012-06-25 13:22   ` Thomas De Schampheleire
2012-07-27 10:45     ` Per Arnold Blaasmo
2012-07-27 11:53       ` Per Arnold Blaasmo
2012-07-27 14:16         ` Per Arnold Blaasmo
2012-07-29  7:27           ` Per Arnold Blaasmo
2012-07-31 21:04             ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).