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: problem building toolchain with uclibc


Tried with binutil 2.17 and succeeded !
Would it be beneficial for others to post the combinations that worked for me? If so how would I go about doing that?

Thanks,
Amir



> -----Original Message-----
> From: Khem Raj [mailto:raj.khem@gmail.com]
> Sent: Thursday, February 12, 2009 7:24 AM
> To: Amir Tsvitov
> Cc: crossgcc@sourceware.org
> Subject: Re: problem building toolchain with uclibc
> 
> 2009/2/11 Amir Tsvitov <amir.tsvitov@percello.com>:
> > Hello,
> > After successfully building a mips cross toolchain with glibc I tried
> to build with uclibc (binutils 2.19, gcc 4.2.0, uclibc  0.9.30). The
> build fails in the final step with the error attached below. I tried
> several configuration options but always get the same result.
> > Can anyone give me a clue to what I'm doing wrong?
> >
> > Thanks,
> > Amir
> >
> >
> > â
> > â
> > ./libgcc_s.so && if [ -f ./libgcc_s.so.1 ]; then mv -f
> ./libgcc_s.so.1 ./libgcc_s.so.1.backup; else true; fi && mv
> ./libgcc_s.so.1.tmp ./libgcc_s.so.1 && ln -s libgcc_s.so.1
> ./libgcc_s.so
> >
> > [ALL  ]    /opt/percello/toolchain/mipsel-uclibc/mipsel-percello-
> linux-uclibc/bin/ld: non-dynamic relocations refer to dynamic symbol
> pthread_mutex_unlock
> > [ALL  ]    /opt/percello/toolchain/mipsel-uclibc/mipsel-percello-
> linux-uclibc/bin/ld: failed to set dynamic section sizes: Bad value
> >
> > [ALL  ]    collect2: ld returned 1 exit status
> > [ERROR]    make[4]: *** [libgcc_s.so] Error 1
> > [ALL  ]    make[4]: Leaving directory
> `/opt/percello/crosstool/bin/targets/mipsel-percello-linux-
> uclibc/build/build-cc/gcc'
> > [ERROR]    make[3]: *** [libgcc.a] Error 2
> > [ALL  ]    make[3]: Leaving directory
> `/opt/percello/crosstool/bin/targets/mipsel-percello-linux-
> uclibc/build/build-cc/gcc'
> > [ERROR]    make[2]: *** [all-gcc] Error 2
> > [ALL  ]    make[2]: Leaving directory
> `/opt/percello/crosstool/bin/targets/mipsel-percello-linux-
> uclibc/build/build-cc'
> > [ERROR]    make[1]: *** [all] Error 2
> > [ALL  ]    make[1]: Leaving directory
> `/opt/percello/crosstool/bin/targets/mipsel-percello-linux-
> uclibc/build/build-cc'
> > [ERROR]    Build failed in step 'Installing final compiler'
> > [ERROR]    Error happened in '/opt/percello/crosstool//lib/ct-ng-
> 1.3.2/scripts/functions' in function 'CT_DoExecLog' (line unknown,
> sorry)
> > [ERROR]          called from '/opt/percello/crosstool//lib/ct-ng-
> 1.3.2/scripts/build/cc/gcc.sh' at line # 293 in function 'do_cc'
> > [ERROR]          called from '/opt/percello/crosstool//lib/ct-ng-
> 1.3.2/scripts/crosstool.sh' at line # 464 in function 'main'
> > [ERROR]    Look at '/opt/percello/toolchain/mipsel-uclibc/build.log'
> for more info on this error.
> > [ERROR]  (elapsed: 21:26.84)
> >
> > --
> > For unsubscribe information see http://sourceware.org/lists.html#faq
> >
> >
> 
> Can you use a different versions binutils.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]