crosstools-ng - still failing on OSX

Yann E. MORIN yann.morin.1998@anciens.enib.fr
Mon Jul 18 23:03:00 GMT 2011


Guylhem, All,

On Tuesday 19 July 2011 00:40:53 Guylhem Aznar wrote:
> I'm trying again to compile a toolchain with crosstools-ng - and
> release a guide explaining how to do that on a vanilla OSX
> 
> This time I'm suck at CLooG/ppl with crosstool-ng-1.11.4 :
> 
> [INFO ]  Installing CLooG/ppl
> [ERROR]    make[1]: *** [block.lo] Error 63
> [ERROR]
> [ERROR]    >>  Build failed in step 'Installing CLooG/ppl'
> [ERROR]    >>
> [ERROR]    >>  Error happened in: CT_DoExecLog[scripts/functions]
> [ERROR]    >>        called from:
> do_cloog[scripts/build/companion_libs/cloog.sh@70]
> [ERROR]    >>        called from: main[scripts/crosstool-NG.sh@581]
> [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]    >>      'share/doc/ct-ng-1.11.4/B - Known issues.txt'
> [ERROR]
> [ERROR]    Build failed in step 'Installing CLooG/ppl'
> [ERROR]
> [ERROR]    (elapsed: 9:31.00)
> [09:31] / make: *** [build] Error 1
> 
> It's not a known issue, but more details are available in build.log :
> 
> [DEBUG]    ==> Executing: 'make' '-j1' 'libcloog.la'
> [ALL  ]    /bin/bash ./libtool --tag=CC   --mode=compile
> x86_64-build_apple-darwin10.8.0-gcc -DHAVE_CONFIG_H -I.
> -I./include/cloog
> -I/Volumes/Crosstools/crosstool-ng-1.11.4/.build/src/cloog-ppl-0.15.10
> -I./include -I/Volumes/Crosstools/crosstool-ng-1.11.4/.build/src/cloog-ppl-0.15.10/include
>  -I/Volumes/Crosstools/crosstool-ng-1.11.4/.build/mips-osx-linux-uclibc/build/static/include
> -I/Volumes/Crosstools/crosstool-ng-1.11.4/.build/mips-osx-linux-uclibc/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
> '/Volumes/Crosstools/crosstool-ng-1.11.4/.build/src/cloog-ppl-0.15.10/'`source/block.c[ALL
>  ]    libtool: Version mismatch error.  This is libtool 2.2.6, but the
> [ALL  ]    libtool: definition of this LT_INIT comes from libtool 2.2.4.
> [ALL  ]    libtool: You should recreate aclocal.m4 with macros from
> libtool 2.2.6[ALL  ]    libtool: and run autoconf again.
> [ERROR]    make[1]: *** [block.lo] Error 63
> [ERROR]
> [ERROR]    >>  Build failed in step 'Installing CLooG/ppl'

Could you post your .config, so I can try to reproduce here?
Probably tomorrow, I'm heading to bed right now (1am here).

> I got libtool-2.2.6 from  gnu.org, following these recommendations :
> http://sourceware.org/ml/crossgcc/2010-02/msg00025.html
> 
> Maybe there's a discrepancy that could be corrected by regenerating
> the m4 upon build? (just a wild guess)

You can instruct ct-ng to do it all for you:
  Paths and misc options  --->
    [*] Try features marked as EXPERIMENTAL
  Companion tools  --->
    [*] Build some companion tools
    [ ]   make
    [ ]   m4
    [ ]   autoconf
    [ ]   automake
    [ ]   libtool

Then select those you need. crosstool-NG uses versions that are known to
work. At least, those versions were known to work when they were added. ;-)

Regards,
Yann E. MORIN.

PS. I don't accept direct contacts to my jabber account, not before
request by private mail with reasons why. And anyway, I mostly accept
my familly and close friends. Discussion about crosstool-NG will *not*
happen on my jabber account at all; this list is the correct place, or
the #crosstool-ng IRC channel on freenode.net ;-)
YEM.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

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



More information about the crossgcc mailing list