[RTEMS Project] #2364: pc386 build fails

RTEMS trac trac at rtems.org
Tue Jun 9 17:09:13 UTC 2015


#2364: pc386 build fails
--------------------------+---------------------
 Reporter:  hermann19829  |       Owner:
     Type:  defect        |      Status:  new
 Priority:  normal        |   Milestone:  4.11.1
Component:  General       |     Version:  4.10
 Severity:  normal        |  Resolution:
 Keywords:  pc386         |
--------------------------+---------------------

Comment (by joel.sherrill):

 This is a patch which makes the VBE_RM enabled only when POSIX is. I see
 the pthread mutex usage in three files and am not sure of the usage. It
 may be possible to replace all of the mutex usage with an atomic bool
 which indicates it is in use.  The usage is really just to ensure only one
 open occurs at a time.

 This disables the driver which I don't think is what we want. There are
 three files which need addressing. And start.S calls a vesa method which
 still needs to be provided. So the fix needs to be thought out.

 $ git diff
 diff --git a/c/src/lib/libbsp/i386/pc386/configure.ac
 b/c/src/lib/libbsp/i386/pc
 index 469d5f5..f780b9c 100644
 --- a/c/src/lib/libbsp/i386/pc386/configure.ac
 +++ b/c/src/lib/libbsp/i386/pc386/configure.ac
 @@ -15,6 +15,7 @@ RTEMS_CHECK_TOOL(OBJCOPY,objcopy,:)
  RTEMS_PROG_CCAS

  RTEMS_CHECK_NETWORKING
 +RTEMS_CHECK_POSIX
  RTEMS_CHECK_SMP

  # Is this an Intel Edison?
 @@ -131,7 +132,7 @@ RTEMS_BSPOPTS_SET([USE_VBE_RM],[*],[0])
  RTEMS_BSPOPTS_HELP([USE_VBE_RM],
  [Defined by default. Enables use of the Vesa Bios Extensions - real mode
   interface, which enables graphical mode and introduce it upon bootup.])
 -AM_CONDITIONAL(USE_VBE_RM,test "$USE_VBE_RM" = "1")
 +AM_CONDITIONAL(USE_VBE_RM,test "$USE_VBE_RM" = "1" -a
 "${RTEMS_HAS_POSIX_API}"

  if test X${CLOCK_DRIVER_USE_TSC} = X1 -a X${CLOCK_DRIVER_USE_8254} = X1 ;
 then
    AC_MSG_ERROR([pc386 both TSC and 8254 specified for clock driver])

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


More information about the bugs mailing list