Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

#3331 closed defect (fixed)

i386 targets don't compile with --enable-smp

Reported by: Amaan Cheval Owned by: Amaan Cheval <amaan.cheval@…>
Priority: normal Milestone:
Component: arch/i386 Version:
Severity: normal Keywords: smp
Cc: Blocked By:
Blocking:

Description

Build error:

/home/amaan/repos/rtems/kernel/cpukit/include/rtems/score/percpu.h:384:23: error: variable or field 'Interrupt_frame' declared void
   CPU_Interrupt_frame Interrupt_frame;
                       ^~~~~~~~~~~~~~~
/home/amaan/repos/rtems/kernel/cpukit/include/rtems/score/percpu.h:520:8: error: size of array 'unused_space_for_cache_line_alignment' is too large
   char unused_space_for_cache_line_alignment
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Makefile:764: recipe for target 'ckinit.o' failed

Besides these compile and link-time issues, the i386 does not support SMP fully, but as a first step, we should at least have it build.

Possibly related to #2623.

Change History (2)

comment:1 Changed on 03/16/18 at 16:02:17 by Amaan Cheval <amaan.cheval@…>

Owner: set to Amaan Cheval <amaan.cheval@…>
Resolution: fixed
Status: newclosed

In [changeset:"efa0039ee94416e98636ae8228c04b1fafb42c90/rtems" efa0039e/rtems]:

Error: Processor CommitTicketReference failed
/data/trac/repo/rtems.git does not appear to be a Git repository.

comment:2 Changed on 03/17/18 at 06:29:50 by Amaan Cheval

Closing this issue involved 3 commits:

https://devel.rtems.org/changeset/e9fb313/rtems
https://devel.rtems.org/changeset/51614c0/rtems
https://devel.rtems.org/changeset/efa0039/rtems

The git-hook only posted the last to this ticket - perhaps because the commit message said "updates" instead of "update"?

Note: See TracTickets for help on using tickets.