Build error on rtems master

Joel Sherrill joel at rtems.org
Thu Feb 2 22:38:28 UTC 2017


I have confirmed that as expected this breaks all BSPS.

--joel

On Thu, Feb 2, 2017 at 3:08 PM, Joel Sherrill <joel at rtems.org> wrote:

>
>
> On Thu, Feb 2, 2017 at 1:52 PM, Gedare Bloom <gedare at rtems.org> wrote:
>
>> Maybe the default-configuration.c should set max processors to 1?
>>
>>
> I would prefer it not be set at all in non-SMP builds.
>
>
>> 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
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20170202/f34d8960/attachment-0002.html>


More information about the devel mailing list