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


On Thu, Jan 26, 2012 at 10:40 AM, Johannes Stezenbach <js@sig21.net> wrote:
> 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


Yes, I have the same output in my build.log:

L  ]    `/home/cmorgan/ct-ng-install/lib/ct-ng.hg@default-188d58cfe7cf/scripts/config.sub'
-> `./autoconf/config.sub'
[DEBUG]    ==> Executing: 'touch'
'/home/cmorgan/ct-ng-install/bin/.build/src/.cloog-ppl-0.15.10.patched'
[DEBUG]    ==> Executing: 'rm' '-f'
'/home/cmorgan/ct-ng-install/bin/.build/src/.cloog-ppl-0.15.10.patching'
[DEBUG]    ==> Executing: './autogen.sh'
[CFG  ]    libtool: unrecognized option `-c'
[CFG  ]    libtool: Try `libtool --help' for more information.
[DEBUG]    ==> Executing: 'touch' '/home/cmor


I'm not sure where that configure.ac file is that you'd like me to
patch. Is modifying that going to get overwritten when I re-run the
ct-ng build?

Any chance the fix will make it into the crosstool repo in the near future?

Chris

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