Multiple definition of ... during linking of libc.a
Yann E. MORIN
yann.morin.1998@anciens.enib.fr
Tue Aug 31 23:37:00 GMT 2010
Jean Charles, All,
On Wednesday 01 September 2010 00:54:06 Yann E. MORIN wrote:
> On Wednesday 25 August 2010 15:04:22 Jean Charles Mammana wrote:
> > Hi all,
> > I'm trying to make a toolchain for ARM using crosstool-ng-1.8.0 on
> > Ubuntu 10.04.
> > At the end of building libc, I have some linker errors :
> > /home/gostai/crosstool-ng-1.8.0/toolchain/targets/arm-gostai-linux-gnueabi/build/build-libc/libc.a(dl-sysdep.o):
> > In function `_dl_important_hwcaps':
> > [ALL ] dl-sysdep.c:(.text+0x4): multiple definition of
> > `_dl_important_hwcaps'
> [--SNIP--]
>
> I do not have this error, but I get:
> [ALL ] /home/ymorin/dev/crosstool-NG/ct-ng.tests/targets/src/gcc-4.2.2/gcc/regrename.c:
> In function 'copyprop_hardreg_forward_1':
> [ERROR] /home/ymorin/dev/crosstool-NG/ct-ng.tests/targets/src/gcc-4.2.2/gcc/regrename.c:1646:
> error: 'IFCVT_ALLOW_MODIFY_TEST_IN_INSN' undeclared (first use in this function)
>
> I.e, my build does not go as far as yours does. My system is a Debian Lenny
> with backports on x86_64.
FYI, I succesfully built a similar toolchain, but with glibc-2.8 and
gcc-4.2.4.
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
More information about the crossgcc
mailing list