Giter Site home page Giter Site logo

hcode's People

Contributors

aamarin avatar adamant1 avatar am10dolkar avatar anusrang avatar benatibm avatar bilicon avatar brs332 avatar cmolsen avatar davidduyue avatar dcrowell77 avatar dgilbert999 avatar fenkes-ibm avatar ibmthi avatar jahunsbe avatar jjmcgill avatar jklazyns avatar kahnevan avatar mklight avatar op-jenkins avatar prasrang avatar premsjha avatar rbatraaustinibm avatar rjknight avatar sgupta2m avatar steffenchris avatar stermole avatar stillgs avatar sumitk56 avatar vanderp avatar wghoffa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hcode's Issues

QPMR header not found, unable to IPL

We're running into an issue on our Talos systems with DD2.2 and the latest hostboot / HCODE master trees. Our systems will not IPL, and throw errors in ISTEP 15 related to the QPMR header. Our internal diagnostics and @dcrowell77 are in agreement that the HCODE in this repository is either out of sync with the rest of the firmware, or simply broken.

Example output:

43.84925|================================================
 43.86459|Error reported by hwpf (0x0900) PLID 0x900000A6
 43.86611|  HW Procedure generated error. See User Data.
 43.86611|  ModuleId   0x01 MOD_FAPI2_RC_TO_ERRL
 43.86612|  ReasonCode 0x090f RC_HWP_GENERATED_ERROR
 43.86613|  UserData1  RC value from HWP : 0x0000000000cb102a
 43.86614|  UserData2  <unused> : 0x0000000000000000
 43.86911|------------------------------------------------
 43.87778|  HwpReturnCode              : RC_QPMR_HDR_BUILD_FAILURE
 43.87785|  HWP Error description      : Failed to update QPMR Header region of HOMER. Note: 0xFFFFFFFF in field MAX_ALLOWED_SIZE is an invalid size suggesting that image section is not found
 43.87786|------------------------------------------------
 43.89450|  HwpReturnCode              : RC_QPMR_HDR_BUILD_FAILURE
 43.89656|  FFDC                       : EC_LEVEL
 43.89657|     22
 43.91391|------------------------------------------------
 43.91393|  HwpReturnCode              : RC_QPMR_HDR_BUILD_FAILURE
 43.91394|  FFDC                       : CHIP_TYPE
 43.91394|     05
 43.91397|------------------------------------------------
 43.91399|  HwpReturnCode              : RC_QPMR_HDR_BUILD_FAILURE
 43.91400|  FFDC                       : MAX_ALLOWED_SIZE
 43.91401|     0000001D
 43.91404|------------------------------------------------
 43.91406|  HwpReturnCode              : RC_QPMR_HDR_BUILD_FAILURE
 43.91660|  FFDC                       : ACTUAL_SIZE
 43.91660|     00000128
 43.91664|------------------------------------------------
 43.91816|  Callout type             : Procedure Callout
 43.91816|  Procedure                : EPUB_PRC_HB_CODE
 43.91817|  Priority                 : SRCI_PRIORITY_HIGH
 43.91818|------------------------------------------------
 43.91818|  Hostboot Build ID:
 43.91819|================================================
 44.73707|================================================
 44.73708|Error reported by hwpf (0x0900) PLID 0x900000A6
 44.73709|  HW Procedure generated error. See User Data.
 44.73710|  ModuleId   0x01 MOD_FAPI2_RC_TO_ERRL
 44.73710|  ReasonCode 0x090f RC_HWP_GENERATED_ERROR
 44.73711|  UserData1  RC value from HWP : 0x0000000000cb102a
 44.73712|  UserData2  <unused> : 0x0000000000000000
 44.73713|------------------------------------------------
 44.73714|  HwpReturnCode              : RC_QPMR_HDR_BUILD_FAILURE
 44.73720|  HWP Error description      : Failed to update QPMR Header region of HOMER. Note: 0xFFFFFFFF in field MAX_ALLOWED_SIZE is an invalid size suggesting that image section is not found
 44.73721|------------------------------------------------
 44.73723|  HwpReturnCode              : RC_QPMR_HDR_BUILD_FAILURE
 44.73724|  FFDC                       : EC_LEVEL
 44.73724|     22
 44.73727|------------------------------------------------
 44.73729|  HwpReturnCode              : RC_QPMR_HDR_BUILD_FAILURE
 44.73730|  FFDC                       : CHIP_TYPE
 44.73731|     05
 44.73733|------------------------------------------------
 44.73735|  HwpReturnCode              : RC_QPMR_HDR_BUILD_FAILURE
 44.73736|  FFDC                       : MAX_ALLOWED_SIZE
 44.73737|     0000001D
 44.73740|------------------------------------------------
 44.73742|  HwpReturnCode              : RC_QPMR_HDR_BUILD_FAILURE
 44.73742|  FFDC                       : ACTUAL_SIZE
 44.73743|     00000128
 44.73746|------------------------------------------------
 44.73747|  Callout type             : Procedure Callout
 44.73747|  Procedure                : EPUB_PRC_HB_CODE
 44.73748|  Priority                 : SRCI_PRIORITY_HIGH
 44.73749|------------------------------------------------
 44.73749|  Hostboot Build ID:
 44.73750|================================================
 45.69712|System shutting down with error status 0x900000A6
 45.69715|================================================
 45.69716|Error reported by istep (0x1700) PLID 0x900000A6
 45.69903|  IStep failed, see other log(s) with the same PLID for reason.
 45.69903|  ModuleId   0x01 MOD_REPORTING_ERROR
 45.69904|  ReasonCode 0x1703 RC_FAILURE
 45.69905|  UserData1  eid of first error : 0x900000a60000090f
 45.69906|  UserData2  Reason code of first error : 0x0000000200000f01
 45.69907|------------------------------------------------
 45.69907|  host_build_stop_image
 45.69908|------------------------------------------------
 45.69909|  Callout type             : Procedure Callout
 45.69910|  Procedure                : EPUB_PRC_HB_CODE
 45.69911|  Priority                 : SRCI_PRIORITY_LOW
 45.69911|------------------------------------------------
 45.69912|  Hostboot Build ID:
 45.69913|================================================

This is blocking our DD2.2 demos at the Summit. Migrated from open-power/hostboot#129

OCC report:update IPC task did not complete successfully

I'm testing powercapping on p10(opal).
If i set user cap limit to a small value(700w), occ always go to safe mode when htx test going.

OCC report the follow error log:
task_core_data_control: pstate[0x79] update IPC task did not complete .
It seems that PGPE in busy state.

Any suggestion?
I want to know what happened to PGPE.
But I don't know how to debug PGPE or how to obtain the PGPE log.

Here is the occ logs:

00000015.077730878|    1|ERR             |1494485872|E>cmdh_send_ambient_temp: ambient read failure status!
00000015.077733761|    1|INF             |1494516256|cmdh_send_ambient_temp new altitude 228m reference 1000m WOF ambient_adj_for_altitude[-2]
00000020.000729879|    1|INF             |1494496032|check_for_opal_updates: WOF state change 0x00->0x01
00000020.000733079|    1|INF             |1494607840|check_for_opal_updates: soft min Pcap = 0x02BC->0x02BC hard min Pcap = 0x0514->0x0514
00000020.000735612|    1|INF             |1494457776|check_for_opal_updates: max Pcap = 0x0700->0x0700 active Pcap = 0x0000->0x02D0
00000020.000738044|    1|INF             |1494562128|check_for_opal_updates: Pcap PSR = 100->100 Pcap source = 1->1
00000069.281019971|    0|INF             |1494539552|notify_host: notification of reason 0x01 has been sent
00000148.990219870|    0|IMP             |1494569776|First time throttling for reason[0x00004000] History[0x00004000] freq = 3884
00000155.837598419|    1|INF             |1494602320|notify_host: OCCMISC/core_ext_intr not clear yet (register=0x80010000, reason=0x01)
00000183.541631308|    1|INF             |1494602320|notify_host: OCCMISC/core_ext_intr not clear yet (register=0x80010000, reason=0x01)
00000800.712198926|    0|ERR             |1494546768|E>task_core_data_control: pstate[0x79] update IPC task did not complete successfully, idle?[0] rc[00000001]
00000800.712204439|    0|INF             |1494539392|createPgpeErrl: Creating error log in slot[0] max size[3616]
00000800.712207251|    0|IMP             |1494491584|createPgpeErrl: OISR0=0x00000020, OISR1=0x1000E550, OCCS2=0x02AE02BD
00000800.712210403|    0|INF             |1494605808|addPgpeDataToErrl: clipping pgpe trace size from 2104 to 992
00000800.712239836|    0|IMP             |1494435008|Activating reset required state.
00000800.712283859|    0|INF             |1494555120|Reporting error @ 0xFFFAB050 with size 2752
00000800.712286711|    0|INF             |1494569424|ModID: 0x00000406, RC: 0x000000D3, UserData1: 0x00000001, UserData2: 0x00000000
00000800.712370266|    1|IMP             |1494492720|SMGR: All States to Safe Transition Started
00000800.712373264|    1|INF             |1494525056|INTR: WOF disabled due to non-error condition. wof_disabled = 0x00000100
00000800.712375793|    1|ERR             |1494419824|E>INTR: WOF is being disabled. Reasoncode: 0x00000100
00000800.712378604|    1|INF             |1494559744|INTR: WOF disabled, setting frequency ranges
00000800.712382039|    1|INF             |1494410272|amec_set_freq_range: Mode[0x00] Fmin[2000/0x78] Fmax[2850/0x45]

hcode-hw062823a.opmst failed to compile with Fedora 39 ppc64le

Info

I tried to build a RaptorCS blackbird firmware open-power/op-build#5256 on Fedora 39 ppc64le but got error with hcode-hw062823a.opmst (see Error Output)

I have tried GCC 8.4.0, 9.4, 10.4.0 and 12.3.0 but still produce the same error.

System Details Report


Report details

  • Date generated: 2023-08-20 06:58:21

Hardware Information:

  • Hardware Model: Raptor Computing Blackbird C1P9S01 REV 1.01
  • Memory: 61.4 GiB
  • Processor: POWER9, altivec supported × 32
  • Graphics: AMD Radeon™ RX 6600 XT
  • Disk Capacity: 8.0 TB

Software Information:

  • OS Name: Fedora Linux 39 (Workstation Edition Prerelease)
  • OS Arch: PowerPC 64 LE
  • OS Type: 64-bit
  • Kernel Version: Linux 6.5.0-0.rc6.20230816git4853c74bd7ab.45.fc39.ppc64le

Error Output

    p9_sgpe_img_edit.o
    CC         p9_dd_container.o
    AR         libcen_ringId.a
    C++        p9_scan_compression.o
    AR         libstop_gpeImgEdit.a
    C++        p9_tor.o
    AR         libp9_ring_identification.a
    AR         libp9_xip_image.a
    LD         pstate_gpeImgEdit.exe
    AR         libp9_dd_container.a
    LD         cmeImgEdit.exe
    LDSO       libp9_ringId.so
    AR         libp9_tor.a
    LDSO       libcen_ringId.so
    LD         stop_gpeImgEdit.exe
    C++        common_ringId.o
    LDSO       libp9_ring_identification.so
    LDSO       libp9_dd_container.so
    LDSO       libp9_xip_image.so
    AR         libcommon_ringId.ahcode-hw062823a
    LDSO       libp9_tor.so
    LDSO       libcommon_ringId.so
../../import/chips/p9/utils/imageProcs//p9_scan_compression.C: In function ‘int rs4_embed_cmsk(CompressedScanData**, CompressedScanData*)’:
../../import/chips/p9/utils/imageProcs//p9_scan_compression.C:935:26: error: pointer ‘embeddedAddr’ may be used after ‘void* realloc(void*, size_t)’ [-Werror=use-after-free]
  935 |     memmove(embeddedAddr + embeddedSize,
      |             ~~~~~~~~~~~~~^~~~~~~~~~~~~~
../../import/chips/p9/utils/imageProcs//p9_scan_compression.C:927:43: note: call to ‘void* realloc(void*, size_t)’ here
  927 |     *io_rs4 = (CompressedScanData*)realloc(*io_rs4, totalSize);
      |                                    ~~~~~~~^~~~~~~~~~~~~~~~~~~~
../../import/chips/p9/utils/imageProcs//p9_scan_compression.C:940:11: error: pointer ‘embeddedAddr’ may be used after ‘void* realloc(void*, size_t)’ [-Werror=use-after-free]
  940 |     memcpy(embeddedAddr,
      |     ~~~~~~^~~~~~~~~~~~~~
  941 |            i_rs4Cmsk,
      |            ~~~~~~~~~~
  942 |            embeddedSize);
      |            ~~~~~~~~~~~~~
../../import/chips/p9/utils/imageProcs//p9_scan_compression.C:927:43: note: call to ‘void* realloc(void*, size_t)’ here
  927 |     *io_rs4 = (CompressedScanData*)realloc(*io_rs4, totalSize);
      |                                    ~~~~~~~^~~~~~~~~~~~~~~~~~~~
../../import/chips/p9/utils/imageProcs//p9_scan_compression.C:935:12: error: pointer ‘embeddedAddr’ may be used after ‘void* realloc(void*, size_t)’ [-Werror=use-after-free]
  935 |     memmove(embeddedAddr + embeddedSize,
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  936 |             embeddedAddr,
      |             ~~~~~~~~~~~~~
  937 |             be16toh((*io_rs4)->iv_size) - sizeof(CompressedScanData));
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../import/chips/p9/utils/imageProcs//p9_scan_compression.C:927:43: note: call to ‘void* realloc(void*, size_t)’ here
  927 |     *io_rs4 = (CompressedScanData*)realloc(*io_rs4, totalSize);
      |                                    ~~~~~~~^~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[3]: *** [../../import/chips/p9/utils/imageProcs/p9_scan_compression.mk:32: ../../import/../output/obj/p9_scan_compression/p9_scan_compression.o] Error 1
make[2]: *** [common.dir/order.final.mk:41: _BUILD/MODULE_TARGETS] Error 2
make[1]: *** [Makefile:37: all] Error 2
make[1]: Leaving directory '/home/tle/Work/op-build/output/build/hcode-hw062823a.opmst'
make: *** [package/pkg-gene

hcode hw081619a.940 fails to build on ppc64-linux

I know I'll probably need to poke internally about this, but just for documenting it somewhere, upstream op-build (master) is failing to build hcode on Fedora29 ppc64el. I tested the exact same build in an x86-64 F29 and it succeeded.

open-power/op-build level is at a84092c7 (HEAD -> master, origin/master, origin/HEAD) Merge pull request #3019 from stewartsmith/fedora30-ci (August 30)

hcode is hw081619a.940 as mentioned

I tested with GCC 6.5.0 and 8.3.0 as built by buildroot.

Here are the last few lines leading to the build error:

WARNING: no hash file for hcode-hw081619a.940.tar.gz
>>> hcode hw081619a.940 Extracting
gzip -d -c /home/klausk/op-build/dl/hcode/hcode-hw081619a.940.tar.gz | /home/klausk/op-build/output/host/bin/tar --strip                                                                -components=1 -C /home/klausk/op-build/output/build/hcode-hw081619a.940   -xf -
>>> hcode hw081619a.940 Patching
mkdir -p "/home/klausk/op-build/output/host/powerpc64le-buildroot-linux-gnu/sysroot/openpower_version";
# Remove patch file to start off fresh
if [ -f /home/klausk/op-build/output/host/powerpc64le-buildroot-linux-gnu/sysroot/openpower_version/hcode.patch.txt ]; t                                                                hen rm -rf /home/klausk/op-build/output/host/powerpc64le-buildroot-linux-gnu/sysroot/openpower_version/hcode.patch.txt;                                                                 fi
# Check all global patch directories
if ls ""/hcode/*.patch 2>/dev/null; then sha512sum ""/hcode/*.patch | sha512sum | xargs echo >> /home/klausk/op-build/ou                                                                tput/host/powerpc64le-buildroot-linux-gnu/sysroot/openpower_version/hcode.tmp_patch.txt; fi; if ls "/home/klausk/op-buil                                                                d/openpower/custom/patches"/hcode/*.patch 2>/dev/null; then sha512sum "/home/klausk/op-build/openpower/custom/patches"/h                                                                code/*.patch | sha512sum | xargs echo >> /home/klausk/op-build/output/host/powerpc64le-buildroot-linux-gnu/sysroot/openp                                                                ower_version/hcode.tmp_patch.txt; fi;
# Check the package patch dir, /home/klausk/op-build/openpower/package/hcode/ doesn't exist when running the version rul                                                                es
if [ -n "/home/klausk/op-build/openpower/package/hcode/" ]; then if ls /home/klausk/op-build/openpower/package/hcode/*.p                                                                atch 2>/dev/null; then sha512sum /home/klausk/op-build/openpower/package/hcode/*.patch | sha512sum | xargs echo >> /home                                                                /klausk/op-build/output/host/powerpc64le-buildroot-linux-gnu/sysroot/openpower_version/hcode.tmp_patch.txt; fi; else if                                                                 ls /home/klausk/op-build/openpower/package/hcode/*.patch 2>/dev/null; then sha512sum /home/klausk/op-build/openpower/pac                                                                kage/hcode/*.patch | sha512sum | xargs echo >> /home/klausk/op-build/output/host/powerpc64le-buildroot-linux-gnu/sysroot                                                                /openpower_version/hcode.tmp_patch.txt; fi; fi
# If this is for linux, also check openpower/linux
if [ "LINUX" == "HCODE" ]; then if ls /home/klausk/op-build/openpower/hcode/*.patch 2>/dev/null; then sha512sum /home/kl                                                                ausk/op-build/openpower/hcode/*.patch | sha512sum | xargs echo >> /home/klausk/op-build/output/host/powerpc64le-buildroo                                                                t-linux-gnu/sysroot/openpower_version/hcode.tmp_patch.txt; fi; fi;
# Combine all the patches found in the package and global package directories
if [ -f /home/klausk/op-build/output/host/powerpc64le-buildroot-linux-gnu/sysroot/openpower_version/hcode.tmp_patch.txt                                                                 ]; then cat /home/klausk/op-build/output/host/powerpc64le-buildroot-linux-gnu/sysroot/openpower_version/hcode.tmp_patch.                                                                txt | sha512sum | cut -c 1-7 | xargs echo -n > /home/klausk/op-build/output/host/powerpc64le-buildroot-linux-gnu/sysroot                                                                /openpower_version/hcode.patch.txt; fi
# Remove the tmp_patch file
if [ -f /home/klausk/op-build/output/host/powerpc64le-buildroot-linux-gnu/sysroot/openpower_version/hcode.tmp_patch.txt                                                                 ]; then rm -rf /home/klausk/op-build/output/host/powerpc64le-buildroot-linux-gnu/sysroot/openpower_version/hcode.tmp_pat                                                                ch.txt; fi
>>> hcode hw081619a.940 Configuring
mkdir -p "/home/klausk/op-build/output/host/powerpc64le-buildroot-linux-gnu/sysroot/openpower_version"
# Add package name
echo -n "       hcode-" > /home/klausk/op-build/output/host/powerpc64le-buildroot-linux-gnu/sysroot/openpower_version/hc                                                                ode.version.txt
# If site local
# Add site local and user, local commit, if local is dirty
# Else not local
# Add package version, extraversion if linux, op-build is dirty, op-build patches
if [ "https" == "local" ]; then echo -n "site_local-" >> /home/klausk/op-build/output/host/powerpc64le-buildroot-linux-g                                                                nu/sysroot/openpower_version/hcode.version.txt; whoami | xargs echo -n >> /home/klausk/op-build/output/host/powerpc64le-                                                                buildroot-linux-gnu/sysroot/openpower_version/hcode.version.txt; echo -n "-" >> /home/klausk/op-build/output/host/powerp                                                                c64le-buildroot-linux-gnu/sysroot/openpower_version/hcode.version.txt; cd "https://github.com/open-power/hcode/archive/h                                                                w081619a.940"; (git describe --always --dirty || echo "unknown") |sed -e 's/hcode-//' | xargs echo -n >> /home/klausk/op                                                                -build/output/host/powerpc64le-buildroot-linux-gnu/sysroot/openpower_version/hcode.version.txt; else [ `echo -n hw081619                                                                a.940 | wc -c` == "40" ] && (echo -n hw081619a.940 | sed "s/^\([0-9a-f]\{7\}\).*/\1/;s/hcode-//;" >> /home/klausk/op-bui                                                                ld/output/host/powerpc64le-buildroot-linux-gnu/sysroot/openpower_version/hcode.version.txt) || echo -n hw081619a.940 | s                                                                ed -e 's/hcode-//' >> /home/klausk/op-build/output/host/powerpc64le-buildroot-linux-gnu/sysroot/openpower_version/hcode.                                                                version.txt; if [ "LINUX" == "HCODE" ]; then if ls /home/klausk/op-build/output/build/hcode-hw081619a.940/Makefile 1>/de                                                                v/null; then head /home/klausk/op-build/output/build/hcode-hw081619a.940/Makefile | grep EXTRAVERSION | cut -d ' ' -f 3                                                                 | xargs echo -n >> /home/klausk/op-build/output/host/powerpc64le-buildroot-linux-gnu/sysroot/openpower_version/hcode.ver                                                                sion.txt; fi; fi; if [ -f /home/klausk/op-build/output/host/powerpc64le-buildroot-linux-gnu/sysroot/openpower_version/hc                                                                ode.patch.txt ]; then echo -n "-p" >> /home/klausk/op-build/output/host/powerpc64le-buildroot-linux-gnu/sysroot/openpowe                                                                r_version/hcode.version.txt; cat /home/klausk/op-build/output/host/powerpc64le-buildroot-linux-gnu/sysroot/openpower_ver                                                                sion/hcode.patch.txt >> /home/klausk/op-build/output/host/powerpc64le-buildroot-linux-gnu/sysroot/openpower_version/hcod                                                                e.version.txt; fi fi
# Add new line to version.txt
echo "" >> /home/klausk/op-build/output/host/powerpc64le-buildroot-linux-gnu/sysroot/openpower_version/hcode.version.txt                                                                ;
>>> hcode hw081619a.940 Building
CONFIG_FILE=/home/klausk/op-build/openpower/configs/hcode/ LD_LIBRARY_PATH=/home/klausk/op-build/output/host/usr/lib OPE                                                                NPOWER_BUILD=1 CROSS_COMPILER_PATH=/home/klausk/op-build/output/host/powerpc64le-buildroot-linux-gnu/sysroot/ppe42-binut                                                                ils/linux PPE_TOOL_PATH=/home/klausk/op-build/output/host/powerpc64le-buildroot-linux-gnu/sysroot/ppe42-binutils/linux P                                                                PE_PREFIX=/home/klausk/op-build/output/host/powerpc64le-buildroot-linux-gnu/sysroot/ppe42-binutils/linux/bin/powerpc-eab                                                                i- RINGFILEPATH=/home/klausk/op-build/output/host/powerpc64le-buildroot-linux-gnu/sysroot/hostboot_binaries __EKB_PREFIX                                                                = CONFIG_IONV_FILE_LOCATION=/home/klausk/op-build/output/host/powerpc64le-buildroot-linux-gnu/sysroot/hostboot_binaries/                                                                "ionv.bin" CONFIG_INCLUDE_IONV=y bash -c 'cd /home/klausk/op-build/output/build/hcode-hw081619a.940 && source ./env.bash                                                                 && /usr/bin/make -j161 '
    DEP        ppetracepp.dep
    C++        ppetracepp.o
    AR         libppetracepp.a
    LD         ppetracepp.exe
    DEP        p9_xip_image.dep
    DEP        p9_dd_container.dep
    DEP        p9_ringId.dep
    DEP        p9_pgpe_img_edit.dep
    DEP        p9_scan_compression.dep
    DEP        p9_tor.dep
    DEP        common_ringId.dep
    DEP        cen_ringId.dep
    DEP        p9_ring_identification.dep
    DEP        p9_cme_img_edit.dep
make[4]: '../../import/../output/bin/ppetracepp.exe' is up to date.
    C++        p9_ringId.o
    CC         p9_dd_container.o
    DEP        p9_sgpe_img_edit.dep
    C++        cen_ringId.o
    CC         p9_pgpe_img_edit.o
    C++        p9_xip_image.o
    C++        common_ringId.o
    C++        p9_scan_compression.o
    C++        p9_tor.o
    C++        p9_ring_identification.o
    CC         p9_cme_img_edit.o
    CC         p9_sgpe_img_edit.o
    AR         libp9_ring_identification.a
    LDSO       libp9_ring_identification.so
    AR         libpstate_gpeImgEdit.a
    AR         libcen_ringId.a
    LD         pstate_gpeImgEdit.exe
    AR         libcmeImgEdit.a
    LDSO       libcen_ringId.so
    LD         cmeImgEdit.exe
    AR         libp9_dd_container.a
    AR         libstop_gpeImgEdit.a
    LDSO       libp9_dd_container.so
    LD         stop_gpeImgEdit.exe
    AR         libp9_ringId.a
    LDSO       libp9_ringId.so
    AR         libcommon_ringId.a
    LDSO       libcommon_ringId.so
    AR         libp9_tor.a
    LDSO       libp9_tor.so
    AR         libp9_scan_compression.a
    LDSO       libp9_scan_compression.so
    AR         libp9_xip_image.a
    LDSO       libp9_xip_image.so
    DEP        p9_xip_tool.dep
    DEP        p9_dd_container_tool.dep
    CC         p9_dd_container_tool.o
    C++        p9_xip_tool.o
    AR         libp9_dd_container_tool.a
    LD         p9_dd_container_tool.exe
../../import/chips/p9/xip//p9_xip_tool.C: In function ‘int attrListing(const P9XipItem*, const char*)’:
../../import/chips/p9/xip//p9_xip_tool.C:353:20: warning: ‘char* strncpy(char*, const char*, size_t)’ specified bound 42                                                                 equals destination size [-Wstringop-truncation]
             strncpy(name, i_item->iv_id, sizeof(name));
             ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    AR         libp9_xip_tool.a
    LD         p9_xip_tool.exe
    GEN        link_cme_p9n10_script
    GEN        iota_ppe42.s
    GEN        iota_ppe42_vectors.s
    DEP    iota_uih.dep
    DEP    iota.dep
In file included from ../../import/chips/p9/procedures/ppe_closed/cme/../../ppe/iota/link.ld:178:0:
../../import/chips/p9/procedures/ppe_closed/cme/iota_lnk_cfg.h:172:2: error: invalid preprocessing directive #defin
../../import/chips/p9/procedures/ppe_closed/cme/iota_lnk_cfg.h:187:21: warning: missing terminating " character
../../import/chips/p9/procedures/ppe_closed/cme/iota_lnk_cfg.h:214:2: error: invalid preprocessing directive #d
../../import/chips/p9/procedures/ppe_closed/cme/iota_lnk_cfg.h:227:2: error: invalid preprocessing directive #defi
../../import/chips/p9/procedures/ppe_closed/cme/iota_lnk_cfg.h:251:9: error: no macro name given in #define directive
../../import/chips/p9/procedures/ppe_closed/cme/iota_lnk_cfg.h:170:0: error: unterminated #if
../../import/chips/p9/procedures/ppe_closed/cme/../../ppe/iota/link.ld:184:2: error: #error S
    DEP    iota_debug_ptrs.dep
../../import/chips/p9/procedures/ppe_closed/cme/../../ppe/iota/link.ld:193:2: error: invalid preprocessing directive #en
make[4]: *** [../../import/chips/p9/procedures/ppe_closed/cme/cme_p9n10.mk:52: ../../import/../output/obj/cme_p9n10/link                                                                _cme_p9n10_script] Error 1
make[4]: *** Waiting for unfinished jobs....
    DEP    eabi.dep
../../import/chips/p9/procedures/ppe/iota/iota_ppe42.S:172:10: error: #include expects "FILENAME" or <FILENAME>
../../import/chips/p9/procedures/ppe/iota/iota_ppe42.S:185:10: error: #include expects "FILENAME" or <FILENAME>
../../import/chips/p9/procedures/ppe/iota/iota_uih.c:170:2: error: invalid preprocessing directive #includ
../../import/chips/p9/procedures/ppe/iota/iota_uih.c:172:10: error: #include expects "FILENAME" or <FILENAME>
In file included from ../../import/chips/p9/procedures/ppe/iota/iota_uih.c:176:0:
../../import/chips/p9/procedures/ppe/iota/iota_panic_codes.h:170:8: error: no macro name given in #ifndef directive
     IOTA_UNUSED_0701 = 0x0701,
        ^
In file included from ../../import/chips/p9/procedures/ppe/iota/iota_ppe42_vectors.S:172:0:
../../import/chips/p9/procedures/ppe/iota/iota_panic_codes.h:170:8: error: no macro name given in #ifndef directive
     IOTA_UNUSED_0701 = 0x0701,
        ^
error from cpp
cpp returned 1
make[4]: *** [../../import/chips/p9/procedures/ppe_closed/cme/cme_common.mk:62: ../../import/../output/obj/cme_p9n10/iot                                                                a_ppe42.s] Error 1
make[4]: *** [../../import/chips/p9/procedures/ppe_closed/cme/cme_common.mk:62: ../../import/../output/obj/cme_p9n10/iot                                                                a_uih.s] Error 1
error from cpp
cpp returned 1
make[4]: *** [../../import/chips/p9/procedures/ppe_closed/cme/cme_common.mk:62: ../../import/../output/obj/cme_p9n10/iot                                                                a_ppe42_vectors.s] Error 1
../../import/chips/p9/procedures/ppe/iota/iota.c:170:2: error: invalid preprocessing directive #includ
             }
  ^
../../import/chips/p9/procedures/ppe/iota/iota.c:172:10: error: #include expects "FILENAME" or <FILENAME>
             break;
          ^
In file included from ../../import/chips/p9/procedures/ppe/iota/iota.c:176:0:
../../import/chips/p9/procedures/ppe/iota/iota_ppe42.h:172:15: error: missing terminating > character

               ^
../../import/chips/p9/procedures/ppe/iota/iota_ppe42.h:172:14: error: empty filename in #include

              ^
../../import/chips/p9/procedures/ppe/iota/iota_debug_ptrs.c:170:2: error: invalid preprocessing directive #includ
../../import/chips/p9/procedures/ppe/iota/iota_ppe42.h:188:10: error: #include expects "FILENAME" or <FILENAME>
 UNLESS__PPE42_CORE_C__(extern)
          ^
../../import/chips/p9/procedures/ppe/iota/iota_ppe42.h:196:7: error: no macro name given in #ifdef directive
     pk_interrupt_disable(pctx)
       ^
../../import/chips/p9/procedures/ppe/iota/iota_ppe42.h:213:2: error: invalid preprocessing directive #de
         unsigned thread_mode : 1;
  ^
In file included from ../../import/chips/p9/procedures/ppe/iota/iota_debug_ptrs.c:172:0:
../../import/chips/p9/procedures/ppe/iota/iota_debug_ptrs.h:175:1: error: unterminated comment
../../import/chips/p9/procedures/ppe/iota/iota_ppe42.h:239:2: error: invalid preprocessing directive #de
         /// individual threads.  The kernel and/or application will provide
  ^
../../import/chips/p9/procedures/ppe/iota/iota_debug_ptrs.h:170:0: error: unterminated #if
../../import/chips/p9/procedures/ppe/iota/iota_debug_ptrs.c:173:10: error: #include expects "FILENAME" or <FILENAME>
../../import/chips/p9/procedures/ppe/iota/iota_ppe42.h:243:2: error: invalid preprocessing directive #defi
     } fields;
  ^
../../import/chips/p9/procedures/ppe/iota/iota_ppe42.h:253:8: error: no macro name given in #define directive
../../import/chips/p9/procedures/ppe/iota/iota_ppe42.h:275:2: error: invalid preprocessing directive #de
../../import/chips/p9/procedures/ppe/iota/iota_ppe42.h:279:2: error: invalid preprocessing directive #defi
../../import/chips/p9/procedures/ppe/iota/iota_ppe42.h:289:8: error: no macro name given in #define directive
../../import/chips/p9/procedures/ppe/iota/iota_ppe42.h:308:2: error: invalid preprocessing directive #de
../../import/chips/p9/procedures/ppe/iota/iota_ppe42.h:351:3: error: invalid preprocessing directive #prior
../../import/chips/p9/procedures/ppe/iota/iota_ppe42.h:374:3: error: invalid preprocessing directive #temporari
../../import/chips/p9/procedures/ppe/iota/iota_ppe42.h:386:3: error: invalid preprocessing directive #load
../../import/chips/p9/procedures/ppe/iota/iota_ppe42.h:475:8: error: no macro name given in #define directive
../../import/chips/p9/procedures/ppe/iota/iota_ppe42.h:515:9: error: no macro name given in #define directive
make[4]: *** [../../import/chips/p9/procedures/ppe_closed/cme/cme_common.mk:62: ../../import/../output/obj/cme_p9n10/iot                                                                a_debug_ptrs.s] Error 1
../../import/chips/p9/procedures/ppe/iota/iota_ppe42.h:580:2: error: invalid preprocessing directive #defin
../../import/chips/p9/procedures/ppe/iota/iota_ppe42.h:654:9: error: no macro name given in #define directive
../../import/chips/p9/procedures/ppe/iota/iota.c:177:2: error: invalid preprocessing directive #includ
             g_iota_dec_handler();
  ^
../../import/chips/p9/procedures/ppe/iota/iota.c:413:2: error: #endif without #if
../../import/chips/p9/procedures/ppe/iota/iota.c:509:2: error: #endif without #if
../../import/chips/p9/procedures/ppe/iota/iota.c:626:2: error: invalid preprocessing directive #en
../../import/chips/p9/procedures/ppe/iota/iota.c:801:2: error: invalid preprocessing directive #end
../../import/chips/p9/procedures/ppe/iota/iota.c:910:2: error: #endif without #if
make[4]: *** [../../import/chips/p9/procedures/ppe_closed/cme/cme_common.mk:62: ../../import/../output/obj/cme_p9n10/iot                                                                a.s] Error 1
../../import/chips/p9/procedures/ppe/pk/ppe42/eabi.c:192:0: error: unterminated #ifdef
make[4]: *** [../../import/chips/p9/procedures/ppe_closed/cme/cme_common.mk:63: ../../import/../output/obj/cme_p9n10/eab                                                                i.s] Error 1
make[3]: *** [common.dir/order.final.mk:51: _BUILD/IMAGE_TARGETS] Error 2
make[2]: *** [Makefile:37: all] Error 2
make[1]: *** [package/pkg-generic.mk:241: /home/klausk/op-build/output/build/hcode-hw081619a.940/.stamp_built] Error 2
make: *** [Makefile:84: _all] Error 2
make: Leaving directory '/home/klausk/op-build/buildroot'
[klausk@ltc-wspoonn8 op-build]$

hcode build sporadically fails

We're getting this every so often with op-build CI. It looks like there may be a makefile dependency issue somewhere?

>>> hcode a3a060cd02c7ecab9abc660afc7f403d6aa54f7e Building
CONFIG_FILE=/tmp/hostboot-jenkins.swg-devops/jenkins-slave/workspace/Hostboot/OpenPower/GHPR/build-multi/CONFIG/witherspoon/OS/rhel6.4/build/op-build/openpower/configs/hcode/ LD_LIBRARY_PATH=/tmp/hostboot-jenkins.swg-devops/jenkins-slave/workspace/Hostboot/OpenPower/GHPR/build-multi/CONFIG/witherspoon/OS/rhel6.4/build/op-build/output/host/usr/lib OPENPOWER_BUILD=1 CROSS_COMPILER_PATH=/tmp/hostboot-jenkins.swg-devops/jenkins-slave/workspace/Hostboot/OpenPower/GHPR/build-multi/CONFIG/witherspoon/OS/rhel6.4/build/op-build/output/host/powerpc64le-buildroot-linux-gnu/sysroot/ppe42-binutils/linux PPE_TOOL_PATH=/tmp/hostboot-jenkins.swg-devops/jenkins-slave/workspace/Hostboot/OpenPower/GHPR/build-multi/CONFIG/witherspoon/OS/rhel6.4/build/op-build/output/host/powerpc64le-buildroot-linux-gnu/sysroot/ppe42-binutils/linux PPE_PREFIX=/tmp/hostboot-jenkins.swg-devops/jenkins-slave/workspace/Hostboot/OpenPower/GHPR/build-multi/CONFIG/witherspoon/OS/rhel6.4/build/op-build/output/host/powerpc64le-buildroot-linux-gnu/sysroot/ppe42-binutils/linux/bin/powerpc-eabi- RINGFILEPATH=/tmp/hostboot-jenkins.swg-devops/jenkins-slave/workspace/Hostboot/OpenPower/GHPR/build-multi/CONFIG/witherspoon/OS/rhel6.4/build/op-build/output/host/powerpc64le-buildroot-linux-gnu/sysroot/hostboot_binaries __EKB_PREFIX=/opt/rh/devtoolset-3/root/usr/bin/ CONFIG_IONV_FILE_LOCATION=/tmp/hostboot-jenkins.swg-devops/jenkins-slave/workspace/Hostboot/OpenPower/GHPR/build-multi/CONFIG/witherspoon/OS/rhel6.4/build/op-build/output/host/powerpc64le-buildroot-linux-gnu/sysroot/hostboot_binaries/"ionv.bin" CONFIG_INCLUDE_IONV=y bash -c 'cd /tmp/hostboot-jenkins.swg-devops/jenkins-slave/workspace/Hostboot/OpenPower/GHPR/build-multi/CONFIG/witherspoon/OS/rhel6.4/build/op-build/output/build/hcode-a3a060cd02c7ecab9abc660afc7f403d6aa54f7e && source ./env.bash && /usr/bin/make -j13 '
make[1]: Entering directory `/tmp/hostboot-jenkins.swg-devops/jenkins-slave/workspace/Hostboot/OpenPower/GHPR/build-multi/CONFIG/witherspoon/OS/rhel6.4/build/op-build/output/build/hcode-a3a060cd02c7ecab9abc660afc7f403d6aa54f7e'
    DEP        p9_pgpe_img_edit.dep
    DEP        p9_xip_image.dep
    DEP        p9_dd_container.dep
    DEP        p9_sgpe_img_edit.dep
    DEP        p9_ring_identification.dep
    DEP        p9_ringId.dep
    DEP        ppetracepp.dep
    DEP        p9_cme_img_edit.dep
    DEP        p9_scan_compression.dep
    DEP        p9_tor.dep
    DEP        common_ringId.dep
    DEP        cen_ringId.dep
    CC         p9_pgpe_img_edit.o
    CC         p9_sgpe_img_edit.o
    C++        p9_ringId.o
    CC         p9_dd_container.o
    CC         p9_cme_img_edit.o
    C++        p9_xip_image.o
    C++        p9_ring_identification.o
    C++        cen_ringId.o
    C++        p9_scan_compression.o
    C++        p9_tor.o
    C++        common_ringId.o
    C++        ppetracepp.o
    AR         libpstate_gpeImgEdit.a
    AR         libp9_ring_identification.a
    AR         libcmeImgEdit.a
    AR         libcen_ringId.a
    AR         libstop_gpeImgEdit.a
    LD         pstate_gpeImgEdit.exe
    LDSO       libp9_ring_identification.so
    LD         cmeImgEdit.exe
    LDSO       libcen_ringId.so
    LD         stop_gpeImgEdit.exe
    AR         libp9_ringId.a
    AR         libp9_dd_container.a
    LDSO       libp9_ringId.so
    LDSO       libp9_dd_container.so
    AR         libcommon_ringId.a
    LDSO       libcommon_ringId.so
    AR         libp9_tor.a
    LDSO       libp9_tor.so
    AR         libp9_scan_compression.a
    LDSO       libp9_scan_compression.so
    AR         libp9_xip_image.a
    LDSO       libp9_xip_image.so
    AR         libppetracepp.a
    AR         libppetracepp.a
    DEP        p9_xip_tool.dep
    LD         ppetracepp.exe
    DEP        p9_dd_container_tool.dep
    LD         ppetracepp.exe
g++: error: ../../import/../output/obj/ppetracepp/libppetracepp.a: No such file or directory
make[3]: *** [../../import/../output/bin/ppetracepp.exe] Error 1
make[2]: *** [ppetracepp] Error 2
make[2]: *** Waiting for unfinished jobs....
    CC         p9_dd_container_tool.o
    C++        p9_xip_tool.o
    AR         libp9_dd_container_tool.a
    LD         p9_dd_container_tool.exe
    AR         libp9_xip_tool.a
    LD         p9_xip_tool.exe
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/hostboot-jenkins.swg-devops/jenkins-slave/workspace/Hostboot/OpenPower/GHPR/build-multi/CONFIG/witherspoon/OS/rhel6.4/build/op-build/output/build/hcode-a3a060cd02c7ecab9abc660afc7f403d6aa54f7e'
make: *** [/tmp/hostboot-jenkins.swg-devops/jenkins-slave/workspace/Hostboot/OpenPower/GHPR/build-multi/CONFIG/witherspoon/OS/rhel6.4/build/op-build/output/build/hcode-a3a060cd02c7ecab9abc660afc7f403d6aa54f7e/.stamp_built] Error 2
make: Leaving directory `/tmp/hostboot-jenkins.swg-devops/jenkins-slave/workspace/Hostboot/OpenPower/GHPR/build-multi/CONFIG/witherspoon/OS/rhel6.4/build/op-build/buildroot'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.