Build error on rtems master

Gedare Bloom gedare at rtems.org
Thu Feb 2 19:52:53 UTC 2017


Maybe the default-configuration.c should set max processors to 1?

On Thu, Feb 2, 2017 at 2:51 PM, Joel Sherrill <joel at rtems.org> wrote:
> That sounds like a reasonable error and fix. Please send a patch
> to the mailing list.
>
> I assume the build of all BSPs I just started is likely to fail if
> I didn't enable SMP. :)
>
> --joel
>
> On Thu, Feb 2, 2017 at 1:07 PM, Kirspel, Kevin <Kevin-Kirspel at idexx.com>
> wrote:
>>
>> I’m getting a build error with the latest master due to the changes
>> removing CONFIGURE_SMP_APPLICATION.  The default-configuration.c file sets
>> CONFIGURE_SMP_MAXIMUM_PROCESSORS to 32 thus enabling the internal
>> _CONFIGURE_SMP_APPLICATION define on targets without SMP.  I had to add a
>>
>>
>>
>> #if defined(RTEMS_SMP)
>>
>>
>>
>> guard around
>>
>>
>>
>> #if CONFIGURE_SMP_MAXIMUM_PROCESSORS > 1
>>
>>   #define _CONFIGURE_SMP_APPLICATION
>>
>> #endif
>>
>>
>>
>> to get it to compile.  I was building for the xilinx_zynq_a9_qemu BSP.
>>
>>
>>
>> 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
>>
>>
>>
>>
>> _______________________________________________
>> devel mailing list
>> devel at rtems.org
>> http://lists.rtems.org/mailman/listinfo/devel
>
>
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel



More information about the devel mailing list