Re: threadglobalconstruction.c compile error when POSIX is disabled

2014-10-29 Thread Joel Sherrill
On 10/29/2014 3:49 PM, Hesham Moustafa wrote: > Hi, > > Sorry for the false alarm, it seems to be due to some rebasing issues. > I forked a vanilla repo and it builds fine with/without POSIX enabled. > Thanks for double checking. > Regards, > Hesham > > On Wed, Oct 29, 2014 at 8:37 PM, Joel Sherri

Re: threadglobalconstruction.c compile error when POSIX is disabled

2014-10-29 Thread Hesham Moustafa
Hi, Sorry for the false alarm, it seems to be due to some rebasing issues. I forked a vanilla repo and it builds fine with/without POSIX enabled. Regards, Hesham On Wed, Oct 29, 2014 at 8:37 PM, Joel Sherrill wrote: > > On 10/25/2014 8:57 AM, Hesham Moustafa wrote: > > Hi, > > The exact error

Re: threadglobalconstruction.c compile error when POSIX is disabled

2014-10-29 Thread Joel Sherrill
On 10/25/2014 8:57 AM, Hesham Moustafa wrote: > Hi, > > The exact error occurs with or1k port, even with --enable-posix and > after Sebastian's fix commit. Any idea how to fix this? > Can you give me your configure command? I tried with POSIX enabled and disabled and built all tests in both cases

Re: threadglobalconstruction.c compile error when POSIX is disabled

2014-10-25 Thread Hesham Moustafa
Hi, The exact error occurs with or1k port, even with --enable-posix and after Sebastian's fix commit. Any idea how to fix this? Regards, Hesham On Thu, Oct 16, 2014 at 2:04 PM, Joel Sherrill wrote: > > > On October 16, 2014 1:05:54 AM CDT, Sebastian Huber < > sebastian.hu...@embedded-brains.de

Re: threadglobalconstruction.c compile error when POSIX is disabled

2014-10-16 Thread Joel Sherrill
On October 16, 2014 1:05:54 AM CDT, Sebastian Huber wrote: >Hello Joel, > >sorry, I didn't test this with POSIX disabled. I fixed it like this: > >http://git.rtems.org/rtems/commit/?id=cf51c3bfa0bbc50af6e162f22da385c7da113143 > >Why is there a > >/* > * This is kind of kludgy but it allows t

Re: threadglobalconstruction.c compile error when POSIX is disabled

2014-10-15 Thread Sebastian Huber
Hello Joel, sorry, I didn't test this with POSIX disabled. I fixed it like this: http://git.rtems.org/rtems/commit/?id=cf51c3bfa0bbc50af6e162f22da385c7da113143 Why is there a /* * This is kind of kludgy but it allows targets to totally ignore the * optional APIs like POSIX safely. */ #i

threadglobalconstruction.c compile error when POSIX is disabled

2014-10-15 Thread Joel Sherrill
Hi Tripped across this when POSIX is disabled sparc-rtems4.11-gcc --pipe -DHAVE_CONFIG_H -I.. -I../../cpukit/../../../sis/lib/include -mcpu=cypress -O2 -g -ffunction-sections -fdata-sections -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT sr