From patchwork Fri Jun 16 08:31:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 25823 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id BF390EB64DB for ; Fri, 16 Jun 2023 08:31:21 +0000 (UTC) Received: from mail-qk1-f177.google.com (mail-qk1-f177.google.com [209.85.222.177]) by mx.groups.io with SMTP id smtpd.web11.3882.1686904275047293834 for ; Fri, 16 Jun 2023 01:31:15 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=YO0JEN20; spf=pass (domain: gmail.com, ip: 209.85.222.177, mailfrom: raj.khem@gmail.com) Received: by mail-qk1-f177.google.com with SMTP id af79cd13be357-75ebccc2c9bso49417685a.2 for ; Fri, 16 Jun 2023 01:31:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686904274; x=1689496274; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=7WQgTpYRmTyBJUVwl04CZnbiBLqtS8NKsFcG2MT0ZjQ=; b=YO0JEN208jzlLM1Q8yLiZvgNznPXZOOM6lglH3HSixgXQICiLrGURsX3IbkWLdmndl rrT+Ky4AEomTqXGrTysK3NBn6Drr/FD0KmW8jyxomRo/TOShGsnY3QPGvVT7Vv9OMXSO 8OdbOsIEXRkb+KW3WzboLzPIMpoeOZ/knFUaTGs17/YUTCCe0BT7Gzze0N/mbIZLPAoM zqmFDx/9RmaR98E1ACwDl/C9R/PLp3HniZz3l6iGhi/Ki/bK86u/s4DXghfD/06ICqQe 9G+Z0emPLkE0luxoRontFKWZTJJMWqyYxDNdJ8iLkMjJnnOXLYAblebOePjUoMmDUX20 F2BA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686904274; x=1689496274; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=7WQgTpYRmTyBJUVwl04CZnbiBLqtS8NKsFcG2MT0ZjQ=; b=XCH1efZOq8kIkoHHsVO+WlIrHyIgxTlwk7HXU2BKb6QkbuBezv5bp9+wtTgDveQTEw +Y4r0uXFXBsPxLKE7dTvGUvOGZGI4K7SoORH/6plyhOd+UBuvSpw2iWP34O3hzgMZwbo mRac64GvAOzDU4E+wrhx9FIGlBpSWXBcbe3IOU6I/OTHIToEuuarUTESMf1D5VasXXZP KFDioVUIGhnZ4AkfZMn6Ruk13FawbjYRCwGNu7fxZEII+njUNE7LFOb+1CiNkDkDpEja zmlw5z1dH7I4cTy9UQpRWaFEu7wpe6MbY3PuALCjUq5G094LTmBb5vZkceR3qhSY4UFq XlqA== X-Gm-Message-State: AC+VfDxugUgb0kKlTyiq8AmkQvVMbx/KGqbGNBrTCKvDyULTlhW8AYSB tpioVpFTD2XehPUsdPaoKQ1GOdf5DE8= X-Google-Smtp-Source: ACHHUZ4MFnmg6+g4nnvH8LRydZmPV9CBqy4NUHaCPjT8xyv5K5dNBq2WBiN6qNFllHSaQg4j+r1uXg== X-Received: by 2002:a05:620a:3d03:b0:760:8673:f92 with SMTP id tq3-20020a05620a3d0300b0076086730f92mr984899qkn.27.1686904273641; Fri, 16 Jun 2023 01:31:13 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9181:d380::eb87]) by smtp.gmail.com with ESMTPSA id s18-20020aa78d52000000b00653dc27acadsm12969145pfe.205.2023.06.16.01.31.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Jun 2023 01:31:13 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Cc: Khem Raj , Bruce Ashfield Subject: [PATCH 1/5] kernel: Add kernel specific STRIP variable Date: Fri, 16 Jun 2023 01:31:07 -0700 Message-ID: <20230616083111.3007680-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 16 Jun 2023 08:31:21 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/183001 strip can be coming from binutils or from llvm in some cases llvm-strip can fail on kernel Subprocess output:aarch64-yoe-linux-llvm-strip: error: Link field value 28 in section .rela.dyn is not a symbol table This helps in selecting which strip is used when building kernel Signed-off-by: Khem Raj Cc: Bruce Ashfield --- meta/classes-recipe/kernel-arch.bbclass | 3 +++ meta/classes-recipe/kernel-devicetree.bbclass | 2 +- meta/classes-recipe/kernel-yocto.bbclass | 4 +++- meta/classes-recipe/kernel.bbclass | 6 +++++- meta/classes-recipe/module.bbclass | 7 +++++++ .../make-mod-scripts/make-mod-scripts_1.0.bb | 1 + meta/recipes-kernel/systemtap/systemtap-uprobes_git.bb | 2 ++ 7 files changed, 22 insertions(+), 3 deletions(-) diff --git a/meta/classes-recipe/kernel-arch.bbclass b/meta/classes-recipe/kernel-arch.bbclass index 58770489167..6e19dbbba89 100644 --- a/meta/classes-recipe/kernel-arch.bbclass +++ b/meta/classes-recipe/kernel-arch.bbclass @@ -70,10 +70,13 @@ TARGET_AR_KERNEL_ARCH ?= "" HOST_AR_KERNEL_ARCH ?= "${TARGET_AR_KERNEL_ARCH}" TARGET_OBJCOPY_KERNEL_ARCH ?= "" HOST_OBJCOPY_KERNEL_ARCH ?= "${TARGET_OBJCOPY_KERNEL_ARCH}" +TARGET_STRIP_KERNEL_ARCH ?= "" +HOST_STRIP_KERNEL_ARCH ?= "${TARGET_STRIP_KERNEL_ARCH}" KERNEL_CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_KERNEL_ARCH} -fuse-ld=bfd ${DEBUG_PREFIX_MAP} -fdebug-prefix-map=${STAGING_KERNEL_DIR}=${KERNEL_SRC_PATH} -fdebug-prefix-map=${STAGING_KERNEL_BUILDDIR}=${KERNEL_SRC_PATH}" KERNEL_LD = "${CCACHE}${HOST_PREFIX}ld.bfd ${HOST_LD_KERNEL_ARCH}" KERNEL_AR = "${CCACHE}${HOST_PREFIX}ar ${HOST_AR_KERNEL_ARCH}" KERNEL_OBJCOPY = "${CCACHE}${HOST_PREFIX}objcopy ${HOST_OBJCOPY_KERNEL_ARCH}" +KERNEL_STRIP = "${CCACHE}${HOST_PREFIX}strip ${HOST_STRIP_KERNEL_ARCH}" TOOLCHAIN ?= "gcc" diff --git a/meta/classes-recipe/kernel-devicetree.bbclass b/meta/classes-recipe/kernel-devicetree.bbclass index 7ccf4b76c82..eff052b4029 100644 --- a/meta/classes-recipe/kernel-devicetree.bbclass +++ b/meta/classes-recipe/kernel-devicetree.bbclass @@ -73,7 +73,7 @@ do_compile:append() { for dtbf in ${KERNEL_DEVICETREE}; do dtb=`normalize_dtb "$dtbf"` - oe_runmake $dtb CC="${KERNEL_CC} $cc_extra " LD="${KERNEL_LD}" OBJCOPY="${KERNEL_OBJCOPY}" ${KERNEL_EXTRA_ARGS} + oe_runmake $dtb CC="${KERNEL_CC} $cc_extra " LD="${KERNEL_LD}" OBJCOPY="${KERNEL_OBJCOPY}" STRIP="${KERNEL_STRIP}" ${KERNEL_EXTRA_ARGS} done } diff --git a/meta/classes-recipe/kernel-yocto.bbclass b/meta/classes-recipe/kernel-yocto.bbclass index ceb451b6996..3f2ce17aeb8 100644 --- a/meta/classes-recipe/kernel-yocto.bbclass +++ b/meta/classes-recipe/kernel-yocto.bbclass @@ -447,7 +447,7 @@ do_kernel_configme() { bbfatal_log "Could not find configuration queue (${meta_dir}/config.queue)" fi - CFLAGS="${CFLAGS} ${TOOLCHAIN_OPTIONS}" HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" HOSTCPP="${BUILD_CPP}" CC="${KERNEL_CC}" LD="${KERNEL_LD}" OBJCOPY="${KERNEL_OBJCOPY}" ARCH=${ARCH} merge_config.sh -O ${B} ${config_flags} ${configs} > ${meta_dir}/cfg/merge_config_build.log 2>&1 + CFLAGS="${CFLAGS} ${TOOLCHAIN_OPTIONS}" HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" HOSTCPP="${BUILD_CPP}" CC="${KERNEL_CC}" LD="${KERNEL_LD}" OBJCOPY="${KERNEL_OBJCOPY}" STRIP="${KERNEL_STRIP}" ARCH=${ARCH} merge_config.sh -O ${B} ${config_flags} ${configs} > ${meta_dir}/cfg/merge_config_build.log 2>&1 if [ $? -ne 0 -o ! -f ${B}/.config ]; then bberror "Could not generate a .config for ${KMACHINE}-${LINUX_KERNEL_TYPE}" if [ ${KCONF_AUDIT_LEVEL} -gt 1 ]; then @@ -482,6 +482,7 @@ python do_config_analysis() { env['LD'] = d.getVar('KERNEL_LD') env['CC'] = d.getVar('KERNEL_CC') env['OBJCOPY'] = d.getVar('KERNEL_OBJCOPY') + env['STRIP'] = d.getVar('KERNEL_STRIP') env['ARCH'] = d.getVar('ARCH') env['srctree'] = s @@ -544,6 +545,7 @@ python do_kernel_configcheck() { env['LD'] = d.getVar('KERNEL_LD') env['CC'] = d.getVar('KERNEL_CC') env['OBJCOPY'] = d.getVar('KERNEL_OBJCOPY') + env['STRIP'] = d.getVar('KERNEL_STRIP') env['ARCH'] = d.getVar('ARCH') env['srctree'] = s diff --git a/meta/classes-recipe/kernel.bbclass b/meta/classes-recipe/kernel.bbclass index 5ed4a2e03c7..c1d74bf54ad 100644 --- a/meta/classes-recipe/kernel.bbclass +++ b/meta/classes-recipe/kernel.bbclass @@ -241,7 +241,7 @@ UBOOT_LOADADDRESS ?= "${UBOOT_ENTRYPOINT}" # Some Linux kernel configurations need additional parameters on the command line KERNEL_EXTRA_ARGS ?= "" -EXTRA_OEMAKE += ' CC="${KERNEL_CC}" LD="${KERNEL_LD}" OBJCOPY="${KERNEL_OBJCOPY}"' +EXTRA_OEMAKE += ' CC="${KERNEL_CC}" LD="${KERNEL_LD}" OBJCOPY="${KERNEL_OBJCOPY}" STRIP="${KERNEL_STRIP}"' EXTRA_OEMAKE += ' HOSTCC="${BUILD_CC}" HOSTCFLAGS="${BUILD_CFLAGS}" HOSTLDFLAGS="${BUILD_LDFLAGS}" HOSTCPP="${BUILD_CPP}"' EXTRA_OEMAKE += ' HOSTCXX="${BUILD_CXX}" HOSTCXXFLAGS="${BUILD_CXXFLAGS}"' @@ -340,6 +340,10 @@ kernel_do_transform_bundled_initramfs() { } do_transform_bundled_initramfs[dirs] = "${B}" +python do_package:prepend () { + os.environ['STRIP'] = d.getVar('KERNEL_STRIP') +} + python do_devshell:prepend () { os.environ["LDFLAGS"] = '' } diff --git a/meta/classes-recipe/module.bbclass b/meta/classes-recipe/module.bbclass index b3b852be5f6..f2f0b25a2d1 100644 --- a/meta/classes-recipe/module.bbclass +++ b/meta/classes-recipe/module.bbclass @@ -20,6 +20,10 @@ python __anonymous () { d.setVar('KBUILD_EXTRA_SYMBOLS', " ".join(extra_symbols)) } +python do_package:prepend () { + os.environ['STRIP'] = d.getVar('KERNEL_STRIP') +} + python do_devshell:prepend () { os.environ['CFLAGS'] = '' os.environ['CPPFLAGS'] = '' @@ -33,6 +37,7 @@ python do_devshell:prepend () { os.environ['LD'] = d.getVar('KERNEL_LD') os.environ['AR'] = d.getVar('KERNEL_AR') os.environ['OBJCOPY'] = d.getVar('KERNEL_OBJCOPY') + os.environ['STRIP'] = d.getVar('KERNEL_STRIP') os.environ['O'] = d.getVar('STAGING_KERNEL_BUILDDIR') kbuild_extra_symbols = d.getVar('KBUILD_EXTRA_SYMBOLS') if kbuild_extra_symbols: @@ -47,6 +52,7 @@ module_do_compile() { KERNEL_VERSION=${KERNEL_VERSION} \ CC="${KERNEL_CC}" LD="${KERNEL_LD}" \ AR="${KERNEL_AR}" OBJCOPY="${KERNEL_OBJCOPY}" \ + STRIP="${KERNEL_STRIP}" \ O=${STAGING_KERNEL_BUILDDIR} \ KBUILD_EXTRA_SYMBOLS="${KBUILD_EXTRA_SYMBOLS}" \ ${MAKE_TARGETS} @@ -57,6 +63,7 @@ module_do_install() { oe_runmake DEPMOD=echo MODLIB="${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}" \ INSTALL_FW_PATH="${D}${nonarch_base_libdir}/firmware" \ CC="${KERNEL_CC}" LD="${KERNEL_LD}" OBJCOPY="${KERNEL_OBJCOPY}" \ + STRIP="${KERNEL_STRIP}" \ O=${STAGING_KERNEL_BUILDDIR} \ ${MODULES_INSTALL_TARGET} diff --git a/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb b/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb index 28e0807d1d6..e3b258753f3 100644 --- a/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb +++ b/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb @@ -29,6 +29,7 @@ do_configure() { for t in prepare scripts_basic scripts; do oe_runmake CC="${KERNEL_CC}" LD="${KERNEL_LD}" \ AR="${KERNEL_AR}" OBJCOPY="${KERNEL_OBJCOPY}" \ + STRIP="${KERNEL_STRIP}" \ -C ${STAGING_KERNEL_DIR} O=${STAGING_KERNEL_BUILDDIR} $t done } diff --git a/meta/recipes-kernel/systemtap/systemtap-uprobes_git.bb b/meta/recipes-kernel/systemtap/systemtap-uprobes_git.bb index efe359ec329..3d35481bdc9 100644 --- a/meta/recipes-kernel/systemtap/systemtap-uprobes_git.bb +++ b/meta/recipes-kernel/systemtap/systemtap-uprobes_git.bb @@ -22,11 +22,13 @@ do_compile() { unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS CC LD CPP oe_runmake CC="${KERNEL_CC}" LD="${KERNEL_LD}" \ AR="${KERNEL_AR}" OBJCOPY="${KERNEL_OBJCOPY}" \ + STRIP="${KERNEL_STRIP}" \ -C ${STAGING_KERNEL_DIR} scripts oe_runmake KDIR=${STAGING_KERNEL_DIR} \ M="${S}/runtime/uprobes/" \ CC="${KERNEL_CC}" LD="${KERNEL_LD}" \ AR="${KERNEL_AR}" OBJCOPY="${KERNEL_OBJCOPY}" \ + STRIP="${KERNEL_STRIP}" \ -C "${S}/runtime/uprobes/" fi } From patchwork Fri Jun 16 08:31:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 25821 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id BC2E9EB64D7 for ; Fri, 16 Jun 2023 08:31:21 +0000 (UTC) Received: from mail-qk1-f174.google.com (mail-qk1-f174.google.com [209.85.222.174]) by mx.groups.io with SMTP id smtpd.web10.3939.1686904275998875387 for ; Fri, 16 Jun 2023 01:31:16 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=R0rxavWn; spf=pass (domain: gmail.com, ip: 209.85.222.174, mailfrom: raj.khem@gmail.com) Received: by mail-qk1-f174.google.com with SMTP id af79cd13be357-762389a65a3so7576285a.1 for ; Fri, 16 Jun 2023 01:31:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686904275; x=1689496275; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=h/ikhjn+QRtMcIwmT9YSGaepdooqEOiRK0o6emKjMTg=; b=R0rxavWnLcPJu5NE1bENkBhbULUaJ+3YgS2VHWtsG34NGpm9lT4I83eXwpfeVJhqb3 0WUC9fNbW8MJQoOd+6BLoYL4pT9/1p78Y2l94tVMDcvmPyWgvdDWgzyPRKcyljZOz0Pw AcvKqNXp4dEjWnaqJ6WpIXP0tHdfhRe7kK8usIWZzHy8bgGYJJ1I3Iulgm4XfdFJ/nH/ AtjIMUonPsdTKiHuk1m87+Q5dvB+xf1nPJUvzPVDByPJCYADLFWIDtxfEniR5y7GAzK+ 0JgdrwxdMsprKt1yHoebVy4l4JtAuEc5LJbB30Xi1tY10uKgkZTr5t1Dxawuc5V23avH +dJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686904275; x=1689496275; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=h/ikhjn+QRtMcIwmT9YSGaepdooqEOiRK0o6emKjMTg=; b=KQ+Rt6XqcnefNz0MkF8jYhjtKFwHAksPJ6Tp47lyG+Bm5bOWht69CV/tFg3g95ctPc p65hKzx/B4uNteXOjZLAL+fvzXuRcXGxMNRpb3bcnDXJ8dAQ84zVy9YCTi4OIaQV2xF/ 05bG6r6my/rLyC++5O1zBh3IhSvfkFJe1kCqiglqIFnrmGcEJsPUDiauOgDWeJsYiDdl 6EX2lJEBhAlKv+wnUo3VnqYeFgyeY7iYqnCi0sjtGwzvF1v9rJbbN05S9UavPAr/+lgT LUrthu/Dca9GpGmDTTimkVcXihM1MXFaawWIj+ulpHnV1tCSmRPDoh2eHR3d6wPRlmyp axVQ== X-Gm-Message-State: AC+VfDy16GM6jGSbcLC/a452gWFHbpAhYK79uUxpuyrP0mp+go0CfoHS RNusEvjQsstiq8aVphJOwDcQNwhf4hA= X-Google-Smtp-Source: ACHHUZ6pBKOaYk0xCbhuQVQLztZFSovBvfFY73Ydhfhjq//s/cqLmwb8RxPB48qkECK2Ys5KLVrSow== X-Received: by 2002:a05:620a:8c85:b0:762:2878:8b2b with SMTP id ra5-20020a05620a8c8500b0076228788b2bmr1009509qkn.18.1686904274786; Fri, 16 Jun 2023 01:31:14 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9181:d380::eb87]) by smtp.gmail.com with ESMTPSA id s18-20020aa78d52000000b00653dc27acadsm12969145pfe.205.2023.06.16.01.31.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Jun 2023 01:31:14 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Cc: Khem Raj Subject: [PATCH 2/5] libxml2: Do not use lld linker when building with tests on rv64 Date: Fri, 16 Jun 2023 01:31:08 -0700 Message-ID: <20230616083111.3007680-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230616083111.3007680-1-raj.khem@gmail.com> References: <20230616083111.3007680-1-raj.khem@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 16 Jun 2023 08:31:21 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/183002 lld ends up with errors on some tests | riscv64-yoe-linux-ld.lld: error: section size decrease is too large Therefore do not use lld when building ptests Signed-off-by: Khem Raj --- meta/recipes-core/libxml/libxml2_2.10.4.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-core/libxml/libxml2_2.10.4.bb b/meta/recipes-core/libxml/libxml2_2.10.4.bb index 288631504ce..4f3b17093e4 100644 --- a/meta/recipes-core/libxml/libxml2_2.10.4.bb +++ b/meta/recipes-core/libxml/libxml2_2.10.4.bb @@ -40,6 +40,8 @@ inherit autotools pkgconfig binconfig-disabled ptest inherit ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3targetconfig', '', d)} +LDFLAGS:append:riscv64 = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld ptest', ' -fuse-ld=bfd', '', d)}" + RDEPENDS:${PN}-ptest += "bash make locale-base-en-us ${@bb.utils.contains('PACKAGECONFIG', 'python', 'libgcc python3-core python3-logging python3-shell python3-stringold python3-threading python3-unittest ${PN}-python', '', d)}" RDEPENDS:${PN}-python += "${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3-core', '', d)}" From patchwork Fri Jun 16 08:31:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 25820 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id BDEAFEB64D8 for ; Fri, 16 Jun 2023 08:31:21 +0000 (UTC) Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) by mx.groups.io with SMTP id smtpd.web10.3940.1686904276853061721 for ; Fri, 16 Jun 2023 01:31:16 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20221208 header.b=SLZZAlJK; spf=pass (domain: gmail.com, ip: 209.85.210.175, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-666afc1e7e7so451701b3a.3 for ; Fri, 16 Jun 2023 01:31:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686904276; x=1689496276; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=MObgp43fBryTr+HXO5OoxPqX0owW/+iKAUjdc02gs6E=; b=SLZZAlJKsFTFwfaXaH9nuhEZHGUfSxWLwWa5/Rbtxth6Q6qj1iUoNsZ3rM1t8pL60I LlFrulMPKuFiRSbwo2UW9SqcYNS47QzOkxYyQKBEDO402tKuaV81p75ec8+jSJL/rWZn znFOFpTsct9axYULDrCQ1x8w2q3kIhFsXWswUoW9sn1082UbyHMSDHwQiDHZutXzTNoQ jm706AE55sWHNQRrRFdXOS/D5u2HzC+cUav+P85NG+wSgj/cRXoRdiji2VqhfgL14TI1 KyPq25oeEi8wOpJLwAm+IuOgF0ViTqEm5qbDhgXTEddZ9BXzjWGr3Y/nZPzedpO2dM0p 5HUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686904276; x=1689496276; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=MObgp43fBryTr+HXO5OoxPqX0owW/+iKAUjdc02gs6E=; b=OhCBLm0KK2zjb0eF++jA04XnwgDxz5EcIU+YUfIscnLiVAXAfp8AoLiJG72mBjtvun oI1sijAtPEIZnKVAsXPt2iLxCwo9FNFO7Q5pZEaeXfsoNGaik1eTXODvzxHylAQiX1c4 ZswJLdDU+GAhd3w+hIfBOXHLJz+LlwiRbxUMWHffabkPa7229MfYngYjYkhO35UUhLvY LGMm0cQu5HNRgCZA0SFqFK4ylTK0Y+HPwaoTSUknOG7rW0rOc+eMtTPKsIFjLpRWaDWc PrNTwECzXMusoW+qNzOGmaGfPvM7aBWENBPEbSX3ucA4j9K1fPefNVCKAjtL23lvFF6J v4xw== X-Gm-Message-State: AC+VfDyGbFrpU1GlOKE7bKlWJ4PLFNymR39LYTCDrNv1AkXOILPQ1kvB fwYstlcYqpS20kFnpXSJ+S7KkzW4zn4= X-Google-Smtp-Source: ACHHUZ7frb3BSq9guQZyxMONBFq+daQOyUyKCa+30IEMolWFKqGf2cSRCxM1TbwqeFtOg/TAFER6dw== X-Received: by 2002:a05:6a00:238c:b0:658:7f40:652 with SMTP id f12-20020a056a00238c00b006587f400652mr1753445pfc.20.1686904275787; Fri, 16 Jun 2023 01:31:15 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9181:d380::eb87]) by smtp.gmail.com with ESMTPSA id s18-20020aa78d52000000b00653dc27acadsm12969145pfe.205.2023.06.16.01.31.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Jun 2023 01:31:15 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Cc: Khem Raj Subject: [PATCH 3/5] llvm: Bump to 16.0.6 Date: Fri, 16 Jun 2023 01:31:09 -0700 Message-ID: <20230616083111.3007680-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230616083111.3007680-1-raj.khem@gmail.com> References: <20230616083111.3007680-1-raj.khem@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 16 Jun 2023 08:31:21 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/183003 Brings a single change [lld][WebAssembly] Fix stub library parsing with windows line endings Signed-off-by: Khem Raj --- meta/recipes-devtools/llvm/llvm_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb index 8b0ab11b612..f3d6f24bd2d 100644 --- a/meta/recipes-devtools/llvm/llvm_git.bb +++ b/meta/recipes-devtools/llvm/llvm_git.bb @@ -14,14 +14,14 @@ RDEPENDS:${PN}:append:class-target = " ncurses-terminfo" inherit cmake pkgconfig -PV = "16.0.5" +PV = "16.0.6" MAJOR_VERSION = "${@oe.utils.trim_version("${PV}", 1)}" LLVM_RELEASE = "${PV}" BRANCH = "release/${MAJOR_VERSION}.x" -SRCREV = "185b81e034ba60081023b6e59504dfffb560f3e3" +SRCREV = "7cbf1a2591520c2491aa35339f227775f4d3adf6" SRC_URI = "git://github.com/llvm/llvm-project.git;branch=${BRANCH};protocol=https \ file://0007-llvm-allow-env-override-of-exe-path.patch;striplevel=2 \ file://0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch;striplevel=2 \ From patchwork Fri Jun 16 08:31:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 25822 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id CB3B8EB64DC for ; Fri, 16 Jun 2023 08:31:21 +0000 (UTC) Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) by mx.groups.io with SMTP id smtpd.web11.3883.1686904277557080708 for ; Fri, 16 Jun 2023 01:31:17 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20221208 header.b=a/WAKhqY; spf=pass (domain: gmail.com, ip: 209.85.210.171, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-6664a9f0b10so458197b3a.0 for ; Fri, 16 Jun 2023 01:31:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686904277; x=1689496277; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=eDIksNOCa7PX+Y9Dll2NtZY8i9JRSaVb2wT3kE67sxY=; b=a/WAKhqYKwDk5c2DEla4tWDNkvSKBj2yTnlXPtKjm1lkm0WFZwe+d5AAVwNhuDqHEZ Xu3FdbDEpwsZsi8QW99jsfZ+te1vgZwG/na/EIv0w0/lADQMy30jQQdD28Q+B53YPSnN OB82KeLtmoLKFHgzYUlst7NLwc6SpDN4YUmrVZaAdNJBf3GPodOEieQH+jgrs4yF7D1G ocVuEtvBDdcs55f3fRRdjp4qTITJfwNMwx8iB+4vjDP9vljVw8rPo3g3hIk6WlHzE0kO s1L6T7A9uwalDXUQ0d576/zu7p3lDJUzftF5By7vD+whVWVKPiGobIce82pWJ4h6mSc3 IN7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686904277; x=1689496277; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eDIksNOCa7PX+Y9Dll2NtZY8i9JRSaVb2wT3kE67sxY=; b=kVQpX3ybrYQ5CnnmdX1pMS6oH4lQ3kkE90HraWgBVMel1AzX7xnSJYHe/KHwmyI5mB NX6E7p5cYvZEGk992j9szrEcbu+7hBUK5dA6+YOGb4Ec26xCbjTRdzOhMtMof0dJZfCq XuPjP8AHZGUpF7XXIR8YcOadznTQf4JqRMBH0obzaKW+uCXAxfWZDouWngVat1BR6d8s 7Gc5h7OvZ3Nc8ceqLl+XIZW76k8k8iQXvagQdDWgBSHMr3PE2iAkMPAEMlYRwSI6yGIA 4gW8LQNYHvBbPhpCex8dNMBQcfpDzm1NI7T1FgnJBpO51PaXTBEsqp+eB6X4mzHa014l I4yA== X-Gm-Message-State: AC+VfDxcZiNJuX4l4oqhxDnI1yHEiTZyU52kEuwtykI5ys9546KcqjEq /NL91mKVMw2d74mIqFrBbBBVEPFRQyQ= X-Google-Smtp-Source: ACHHUZ7p//ciRThL3DSUxQTRta3D2gR5lS8ho7LjbJPpmVtejbfgeT2s+A8od1sehGvTjixmVsfzNA== X-Received: by 2002:a05:6a20:1596:b0:10c:663c:31c3 with SMTP id h22-20020a056a20159600b0010c663c31c3mr1763421pzj.29.1686904276492; Fri, 16 Jun 2023 01:31:16 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9181:d380::eb87]) by smtp.gmail.com with ESMTPSA id s18-20020aa78d52000000b00653dc27acadsm12969145pfe.205.2023.06.16.01.31.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Jun 2023 01:31:16 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Cc: Khem Raj Subject: [PATCH 4/5] go-helloworld: Upgrade to tip of trunk Date: Fri, 16 Jun 2023 01:31:10 -0700 Message-ID: <20230616083111.3007680-4-raj.khem@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230616083111.3007680-1-raj.khem@gmail.com> References: <20230616083111.3007680-1-raj.khem@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 16 Jun 2023 08:31:21 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/183004 Signed-off-by: Khem Raj --- meta/recipes-extended/go-examples/go-helloworld_0.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-extended/go-examples/go-helloworld_0.1.bb b/meta/recipes-extended/go-examples/go-helloworld_0.1.bb index 5483ecc307b..ce6ec08c59b 100644 --- a/meta/recipes-extended/go-examples/go-helloworld_0.1.bb +++ b/meta/recipes-extended/go-examples/go-helloworld_0.1.bb @@ -6,7 +6,7 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" SRC_URI = "git://go.googlesource.com/example;branch=master;protocol=https" -SRCREV = "2e68773dfca072cb81f219fc3b97ad34fe9d9f94" +SRCREV = "5bec756976671f30903223ec46ff8a70dced4954" UPSTREAM_CHECK_COMMITS = "1" GO_IMPORT = "golang.org/x/example" From patchwork Fri Jun 16 08:31:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 25824 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id CB8E0EB64DA for ; Fri, 16 Jun 2023 08:31:21 +0000 (UTC) Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by mx.groups.io with SMTP id smtpd.web11.3884.1686904278144393513 for ; Fri, 16 Jun 2023 01:31:18 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=PnNylpiZ; spf=pass (domain: gmail.com, ip: 209.85.210.182, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-666683eb028so476757b3a.0 for ; Fri, 16 Jun 2023 01:31:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686904277; x=1689496277; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=xg9bUOYxu91jpk0UMwvycWFzNsUna9bOyO7rLeD2p4g=; b=PnNylpiZYL8ng/vs7VMhDGBK5ounwwH118u+iGxTHb4Q8RXKIM+VVpwy4lVg4Z4ol1 WDRNFQM39l6rgxNIvV4b4kGuXzJLW+ORki+3OZw1tMOH3drMAWivU3YNfAyeCMOKF3iU AACgs5qgObYbO5yqo3fW94hUOzjXTt118UmOSUfNy5K999BsMQPh6iDDJ+safgsejU1o WQUSaTFnedYRu0Ln25gCX0n6Wsp+G7NWt8Hd5iTdHAsdOsG4gQvKoplP7xgIba9RP3rY tPuEwwFEXgq/0GEUGWp0u8OKC9IhkM/ypZ2iua5giqFX1SoxmA3j6/eyQsQSz3P5CMrL z4vQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686904277; x=1689496277; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xg9bUOYxu91jpk0UMwvycWFzNsUna9bOyO7rLeD2p4g=; b=LHlxj5VizH0O19Mo7Zb5X6yaumb06/hYqhHJ8m8HnldgpG+dVY/N7UO+yn8pBKRpXM cSw8B4kSwNBQCV0v3moqyjqLCUjlg5oFM14cvaKF/6yS8qKp4Wc2VDb5EBoK6QEMSW2G qvsdIxemjkd7oexnB/SfvIejMvsZq431I067CMPtMhi1ydn1yove09NVSCW44ANb9hZ9 OSt8ZAES6cbRUL5dHzHUEiXH/S3fbSBfHxmVC0KuIxkBJJrl3iZzx30TrFRC4YOeL6Kt X8lcepCY8ag6+Yz8+9+E7jqt+Ta7YB1mt95eDVSiHN9Kwpi3GNyiDVrygmtGzgmvbHg5 ju5A== X-Gm-Message-State: AC+VfDyvs31iWdwmVapgKcJp3OfG4vg1mnykuvEXjqe6w0RT5PapbwhD A62G1F5BBSXyWAM6Zae2iXNe3+USjAA= X-Google-Smtp-Source: ACHHUZ50uiYyUT8SaxGHThOsIudZ4IF/7dcsIMKWNJXOm3Bn+j18zH1ulW0ozpWmtwGTqh2NZtav7g== X-Received: by 2002:a05:6a00:170e:b0:666:e1f4:5153 with SMTP id h14-20020a056a00170e00b00666e1f45153mr50860pfc.0.1686904277165; Fri, 16 Jun 2023 01:31:17 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9181:d380::eb87]) by smtp.gmail.com with ESMTPSA id s18-20020aa78d52000000b00653dc27acadsm12969145pfe.205.2023.06.16.01.31.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Jun 2023 01:31:16 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Cc: Khem Raj Subject: [PATCH 5/5] rpcsvc-proto: Upgrade to 1.4.4 Date: Fri, 16 Jun 2023 01:31:11 -0700 Message-ID: <20230616083111.3007680-5-raj.khem@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230616083111.3007680-1-raj.khem@gmail.com> References: <20230616083111.3007680-1-raj.khem@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 16 Jun 2023 08:31:21 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/183005 Drop already upstreamed patch in 1.4.4 Signed-off-by: Khem Raj --- .../rpcsvc-proto/rpcsvc-proto.bb | 5 +- ...FILE-macro-to-control-largefile-supp.patch | 80 ------------------- .../0001-Use-cross-compiled-rpcgen.patch | 11 +-- 3 files changed, 6 insertions(+), 90 deletions(-) delete mode 100644 meta/recipes-extended/rpcsvc-proto/rpcsvc-proto/0001-Use-AC_SYS_LARGEFILE-macro-to-control-largefile-supp.patch diff --git a/meta/recipes-extended/rpcsvc-proto/rpcsvc-proto.bb b/meta/recipes-extended/rpcsvc-proto/rpcsvc-proto.bb index 00919a3d70e..20933153a32 100644 --- a/meta/recipes-extended/rpcsvc-proto/rpcsvc-proto.bb +++ b/meta/recipes-extended/rpcsvc-proto/rpcsvc-proto.bb @@ -15,13 +15,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0daaf958d5531ab86169ec6e275e1517" SECTION = "libs" DEPENDS += "rpcsvc-proto-native" -PV = "1.4.3" +PV = "1.4.4" -SRCREV = "71e0a12c04d130a78674ac6309eefffa6ecee612" +SRCREV = "c65926005e50da02a4da3e26abc42eded36cd19d" SRC_URI = "git://github.com/thkukuk/${BPN};branch=master;protocol=https \ file://0001-Use-cross-compiled-rpcgen.patch \ - file://0001-Use-AC_SYS_LARGEFILE-macro-to-control-largefile-supp.patch \ " S = "${WORKDIR}/git" diff --git a/meta/recipes-extended/rpcsvc-proto/rpcsvc-proto/0001-Use-AC_SYS_LARGEFILE-macro-to-control-largefile-supp.patch b/meta/recipes-extended/rpcsvc-proto/rpcsvc-proto/0001-Use-AC_SYS_LARGEFILE-macro-to-control-largefile-supp.patch deleted file mode 100644 index f07866d55ae..00000000000 --- a/meta/recipes-extended/rpcsvc-proto/rpcsvc-proto/0001-Use-AC_SYS_LARGEFILE-macro-to-control-largefile-supp.patch +++ /dev/null @@ -1,80 +0,0 @@ -From 6820c53c3952f78185beb59f767c372fc745dcf3 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Sun, 11 Dec 2022 21:42:59 -0800 -Subject: [PATCH] Use AC_SYS_LARGEFILE macro to control largefile support - -The autoconf macro AC_SYS_LARGEFILE defines _FILE_OFFSET_BITS=64 -where necessary to ensure that off_t and all interfaces using off_t -are 64bit, even on 32bit systems. - -replace stat64 by equivalent stat struct/func - -Upstream-Status: Accepted [https://github.com/thkukuk/rpcsvc-proto/pull/15] -Signed-off-by: Khem Raj ---- - configure.ac | 1 + - rpcgen/rpc_main.c | 16 +++++----------- - 2 files changed, 6 insertions(+), 11 deletions(-) - -diff --git a/configure.ac b/configure.ac -index bacc2fb..a9fc730 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -8,6 +8,7 @@ AC_PREFIX_DEFAULT(/usr) - AC_SUBST(PACKAGE) - AC_SUBST(VERSION) - -+AC_SYS_LARGEFILE - AC_PROG_CC - AC_GNU_SOURCE - AM_PROG_CC_C_O -diff --git a/rpcgen/rpc_main.c b/rpcgen/rpc_main.c -index 277adc6..fd7dea9 100644 ---- a/rpcgen/rpc_main.c -+++ b/rpcgen/rpc_main.c -@@ -62,12 +62,6 @@ - #define EXTEND 1 /* alias for TRUE */ - #define DONT_EXTEND 0 /* alias for FALSE */ - --#ifdef __APPLE__ --# if __DARWIN_ONLY_64_BIT_INO_T --# define stat64 stat --# endif --#endif -- - struct commandline - { - int cflag; /* xdr C routines */ -@@ -337,9 +331,9 @@ clear_args (void) - static void - find_cpp (void) - { -- struct stat64 buf; -+ struct stat buf; - -- if (stat64 (CPP, &buf) == 0) -+ if (stat (CPP, &buf) == 0) - return; - - if (cppDefined) /* user specified cpp but it does not exist */ -@@ -1125,17 +1119,17 @@ putarg (int whereto, const char *cp) - static void - checkfiles (const char *infile, const char *outfile) - { -- struct stat64 buf; -+ struct stat buf; - - if (infile) /* infile ! = NULL */ -- if (stat64 (infile, &buf) < 0) -+ if (stat (infile, &buf) < 0) - { - perror (infile); - crash (); - } - if (outfile) - { -- if (stat64 (outfile, &buf) < 0) -+ if (stat (outfile, &buf) < 0) - return; /* file does not exist */ - else - { diff --git a/meta/recipes-extended/rpcsvc-proto/rpcsvc-proto/0001-Use-cross-compiled-rpcgen.patch b/meta/recipes-extended/rpcsvc-proto/rpcsvc-proto/0001-Use-cross-compiled-rpcgen.patch index 208974004b4..8e459b5634f 100644 --- a/meta/recipes-extended/rpcsvc-proto/rpcsvc-proto/0001-Use-cross-compiled-rpcgen.patch +++ b/meta/recipes-extended/rpcsvc-proto/rpcsvc-proto/0001-Use-cross-compiled-rpcgen.patch @@ -10,14 +10,11 @@ Signed-off-by: Khem Raj rpcsvc/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -Index: git/rpcsvc/Makefile.am -=================================================================== ---- git.orig/rpcsvc/Makefile.am -+++ git/rpcsvc/Makefile.am -@@ -12,5 +12,5 @@ nodist_rpcsvc_HEADERS = klm_prot.h nlm_p +--- a/rpcsvc/Makefile.am ++++ b/rpcsvc/Makefile.am +@@ -12,4 +12,4 @@ nodist_rpcsvc_HEADERS = klm_prot.h nlm_p nfs_prot.h rquota.h sm_inter.h - %.h: %.x + .x.h: - $(top_builddir)/rpcgen/rpcgen -h -o $@ $< + rpcgen -h -o $@ $< -