[Ace-users] [ace-users] link error with ARM EABI tools

Johnny Willemsen jwillemsen at remedy.nl
Thu Jan 24 01:17:00 CST 2008


Hi,

This could be related to visibility and gcc 4.x. Try to add
#define ACE_GCC_HAS_TEMPLATE_INSTANTIATION_VISIBILITY_ATTRS 1

to your config.h file 

or no_hidden_visibility=1 to your platform_macros.GNU

Regards,


Johnny Willemsen
Remedy IT
Postbus 101
2650 AC  Berkel en Rodenrijs
The Netherlands
www.theaceorb.nl / www.remedy.nl  

*** Integrated compile and test statistics see
http://scoreboard.theaceorb.nl ***
*** Commercial service and support for ACE/TAO/CIAO             ***
*** See http://www.theaceorb.nl/en/support.html                 ***



"Jeff Rucker" <jeff.rucker at gmail.com> wrote in message
news:<b1bf0066-fb42-4933-a43d-71a34f2c6a87 at d21g2000prf.googlegroups.com>...
> We have been running ACE for a few months on an embedded ARM system
> running embeded Linux. Our board vendor recently switched to an ARM
> EABI compiler (gcc-4.1.1), and most of our code works fine, but the
> ACE lib no longer links. I'm getting eror messages like this:
> 
> .shobj/MEM_Acceptor.o:(.data.rel.ro+0x0): multiple definition of
> `typeinfo for ACE_Singleton<ACE_Based_Pointer_Repository,
> ACE_RW_Thread_Mutex>'
> .shobj/Based_Pointer_Repository.o:(.data.rel.ro+0x0): first defined
> here
> .shobj/MEM_Acceptor.o:(.rodata+0x0): multiple definition of `typeinfo
> name for ACE_Singleton<ACE_Based_Pointer_Repository,
> ACE_RW_Thread_Mutex>'
> .shobj/Based_Pointer_Repository.o:(.rodata+0x0): first defined here
> 
> The previous ARM OABI compiler still works fine - any ideas? And sorry
> if I have not left enough info, I'm still a bit new with the ACE code.



More information about the Ace-users mailing list