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]

Re: crosstool-ng 1.16.0: libtool problem


Dear Mr. Hundven,

How can I set ct-ng to use "companion tools bundled with ct-ng" ?

The output of "libtool --version" is:
ltmain.sh (GNU libtool) 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)
I used "yum install" to install it.

This is weird. According to .configure --help, the minimum libtool
version should be:
 1.5.26
But running .configure does not alert on a libtool problem.
Can this cause the problem ?

I tried pastebin but I should be a PRO user to paste all build.log

You help is highly appreciated.

Thanks,
Zvika

On Sat, Oct 6, 2012 at 10:10 AM, Bryan Hundven <bryanhundven@gmail.com> wrote:
> On Fri, Oct 5, 2012 at 10:14 PM, Zvi Vered <veredz72@gmail.com> wrote:
>> Hello,
>>
>> I'm using crosstool-ng 1.16.0 to create a toolchain for
>> "i686-nptl-linux-gnu" under centos 5.3
>>
>> I got the following error:
>>
>> [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: 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[1]: *** [loop.lo] Error 1
>> [ALL  ]    make[1]: *** Waiting for unfinished jobs....
>> [ALL  ]    ./libtool: line 466: CDPATH: 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.
>> [ERROR]    make[1]: *** [block.lo] Error 1
>> [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.
>> [ERROR]    make[1]: *** [names.lo] Error 1
>> [ALL  ]    make[1]: Leaving directory
>> `/home/zvivered/GNU/ct-ng-1.16.0/working/i686-nptl-linux-gnu/build/build-cloog-ppl-host-i686-build_pc-linux-gnu'
>> [ERROR]
>> [ERROR]  >>
>> [ERROR]  >>  Build failed in step 'Installing CLooG/PPL for host'
>> [ERROR]  >>        called in step '(top-level)'
>> [ERROR]  >>
>> [ERROR]  >>  Error happened in: CT_DoExecLog[scripts/functions@158]
>> [ERROR]  >>        called from:
>> do_cloog_backend[scripts/build/companion_libs/cloog.sh@111]
>> [ERROR]  >>        called from:
>> do_cloog_for_host[scripts/build/companion_libs/cloog.sh@72]
>> [ERROR]  >>        called from: main[scripts/crosstool-NG.sh@598]
>> [ERROR]  >>
>> [ERROR]  >>  For more info on this error, look at the file: 'build.log'
>> [ERROR]  >>  There is a list of known issues, some with workarounds, in:
>> [ERROR]  >>
>> '/home/zvivered/GNU/ct-ng-1.16.0/share/doc/crosstool-ng/ct-ng.1.16.0/B
>> - Known issues.txt'
>> [ERROR]
>> [ERROR]  (elapsed: 6:05.48)
>>
>> Attached config.ng (copy of .config).
>>
>> Can you help find the problem ?
>>
>> Thanks,
>> Zvika
>>
>> --
>> For unsubscribe information see http://sourceware.org/lists.html#faq
>
> Zvi,
>
> Having the full log - posted to pastebin, or similar site, or hosted
> on some other web site to save space on the mailing list - would also
> be very helpful in this situation.
>
> From what I read, it looks like you have two different versions of
> libtool in the same path!?! weird!
>
> Have you tried cloog 0.15.11?
>
> As I said in my previous message about automake, try using the
> companion tools bundled with ct-ng.
> ( http://sourceware.org/ml/crossgcc/2012-10/msg00014.html )
>
>># CT_COMP_TOOLS is not set
>
> Not all systems are compatible with ct-ng, which is why we provide m4,
> autoconf, automake, libtool, and make.
>
> Also, this only seems to be a problem with cloog-ppl, have you also
> tried google searching around for similar cloog build errors? This
> doesn't look like it would be specific to crosstool-ng, but having the
> full build log might prove that otherwise.
>
> -Bryan

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