C++11 threading library

Beojan Stanislaus beojan.stanislaus at queens.ox.ac.uk
Thu Jul 30 15:11:56 UTC 2015


I have pasted the contents of the yum repo file below (using Scientific Linux 6.6)

[rtems-4.11]
name=RTEMS-4.11 for CentOS 6 - $basearch
# baseurl=http://ftp.rtems.org/pub/rtems/linux/4.11/centos/6/$basearch
mirrorlist=http://ftp.rtems.org/pub/rtems/linux/4.11/centos/6/mirrorlist
# metadata_expire=0
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/gpg-pubkey-69ce4a83-44cc2b30-centos-6
        file:///etc/pki/rpm-gpg/gpg-pubkey-eac29b6f-3fe1f458-centos-6

[rtems-4.11-source]
name=RTEMS-4.11 for CentOS 6 - $basearch - source
# baseurl=http://ftp.rtems.org/pub/rtems/linux/4.11/centos/6/SRPMS
mirrorlist=http://ftp.rtems.org/pub/rtems/linux/4.11/centos/6/mirrorlist-source
# metadata_expire=0
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/gpg-pubkey-69ce4a83-44cc2b30-centos-6
        file:///etc/pki/rpm-gpg/gpg-pubkey-eac29b6f-3fe1f458-centos-6

[rtems-4.11-debuginfo]
name=RTEMS-4.11 for CentOS 6 - $basearch - debuginfo
# baseurl=http://ftp.rtems.org/pub/rtems/linux/4.11/centos/6/$basearch/debug
mirrorlist=http://ftp.rtems.org/pub/rtems/linux/4.11/centos/6/mirrorlist-debuginfo
# metadata_expire=0
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/gpg-pubkey-69ce4a83-44cc2b30-centos-6
        file:///etc/pki/rpm-gpg/gpg-pubkey-eac29b6f-3fe1f458-centos-6

Sincerely,

Beojan Stanislaus


> -----Original Message-----
> From: Joel Sherrill [mailto:joel.sherrill at oarcorp.com]
> Sent: Thursday July 30, 2015 03:26 PM
> To: Gedare Bloom; Beojan Stanislaus
> Cc: users at rtems.org; Alan Barr (Alan.Barr at physics.ox.ac.uk); Jaya John
> Subject: Re: C++11 threading library
> 
> 
> 
> On 7/30/2015 8:47 AM, Gedare Bloom wrote:
> > Beojan,
> >
> > I don't know if this is available in newer gcc, but you should
> > definitely not be using the version you picked up in the RHEL6 repo.
> > For RTEMS 4.11, there are not any suitable pre-compiled tools
> > available right now, and the preferred approach for obtaining a
> > compiler is to use the new RSB tool:
> > https://devel.rtems.org/wiki/Developer/Tools/RSB
> 
> Gedare is right on building from source. That is the preferred way now.
> 
> I am a bit concerned that you mention gcc 4.8.x which is relatively new. We
> haven't provided binaries since long before that is available.
> Where did you get them?
> 
> --joel
> 
> > Gedare
> >
> > On Thu, Jul 30, 2015 at 5:08 AM, Beojan Stanislaus
> > <beojan.stanislaus at queens.ox.ac.uk> wrote:
> >> I am trying to compile some C++11 code that uses the threading features
> in the standard library (std::thread etc) using arm-rtems4.11-g++ version
> 4.8.2 (from the RHEL 6 repository). I get the error 'thread' is not a member of
> 'std'. Delving into the include files shows that this is because
> _GLIBCXX_HAS_GTHREADS is not defined (from  /opt/rtems-
> 4.11/lib/gcc/arm-rtems4.11/4.8.2/include/c++/thread).
> >>
> >> Can anyone tell me if this has been resolved in a newer version of gcc (or
> will be resolved soon)?
> >>
> >> Sincerely,
> >>
> >> Beojan Stanislaus
> >>
> >> _______________________________________________
> >> users mailing list
> >> users at rtems.org
> >> http://lists.rtems.org/mailman/listinfo/users
> > _______________________________________________
> > users mailing list
> > users at rtems.org
> > http://lists.rtems.org/mailman/listinfo/users
> >
> 
> --
> Joel Sherrill, Ph.D.             Director of Research & Development
> joel.sherrill at OARcorp.com        On-Line Applications Research
> Ask me about RTEMS: a free RTOS  Huntsville AL 35805
> Support Available                (256) 722-9985


More information about the users mailing list