Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-73069

[rhel9]crash-gcore-command fail to build

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • rhel-9.7
    • rhel-9.6
    • crash-gcore-command
    • None
    • crash-gcore-command-1.6.4-2.el9
    • No
    • Moderate
    • 1
    • rhel-kernel-debug
    • ssg_core_kernel
    • 11
    • 13
    • 2
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • CK-2025-wk19
    • None

      Build gcore with failure:

      gcore.c: In function 'do_gcore':
      gcore.c:309:32: error: too few arguments to function 'set_context'
      309 | (void) set_context(tc->task, NO_PID);

      ^~~~~~~~~~~
      In file included from gcore.c:16:
      /usr/include/crash/defs.h:6097:5: note: declared here
      6097
      int set_context(ulong, ulong, uint);
      ^~~~~~~~~~~
      gcore.c:343:23: error: too few arguments to function 'set_context'
      343
      (void)set_context(gcore->orig_task, NO_PID);
      ^~~~~~~~~~~
      In file included from gcore.c:16:
      /usr/include/crash/defs.h:6097:5: note: declared here
      6097
      int set_context(ulong, ulong, uint);
      ^~~~~~~~~~~
      make: *** [gcore.mk:111: gcore.so] Error 1

              ltao@redhat.com Liu Tao
              ltao@redhat.com Liu Tao
              Lianbo Jiang Lianbo Jiang
              Jie Li Jie Li
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: