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] |
Hi Yann, All, I'l try it that. Tanks. Regards Chrissy >Betreff: >Re: i686-unknown-linux-gnu-gcc: undefined reference to `__memcpy_chk' >Von: >"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> >Datum: >Thu, 11 Feb 2010 19:34:25 +0100 >An: >crossgcc@sourceware.org >CC: >Chrissy <chrissyheb@gmx.de> > >Hello Chrissy, All! > >On Wednesday 10 February 2010 09:11:40 Chrissy wrote: >> > [ALL ] /media/Entwicklung/MiniFS/toolchain/targets/i686-unknown-linux-gnu >> > /b>uild/build-libc/elf/librtld.os: In function `print_statistics': >> > [ALL ] rtld.c:(.text+0x272): undefined reference to >`__memcpy_chk' >> > [ALL ] rtld.c:(.text+0x33b): undefined reference to >`__memcpy_chk' >> > [ALL ] rtld.c:(.text+0x588): undefined reference to >`__memcpy_chk' >> > [ALL ] /media/Entwicklung/MiniFS/toolchain/targets/i686-unknown-linux-gnu >> > /build/build-libc/elf/librtld.os: In function >`_dl_make_tlsdesc_dynamic': >> > [ALL ] (.text+0x148b6): undefined reference to `__memset_chk' >> > [ALL ] collect2: ld returned 1 exit status >> > I'm compiling on an Ubuntu 9.10 with gcc 4.4.1. >> > I attached the first and the last part of build.log, I hope that >helps. >You are using quite bleeding-edge versions of gcc. Those are known to >be >particularly hard to build, especially in the case where the build >machine >is of the same kind as the target (in your case x86). > > >As a first-timer, I would suggest that you start off with the existing >sample: i686-nptl-linux-gnu. You can recall the sample that way: > > ct-ng i686-nptl-linux-gnu <- configure using values from the >sample > ct-ng show-config <- prints current configuration > >Once your sample built OK, you can _try_ to change one version >_at_a_time_ >with: > > ct-ng menuconfig > ct-ng build > >If you have more than one processor (or a multi-core processor), you >can >instruct crosstool-NG to build in //: > > ct-ng build.4 (replace 4 with the actual number of processors) > >Even on a single-core system, you may benefit a bit from running two >jobs: > > ct-ng build.2 > >HTH. > >Regards, >Yann E. MORIN. > >-- >.-----------------.--------------------.------------------.--------------------. >| 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
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |