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: Multiple definition of ... during linking of libc.a


Jean Charles, All,

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 backportson x86_64.

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]