Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-3476

Fix OOM build error when missing certain configuration parameters for a U-Boot board

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done
    • Priority: (None)
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: yocto-3.0-zeus
    • Labels:
    • Sprint:
      MEN Sprint 110
    • Story Points:
      5
    • Backlog:
      yes
    • Days in progress:
      0

      Description

      Try removing the CONFIG_ENV_OFFSET and CONFIG_ENV_OFFSET_REDUND options from the Raspberry Pi defconfig. This causes an infinite loop which eats all memory on the build machine. Normally build errors or hangs are not treated as very high severity, but given that this can take down the build machine, it's important enough to solve before zeus is released.

      The problem is due to the Kconfig script asking over and over for those parameters, filling up the entire log, and the memory. This is related to the cml1_do_configure function in poky, which keep this infinite loop going by submitting constant newlines.

        Attachments

          Activity

            People

            Assignee:
            a10040 Kristian Amlie
            Reporter:
            a10040 Kristian Amlie
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support