Compilation error of rtems for sparc-leon2 with multilib enabled

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


Am Samstag, 2. Mai 2015, 10:48:00 schrieb Joel Sherrill:
> The head of the tree builds fine for me with the latest RSB tools.
> 
> What is the output of sparc-rtems4.11-gcc --version?
> 

sparc-rtems4.11-gcc (GCC) 4.9.2 20141030 (RTEMS 4.11, RSB 
b65c131f2e11e352fde6efa0ec2fe5000dad3a4a-modified, Newlib 2.2.0.20150323)
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Don't know why it says modified there. git status doesn't show any 
modification to my local rsb-repository.

> What is your host?

Kubuntu 15.04 64bit

> 
> What is your configure command for RTEMS?
> 

../rtems-git/configure --target=sparc-rtems4.11 --enable-rtemsbsp=leon2 --
enable-tests=samples --enable-networking --enable-posix --enable-multilib --
enable-rdbg --enable-cxx --prefix=/home/jan/workspace/rtems-
pi/development/rtems/rtems/bsps/4.11

It works if I don't use the --enable-multilib option. Is that advisable?

> What is your PATH?
> 

/home/jan/workspace/rtems-
pi/development/rtems/./compiler/4.11/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games


> Hopefully we can spot something that way.

I also uploaded the whole build log here: http://pastebin.ca/2987513

> 
> >Am Samstag, 25. April 2015, 12:08:17 schrieb Joel Sherrill:
> >> On April 25, 2015 11:47:05 AM EDT, Jan Sommer
> >
> ><soja-misc at aries.uberspace.de>
> >
> >wrote:
> >> >Am Samstag, 25. April 2015, 11:25:02 schrieben Sie:
> >> >> A large patch came in from Gaisler. You probably need to bootstrap
> >> >
> >> >from the
> >> >
> >> >> top of the tree and build from scratch.
> >> >> 
> >> >> With that patch set merged, the RTEMS.org and Gaisler RTEMS trees
> >> >
> >> >should be
> >> >
> >> >> synchronized.
> >> >
> >> >I cloned the repo into a new directory to make sure that I have a
> >
> >clean
> >
> >> >repository and ran ./bootstrap in it, but the problem still exists.
> >> >I also boostrapped everytime after I checked out a different commit.
> >> 
> >> Weird. I built all BSPs successfully except a few that I posted about
> >> yesterday.
> >> 
> >> I am out of town and answering from my phone. Perhaps someone else
> >
> >has an
> >
> >> idea.
> >> 
> >> >Or do you mean I need to rebuild the cross compiler too?
> >> 
> >> No. You shouldn't have to rebuild tools. There haven't been any
> >
> >changes
> >
> >> there recently.
> >> 
> >> >Best regards,
> >> >
> >> >   Jan
> >> >> 
> >> >> --joel
> >> 
> >> --joel
> 
> --joel




More information about the users mailing list