[RTEMS Project] #4517: Build failures for MacOS

RTEMS trac trac at rtems.org
Mon Sep 20 07:55:01 UTC 2021


#4517: Build failures for MacOS
-------------------------+---------------------
 Reporter:  Chris Johns  |       Owner:  (none)
     Type:  defect       |      Status:  new
 Priority:  normal       |   Milestone:  6.1
Component:  tool         |     Version:  6
 Severity:  normal       |  Resolution:
 Keywords:               |  Blocked By:
 Blocking:               |
-------------------------+---------------------
Description changed by Chris Johns:

Old description:

> This ticket is a collection of the following archs that fail to build:
>
> - `bfin`
> - `lm32`
> - `mips`
>
> == `bfin`
> {{{
> ../../../sourceware-mirror-binutils-gdb-7ab567f/sim/bfin/dv-
> bfin_dma.c:124:35: error: implicitly declaring library function 'abs'
> with type 'int (int)' [-Werror,-Wimplicit-function-declaration]
>   if (dma->ele_size != (unsigned) abs (dma->x_modify))
> }}}
>
> == `lm32`
> {{{
> ../../../sourceware-mirror-binutils-gdb-7ab567f/sim/lm32/dv-
> lm32cpu.c:151:8: error: implicit declaration of function
> 'lm32bf_h_csr_get' is invalid in C99 [-Werror,-Wimplicit-function-
> declaration]
>   im = lm32bf_h_csr_get (cpu, LM32_CSR_IM);
> }}}
>
> == `mip`
> {{{
> ../../../sourceware-mirror-binutils-gdb-7ab567f/sim/mips/cp1.c:495:7:
> error: implicitly declaring library function 'abort' with type 'void
> (void) __attribute
> }}}
>
> == `or1k`
> {{{
> ../../../sourceware-mirror-binutils-gdb-7ab567f/sim/or1k/../common/cgen-
> trace.c:213:6: error: implicitly declaring library function 'abort' with
> type 'void (void) __attribute__((noreturn))' [-Werror,-Wimplicit-
> function-declaration]
>             abort ();
> }}}
>
> == `powerpc`
> {{{
> semantics.c:42:7: error: implicit declaration of function
> 'tree_find_property' is invalid in C99 [-Werror,-Wimplicit-function-
> declaration]
>   if (tree_find_property(root, "/options/mpc860c0"))
> }}}
>
> == `v850`
> {{{
> ../../../sourceware-mirror-binutils-gdb-7ab567f/sim/v850/simops.c:1651:6:
> error: implicit declaration of function 'free' is invalid in C99 [-Werror
> ,-Wimplicit-function-declaration]
>             free (path);
> }}}

New description:

 This ticket is a collection of the following archs that fail to build:

 - `bfin`
 - `lm32`
 - `mips`
 - `or1k`
 - `powerpc`
 - `v850`

 == `bfin`
 {{{
 ../../../sourceware-mirror-binutils-gdb-7ab567f/sim/bfin/dv-
 bfin_dma.c:124:35: error: implicitly declaring library function 'abs' with
 type 'int (int)' [-Werror,-Wimplicit-function-declaration]
   if (dma->ele_size != (unsigned) abs (dma->x_modify))
 }}}

 == `lm32`
 {{{
 ../../../sourceware-mirror-binutils-gdb-7ab567f/sim/lm32/dv-
 lm32cpu.c:151:8: error: implicit declaration of function
 'lm32bf_h_csr_get' is invalid in C99 [-Werror,-Wimplicit-function-
 declaration]
   im = lm32bf_h_csr_get (cpu, LM32_CSR_IM);
 }}}

 == `mip`
 {{{
 ../../../sourceware-mirror-binutils-gdb-7ab567f/sim/mips/cp1.c:495:7:
 error: implicitly declaring library function 'abort' with type 'void
 (void) __attribute
 }}}

 == `or1k`
 {{{
 ../../../sourceware-mirror-binutils-gdb-7ab567f/sim/or1k/../common/cgen-
 trace.c:213:6: error: implicitly declaring library function 'abort' with
 type 'void (void) __attribute__((noreturn))' [-Werror,-Wimplicit-function-
 declaration]
             abort ();
 }}}

 == `powerpc`
 {{{
 semantics.c:42:7: error: implicit declaration of function
 'tree_find_property' is invalid in C99 [-Werror,-Wimplicit-function-
 declaration]
   if (tree_find_property(root, "/options/mpc860c0"))
 }}}

 == `v850`
 {{{
 ../../../sourceware-mirror-binutils-gdb-7ab567f/sim/v850/simops.c:1651:6:
 error: implicit declaration of function 'free' is invalid in C99 [-Werror
 ,-Wimplicit-function-declaration]
             free (path);
 }}}

--

--
Ticket URL: <http://devel.rtems.org/ticket/4517#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list