Compilation error of rtems for sparc-leon2 with multilib enabled

Jan Sommer soja-misc at aries.uberspace.de
Sat May 2 16:22:50 UTC 2015


Am Samstag, 2. Mai 2015, 11:09:00 schrieb Joel Sherrill:
> On May 2, 2015 11:00:55 AM CDT, Jan Sommer <soja-misc at aries.uberspace.de> 
wrote:
> >It works if I don't use --enable-multilib
> 
> That's the issue. A normal BSP build doesn't turn that on. It was added long
> ago as a testing way to ensure the cpukit could be successfully compiled
> for all CPU model variants gcc knows even if we don't have a BSP that
> really uses it or if the odd combination even exists in silicon. Disable
> that and the leon2 will build.
>

Ok, I didn't know that. It's a bit confusing to me. When building gcc you 
usually want to enable-multilib and here you shouln't?
 
> Out of curiosity, what combination isn't building?
> 
How would I find out? Tried to find something in the build log but wasn't sure 
what I was looking for.

Anyways, thank you very much for your help.





More information about the users mailing list