[PATCH 1/5] Adding modified FREEBSD headers to sync RTEMS termios with FREEBSD

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Mar 20 12:26:09 UTC 2017


On 14/03/17 14:54, Kirspel, Kevin wrote:
> I tested it against xilinx_zynq_a9_qemu.  I'm not sure it exists, but if there is a way to compile the patch against every (or most) BSP then we could ensure no BSP is broken.

You can build all BSPs of a target if you omit the --enable-rtemsbsp 
option. I got two failures with this patch set so far:

sh-rtems4.12-gcc --pipe -B../../../../.././lib/ 
-B../../../../.././gensh1/lib/ -specs bsp_specs -qrtems 
-DPACKAGE_NAME=\"rtems-c-src-lib-libcpu-sh\" 
-DPACKAGE_TARNAME=\"rtems-c-src-lib-libcpu-sh\" 
-DPACKAGE_VERSION=\"4.11.99.0\" 
-DPACKAGE_STRING=\"rtems-c-src-lib-libcpu-sh\ 4.11.99.0\" 
-DPACKAGE_BUGREPORT=\"https://devel.rtems.org/newticket\" 
-DPACKAGE_URL=\"\" -I. 
-I/home/EB/sebastian_h/git-rtems-4.12/c/src/lib/libcpu/sh  -isystem 
../../../../.././gensh1/lib/include   -m1 -O2 -g -ffunction-sections 
-fdata-sections -Wall -Wmissing-prototypes 
-Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT 
sh7032/sci/sh7032_sci_rel-sci.o -MD -MP -MF 
sh7032/sci/.deps/sh7032_sci_rel-sci.Tpo -c -o 
sh7032/sci/sh7032_sci_rel-sci.o `test -f 'sh7032/sci/sci.c' || echo 
'/home/EB/sebastian_h/git-rtems-4.12/c/src/lib/libcpu/sh/'`sh7032/sci/sci.c
/home/EB/sebastian_h/git-rtems-4.12/c/src/lib/libcpu/sh/sh7032/sci/sci.c: In 
function '_sci_set_cflags':
/home/EB/sebastian_h/git-rtems-4.12/c/src/lib/libcpu/sh/sh7032/sci/sci.c:75:8: 
error: 'c_cflag' undeclared (first use in this function)
    if ( c_cflag & CSIZE )
         ^~~~~~~
/home/EB/sebastian_h/git-rtems-4.12/c/src/lib/libcpu/sh/sh7032/sci/sci.c:75:8: 
note: each undeclared identifier is reported only once for each function 
it appears in
gmake[5]: *** [sh7032/sci/sh7032_sci_rel-sci.o] Error 1

arm-rtems4.12-gcc --pipe -B../../../../../.././lib/ 
-B../../../../../.././smdk2410/lib/ -specs bsp_specs -qrtems 
-DHAVE_CONFIG_H 
-I/home/EB/sebastian_h/git-rtems-4.12/c/src/lib/libbsp/arm/smdk2410/../shared/armv467ar-basic-cache 
-mcpu=arm920t -DCPU_S3C2410 -O2 -g -ffunction-sections -fdata-sections 
-Wall -Wmissing-prototypes -Wimplicit-function-declaration 
-Wstrict-prototypes -Wnested-externs -MT libbsp_a-smc.o -MD -MP -MF 
.deps/libbsp_a-smc.Tpo -c -o libbsp_a-smc.o `test -f 'smc/smc.c' || echo 
'/home/EB/sebastian_h/git-rtems-4.12/c/src/lib/libbsp/arm/smdk2410/'`smc/smc.c
In file included from 
../../../../../.././smdk2410/lib/include/sys/termios.h:37:0,
                  from /build/rtems-4.12/arm-rtems4.12/include/termios.h:4,
                  from 
../../../../../.././smdk2410/lib/include/rtems/libio.h:35,
                  from 
/home/EB/sebastian_h/git-rtems-4.12/c/src/lib/libbsp/arm/smdk2410/smc/smc.c:10:
../../../../../.././smdk2410/lib/include/s3c2410.h:705:14: error: 
expected identifier or '(' before numeric constant
      unsigned VSTATUS:2;   /* TFT: Vertical Status (Read only). */
               ^
gmake[6]: *** [libbsp_a-smc.o] Error 1

>
> Kevin Kirspel
> Electrical Engineer - Sr. Staff
> Idexx Roswell
> 235 Hembree Park Drive
> Roswell GA 30076
> Tel: (770)-510-4444 ext. 81642
> Direct: (770)-688-1642
> Fax: (770)-510-4445
>
> -----Original Message-----
> From: Sebastian Huber [mailto:sebastian.huber at embedded-brains.de]
> Sent: Tuesday, March 14, 2017 9:42 AM
> To: Kirspel, Kevin <Kevin-Kirspel at idexx.com>; devel at rtems.org
> Subject: Re: [PATCH 1/5] Adding modified FREEBSD headers to sync RTEMS termios with FREEBSD
>
> The patch set looks good after a rough review. I will check this in in two or three days if nobody objects.
>
> --
> Sebastian Huber, embedded brains GmbH
>
> Address : Dornierstr. 4, D-82178 Puchheim, Germany
> Phone   : +49 89 189 47 41-16
> Fax     : +49 89 189 47 41-09
> E-Mail  : sebastian.huber at embedded-brains.de
> PGP     : Public key available on request.
>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the devel mailing list