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

See the CrossGCC FAQ 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]

Re: CLooG build error


Hi,

On Wed, Jan 25, 2012 at 05:06:54PM -0500, Chris Morgan wrote:
> [ALL ?] ? ?/bin/bash ./libtool ?--tag=CC ? --mode=compile
> x86_64-build_unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I.
> -I/home/cmorgan/ct-ng-install/bin/.build/src/cloog-ppl-0.15.10
> -I./include/cloog -I./include
> -I/home/cmorgan/ct-ng-install/bin/.build/src/cloog-ppl-0.15.10/include
> ?-I/home/cmorgan/ct-ng-install/bin/.build/arm-unknown-eabi/build/static/include
> -I/home/cmorgan/ct-ng-install/bin/.build/arm-unknown-eabi/build/static/include
> ?-Wall -fomit-frame-pointer -pipe ?-MT block.lo -MD -MP -MF
> .deps/block.Tpo -c -o block.lo `test -f 'source/block.c' || echo
> '/home/cmorgan/ct-ng-install/bin/.build/src/cloog-ppl-0.15.10/'`source/block.c
...
> [ALL ?] ? ?mv -f .deps/block.Tpo .deps/block.Plo
> [ALL ?] ? ?cannot stat `.deps/block.Tpo': No such file or directory

Incidentally I ran into the same issue with hg rev 2840:188d58cfe7cf.
I think it is a copy & paste bug, the real error is much earlier:

[DEBUG]    ==> Executing: './autogen.sh' 
[CFG  ]    libtool: unrecognized option `-c'
[CFG  ]    libtool: Try `libtool --help' for more information.

Can you try this:

diff -r 188d58cfe7cf configure.ac
--- a/configure.ac	Mon Jan 16 23:45:16 2012 +0100
+++ b/configure.ac	Thu Jan 26 16:38:57 2012 +0100
@@ -203,7 +203,7 @@
                        [Specify the full PATH to GNU libtoolize >= 1.5.26]),
         [ac_cv_path_LIBTOOLIZE=$withval])])
 AC_CACHE_CHECK([for GNU libtoolize >= 1.5.26], [ac_cv_path_LIBTOOLIZE],
-    [AC_PATH_PROGS_FEATURE_CHECK([LIBTOOLIZE], [libtool],
+    [AC_PATH_PROGS_FEATURE_CHECK([LIBTOOLIZE], [libtoolize],
         [[LIBTOOLIZE_ver=$($ac_path_LIBTOOLIZE --version 2>&1 \
                         |$EGREP '\(GNU libtool.*\) (2[[:digit:]]*\.|1\.6[[:digit:]]*\.|1\.5\.[2-9][[:digit:]]+)')
           test -n "$LIBTOOLIZE_ver" && ac_cv_path_LIBTOOLIZE=$ac_path_LIBTOOLIZE ac_path_LIBTOOLIZE_found=:]],


Johannes

--
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]