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: can't build any toolchain with gcc-4.4.x


On Friday 05 March 2010 10:19:12 Achim Mueller wrote:
> I try to create a toolchain with gcc-4.4.x as target compiler. Every 
> combination of gcc/(eg|g)libc failed while compiling (eg|g)libc. 
> (crosstool-NG 1.6.0)
> I reverted my config back to sample/i686-nptl-linux-gnu => Everything 
> installed just fine.

Which is why I did not update the sample.

> Simply switch gcc to 4.4.0 => revealed:
[--SNIP--]
> [ALL  ]    rtld.c:(.text+0x26a): undefined reference to `__memcpy_chk'
> [ALL  ]    rtld.c:(.text+0x327): undefined reference to `__memcpy_chk'
> [ALL  ]    rtld.c:(.text+0x548): undefined reference to `__memcpy_chk'

Maybe you could try:
  CT_LIBC_GLIBC_EXTRA_CFLAGS="-U_FORTIFY_SOURCE"

> As a first hint, I would like to ask if someone already managed to 
> create a toolchain with gcc-4.4.x for a x86 (either 32 or 64 bit) system 
> (build and target), since gcc-4.4.x is no longer marked as experimental.

Not being marked as EXPERIMENTAL does not mean every combination is
expected to work.

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]