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]

[CT_NG] crosstool-ng 1.1.2 not support --enable-thread-safe at MPFR's configure processing.


When I used crosstool-ng ver 1.1.2(Release Date May-26,2008),
I failed because MPFR's configure is not support --enable-thread-safe.
So, I changed  thread-safe option from --enable-thread-safe to
--disable-thread-safe.
Why I do not use --enable-thread-safe option at MPFR's configure command?



[root@centos51 leemgstoolchain112]# ./ct-ng build
    ...................... upper omission ....................
[INFO ]  Installing GMP: done in 319.50s
[INFO ]  =================================================================
[INFO ]  Installing MPFR
[EXTRA]    Configuring MPFR
[ERROR]    configure: error: please configure with --disable-thread-safe
[ERROR]    Build failed in step "Installing MPFR"
[ERROR]    Error happened in
"/opt/leemgstoolchain112/lib/ct-ng-1.1.2/scripts/build/mpfr.sh" in
function "do_mpfr" (line unknown,

sorry)
[ERROR]          called from
"/opt/leemgstoolchain112/lib/ct-ng-1.1.2/scripts/crosstool.sh" at line
# 488 in function "main"
[ERROR]    Look at "/root/x-tools/arm-leemgs-linux-gnueabi/build.log"
for more info on this error.
[ERROR]  Build completed at 20080530.001306
[ERROR]  (elapsed: 36:04.29)
[36:05] / make: *** [build] 1

real    36m4.772s
user    5m36.586s
sys     3m50.862s
[root@centos51 bin]#

----------------------------------------------------
[root@centos51 leemgstoolchain112]# vi ./lib/ct-ng-1.1.2/scripts/build/mpfr.sh
                                    I modified thread-safe option
from enable to disable
[root@centos51 leemgstoolchain112]#

 ................ Upper Omission  ......................


    30     "${CT_SRC_DIR}/${CT_MPFR_FILE}/configure"               \
    31         --build=${CT_BUILD}                                 \
    32         --host=${CT_HOST}                                   \
    33         --prefix="${CT_PREFIX_DIR}"                         \
    34         --disable-thread-safe                                \
<----- This is Problem Code.
    35         --disable-shared --enable-static                    \

 ................ Below Omission  ......................


-----------------------------------------------

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