Re: RTEMS SMP configuration

2014-12-08 Thread Joel Sherrill
On 12/8/2014 1:12 AM, Sebastian Huber wrote: > On 06/12/14 21:56, Hesham Moustafa wrote: >> Thanks Joel and Gedare. I found it a bit tricky as I had to add >> epiphany to (hidden) aclocal/enable-smp.m4 files at c/src, cpukit and >> the root directory. > Yes, its bad to waste time on such stuff. S

Re: RTEMS SMP configuration

2014-12-08 Thread Hesham Moustafa
On Mon, Dec 8, 2014 at 7:12 AM, Sebastian Huber wrote: > On 06/12/14 21:56, Hesham Moustafa wrote: >> >> Thanks Joel and Gedare. I found it a bit tricky as I had to add >> epiphany to (hidden) aclocal/enable-smp.m4 files at c/src, cpukit and >> the root directory. > > > Yes, its bad to waste time

Re: RTEMS SMP configuration

2014-12-07 Thread Sebastian Huber
On 06/12/14 21:56, Hesham Moustafa wrote: Thanks Joel and Gedare. I found it a bit tricky as I had to add epiphany to (hidden) aclocal/enable-smp.m4 files at c/src, cpukit and the root directory. Yes, its bad to waste time on such stuff. Should we simply allow the --enable-smp for all archite

Re: RTEMS SMP configuration

2014-12-06 Thread Hesham Moustafa
Hi, Thanks Joel and Gedare. I found it a bit tricky as I had to add epiphany to (hidden) aclocal/enable-smp.m4 files at c/src, cpukit and the root directory. It now builds and compiles fine, and actually I can send some SMP messages to RTEMS on another core, but the current status of SMP/epiphany

Re: RTEMS SMP configuration

2014-12-05 Thread Joel Sherrill
On December 5, 2014 2:40:59 PM CST, Hesham Moustafa wrote: >On Fri, Dec 5, 2014 at 8:36 PM, Gedare Bloom wrote: >> Look for where the undefined functions exist and see what guards in >> the build system or the source code itself might be precluding them >> from your build. >> >Most of SMP file

Re: RTEMS SMP configuration

2014-12-05 Thread Hesham Moustafa
On Fri, Dec 5, 2014 at 8:36 PM, Gedare Bloom wrote: > Look for where the undefined functions exist and see what guards in > the build system or the source code itself might be precluding them > from your build. > Most of SMP files are guarded with HAS_SMP and RTEMS_SMP. I always run boostrap -p an

Re: RTEMS SMP configuration

2014-12-05 Thread Gedare Bloom
Look for where the undefined functions exist and see what guards in the build system or the source code itself might be precluding them from your build. Make sure you re-bootstrap and re-configure a clean build, as old files might cause problems. -Gedare On Fri, Dec 5, 2014 at 3:09 PM, Hesham Mo

Re: RTEMS SMP configuration

2014-12-05 Thread Hesham Moustafa
It seems like adding an entry for epiphany at aclocal/enable-smp.m4 is not enough, I still get the same error, any hints? On Fri, Dec 5, 2014 at 6:03 PM, Hesham Moustafa wrote: > I had to add epiphany to the list RTEMS CPUs that support SMP at > aclocal/enable-smp.m4 > > On Fri, Dec 5, 2014 at 5:

Re: RTEMS SMP configuration

2014-12-05 Thread Hesham Moustafa
I had to add epiphany to the list RTEMS CPUs that support SMP at aclocal/enable-smp.m4 On Fri, Dec 5, 2014 at 5:06 PM, Hesham Moustafa wrote: > Hi, > > Should I add anything other than --enable-smp at configuration line > and RTEMS_CHECK_SMP > AM_CONDITIONAL(HAS_SMP,[test "$rtems_cv_HAS_SMP" = "y

RTEMS SMP configuration

2014-12-05 Thread Hesham Moustafa
Hi, Should I add anything other than --enable-smp at configuration line and RTEMS_CHECK_SMP AM_CONDITIONAL(HAS_SMP,[test "$rtems_cv_HAS_SMP" = "yes"]) to bsp configure.ac file to make the building system collects SMP files (e.g, smpimpl.h). I always get undefined reference to some SMP functions li