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]

crosstool build breaks at CLoog/ppl on Fedora 13


Hello,

Crosstool 1.7.0 worked fine for me using Fedora 10.  After upgrade to
Fedora 13, I started seeing errors like the below.  The output below is
actually after I updated to crosstool 1.7.2.

I am building a toolchain for ARM11 (MX31).

Regards,

Darcy

==============


......
[INFO ]  =================================================================
[INFO ]  Installing PPL
[INFO ]  Installing PPL: done in 342.43s (at 10:05)
[INFO ]  =================================================================
[INFO ]  Installing CLooG/ppl
[ERROR]    make[3]: *** [cloog] Error 1
[ERROR]    make[2]: *** [all-recursive] Error 1
[ERROR]    Build failed in step 'Installing CLooG/ppl'
[ERROR]    Error happened in '/home/darcy/workspace/tsf/cogent-arm-oabi-ct/pkgs_build/crosstool-ng-1.7_arm/fs_build/lib/ct-ng-1.7.2/scripts/functions' in function 'CT_DoExecLog' (line unknown, sorry)
[ERROR]          called from '/home/darcy/workspace/tsf/cogent-arm-oabi-ct/pkgs_build/crosstool-ng-1.7_arm/fs_build/lib/ct-ng-1.7.2/scripts/build/companion_libs/cloog.sh' at line # 75 in function 'do_cloog'
[ERROR]          called from '/home/darcy/workspace/tsf/cogent-arm-oabi-ct/pkgs_build/crosstool-ng-1.7_arm/fs_build/lib/ct-ng-1.7.2/scripts/crosstool-NG.sh' at line # 580 in function 'main'
[ERROR]    Look at '/home/darcy/workspace/tsf/cogent-arm-oabi-ct/pkgs_build/crosstool-ng-1.7_arm/crosstool-ng-1.7.2/../x-tools/arm-unknown-linux-uclibc/build.log' for more info on this error.
[ERROR]  (elapsed: 10:13.69)
[10:13] / make[1]: *** [build] Error 2
make[1]: Leaving directory `/home/darcy/workspace/tsf/cogent-arm-oabi-ct/pkgs_build/crosstool-ng-1.7_arm/crosstool-ng-1.7.2'
make: *** [crosstool] Error 1






In crosstool-NG.sh...
----------------------------------
        if [ ${do_it} -eq 1 ]; then
==========line580 below==========
            do_${step}
=================================
            if [ "${CT_STOP}" = "${step}" ]; then
                do_stop=1
            fi
            if [ "${CT_DEBUG_PAUSE_STEPS}" = "y" ]; then
                CT_DoPause "Step '${step}' finished"
            fi
        fi





In cloog.sh...
----------------------------------
do_cloog() {
...

    CT_DoLog EXTRA "Building CLooG/ppl"
==========line75 below===========
    CT_DoExecLog ALL make ${PARALLELMFLAGS}
=================================

    if [ "${CT_COMPLIBS_CHECK}" = "y" ]; then
        CT_DoLog EXTRA "Checking CLooG/ppl"
        CT_DoExecLog ALL make ${PARALLELMFLAGS} -s check
    fi

...
}



Tail end of the build.log file....

[ALL  ]    if i686-build_redhat-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/home/darcy/workspace/tsf/cogent-arm-oabi-ct/pkgs_build/crosstool-ng-1.7_arm/crosstool-ng-1.7.2/targets/src/cloog-ppl-0.15.9 -I./include/cloog -I./include -I/home/darcy/workspace/tsf/cogent-arm-oabi-ct/pkgs_build/crosstool-ng-1.7_arm/crosstool-ng-1.7.2/targets/src/cloog-ppl-0.15.9/include  -I/home/darcy/workspace/tsf/cogent-arm-oabi-ct/pkgs_build/crosstool-ng-1.7_arm/crosstool-ng-1.7.2/targets/arm-unknown-linux-uclibc/build/static/include -I/home/darcy/workspace/tsf/cogent-arm-oabi-ct/pkgs_build/crosstool-ng-1.7_arm/crosstool-ng-1.7.2/targets/arm-unknown-linux-uclibc/build/static/include  -Wall -fomit-frame-pointer -pipe -MT cloog.o -MD -MP -MF ".deps/cloog.Tpo" -c -o cloog.o `test -f 'source/cloog.c' || echo '/home/darcy/workspace/tsf/cogent-arm-oabi-ct/pkgs_build/crosstool-ng-1.7_arm/crosstool-ng-1.7.2/targets/src/cloog-ppl-0.15.9/'`source/cloog.c; 	then mv -f ".deps/cloog.Tpo" ".deps/cloog.Po"; else rm -f ".deps/cloog.Tpo"; exit 1; fi
[ALL  ]    /bin/bash ./libtool --tag=CC --mode=link i686-build_redhat-linux-gnu-gcc -Wall -fomit-frame-pointer -pipe  -L/home/darcy/workspace/tsf/cogent-arm-oabi-ct/pkgs_build/crosstool-ng-1.7_arm/crosstool-ng-1.7.2/targets/arm-unknown-linux-uclibc/build/static/lib -L/home/darcy/workspace/tsf/cogent-arm-oabi-ct/pkgs_build/crosstool-ng-1.7_arm/crosstool-ng-1.7.2/targets/arm-unknown-linux-uclibc/build/static/lib -lstdc++ -o cloog  cloog.o libcloog.la -lgmp -lppl_c -lppl -lgmpxx 
[ALL  ]    libtool: link: i686-build_redhat-linux-gnu-gcc -Wall -fomit-frame-pointer -pipe -o cloog cloog.o  -L/home/darcy/workspace/tsf/cogent-arm-oabi-ct/pkgs_build/crosstool-ng-1.7_arm/crosstool-ng-1.7.2/targets/arm-unknown-linux-uclibc/build/static/lib ./.libs/libcloog.a -lstdc++ /home/darcy/workspace/tsf/cogent-arm-oabi-ct/pkgs_build/crosstool-ng-1.7_arm/crosstool-ng-1.7.2/targets/arm-unknown-linux-uclibc/build/static/lib/libppl_c.a /home/darcy/workspace/tsf/cogent-arm-oabi-ct/pkgs_build/crosstool-ng-1.7_arm/crosstool-ng-1.7.2/targets/arm-unknown-linux-uclibc/build/static/lib/libppl.a /home/darcy/workspace/tsf/cogent-arm-oabi-ct/pkgs_build/crosstool-ng-1.7_arm/crosstool-ng-1.7.2/targets/arm-unknown-linux-uclibc/build/static/lib/libgmpxx.a /home/darcy/workspace/tsf/cogent-arm-oabi-ct/pkgs_build/crosstool-ng-1.7_arm/crosstool-ng-1.7.2/targets/arm-unknown-linux-uclibc/build/static/lib/libgmp.a
[ALL  ]    /usr/bin/ld: /home/darcy/workspace/tsf/cogent-arm-oabi-ct/pkgs_build/crosstool-ng-1.7_arm/crosstool-ng-1.7.2/targets/arm-unknown-linux-uclibc/build/static/lib/libppl.a(MIP_Problem.o): undefined reference to symbol 'sqrt@@GLIBC_2.0'
[ALL  ]    /usr/bin/ld: note: 'sqrt@@GLIBC_2.0' is defined in DSO /lib/libm.so.6 so try adding it to the linker command line
[ALL  ]    /lib/libm.so.6: could not read symbols: Invalid operation
[ALL  ]    collect2: ld returned 1 exit status
[ERROR]    make[3]: *** [cloog] Error 1
[ALL  ]    make[3]: Leaving directory `/home/darcy/workspace/tsf/cogent-arm-oabi-ct/pkgs_build/crosstool-ng-1.7_arm/crosstool-ng-1.7.2/targets/arm-unknown-linux-uclibc/build/build-cloog-ppl'
[ERROR]    make[2]: *** [all-recursive] Error 1
[ALL  ]    make[2]: Leaving directory `/home/darcy/workspace/tsf/cogent-arm-oabi-ct/pkgs_build/crosstool-ng-1.7_arm/crosstool-ng-1.7.2/targets/arm-unknown-linux-uclibc/build/build-cloog-ppl'
[ERROR]    Build failed in step 'Installing CLooG/ppl'
[ERROR]    Error happened in '/home/darcy/workspace/tsf/cogent-arm-oabi-ct/pkgs_build/crosstool-ng-1.7_arm/fs_build/lib/ct-ng-1.7.2/scripts/functions' in function 'CT_DoExecLog' (line unknown, sorry)
[ERROR]          called from '/home/darcy/workspace/tsf/cogent-arm-oabi-ct/pkgs_build/crosstool-ng-1.7_arm/fs_build/lib/ct-ng-1.7.2/scripts/build/companion_libs/cloog.sh' at line # 75 in function 'do_cloog'
[ERROR]          called from '/home/darcy/workspace/tsf/cogent-arm-oabi-ct/pkgs_build/crosstool-ng-1.7_arm/fs_build/lib/ct-ng-1.7.2/scripts/crosstool-NG.sh' at line # 580 in function 'main'
[ERROR]    Look at '/home/darcy/workspace/tsf/cogent-arm-oabi-ct/pkgs_build/crosstool-ng-1.7_arm/crosstool-ng-1.7.2/../x-tools/arm-unknown-linux-uclibc/build.log' for more info on this error.
[ERROR]  (elapsed: 10:13.69)






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