[RTEMS Project] #2257: or1k issue with setjmp.h

RTEMS trac trac at rtems.org
Tue Feb 10 17:59:22 UTC 2015


#2257: or1k issue with setjmp.h
---------------------------+------------------
 Reporter:  joel.sherrill  |      Owner:
     Type:  defect         |     Status:  new
 Priority:  normal         |  Milestone:  4.11
Component:  General        |    Version:  4.10
 Severity:  normal         |   Keywords:
---------------------------+------------------
 Notice this is on the no delay variant. Maybe that has impact on the
 ifdef.

 or1k-rtems4.11-gcc --pipe  -mno-delay --pipe -DHAVE_CONFIG_H   -I..
 -I../../../lib/include -I../../../../../rtems/cpukit/libmisc/shell   -g
 -O2 -Wall -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-
 externs  -mno-delay -MT shell/libshell_a-cmp-ls.o -MD -MP -MF shell/.deps
 /libshell_a-cmp-ls.Tpo -c -o shell/libshell_a-cmp-ls.o `test -f 'shell
 /cmp-ls.c' || echo '../../../../../rtems/cpukit/libmisc/'`shell/cmp-ls.c
 In file included from /users/joel/rtems-4.11-work/tools/or1k-
 rtems4.11/include/setjmp.h:10:0,
                  from ../../../../../rtems/cpukit/libmisc/shell/extern-
 ls.h:43,
                  from ../../../../../rtems/cpukit/libmisc/shell/cmp-
 ls.c:56:
 /users/joel/rtems-4.11-work/tools/or1k-
 rtems4.11/include/machine/setjmp.h:356:24: error: '_JBLEN' undeclared here
 (not in a function)
  typedef int sigjmp_buf[_JBLEN+1+(sizeof (sigset_t)/sizeof (int))];
                         ^
 In file included from /users/joel/rtems-4.11-work/tools/or1k-
 rtems4.11/include/sys/types.h:20:0,
                  from ../../../../../rtems/cpukit/libmisc/shell/cmp-
 ls.c:50:
 /users/joel/rtems-4.11-work/tools/or1k-rtems4.11/include/setjmp.h:15:6:
 error: unknown type name 'jmp_buf'
  void _EXFUN(longjmp,(jmp_buf __jmpb, int __retval))
       ^
 /users/joel/rtems-4.11-work/tools/or1k-rtems4.11/include/setjmp.h:20:5:
 error: unknown type name 'jmp_buf'
  int _EXFUN(setjmp,(jmp_buf __jmpb));
      ^
 In file included from ../../../../../rtems/cpukit/libmisc/shell/cmp-
 ls.c:56:0:
 ../../../../../rtems/cpukit/libmisc/shell/extern-ls.h:85:3: error: unknown
 type name 'jmp_buf'

--
Ticket URL: <http://devel.rtems.org/ticket/2257>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list