All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sasha Levin <sasha.levin@oracle.com>
To: stable@vger.kernel.org, stable-commits@vger.kernel.org
Cc: James Hogan <james.hogan@imgtec.com>,
	Michal Marek <mmarek@suse.com>, Andi Kleen <ak@linux.intel.com>,
	Geert Uytterhoeven <geert@linux-m68k.org>,
	linux-mips@linux-mips.org, linux-kbuild@vger.kernel.org,
	linux-kernel@vger.kernel.org, Ralf Baechle <ralf@linux-mips.org>,
	Sasha Levin <sasha.levin@oracle.com>
Subject: [added to the 4.1 stable tree] ld-version: Fix awk regex compile failure
Date: Sat, 26 Mar 2016 13:28:38 -0400	[thread overview]
Message-ID: <1459013330-15318-34-git-send-email-sasha.levin@oracle.com> (raw)
In-Reply-To: <1459013330-15318-1-git-send-email-sasha.levin@oracle.com>

From: James Hogan <james.hogan@imgtec.com>

This patch has been added to the 4.1 stable tree. If you have any
objections, please let us know.

===============

[ Upstream commit 4b7b1ef2c2f83d702272555e8adb839a50ba0f8e ]

The ld-version.sh script fails on some versions of awk with the
following error, resulting in build failures for MIPS:

awk: scripts/ld-version.sh: line 4: regular expression compile failed (missing '(')

This is due to the regular expression ".*)", meant to strip off the
beginning of the ld version string up to the close bracket, however
brackets have a meaning in regular expressions, so lets escape it so
that awk doesn't expect a corresponding open bracket.

Fixes: ccbef1674a15 ("Kbuild, lto: add ld-version and ld-ifversion ...")
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Tested-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Cc: Michal Marek <mmarek@suse.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kbuild@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: stable@vger.kernel.org # 4.4.x-
Patchwork: https://patchwork.linux-mips.org/patch/12838/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
---
 scripts/ld-version.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/ld-version.sh b/scripts/ld-version.sh
index 198580d..1659b40 100755
--- a/scripts/ld-version.sh
+++ b/scripts/ld-version.sh
@@ -1,7 +1,7 @@
 #!/usr/bin/awk -f
 # extract linker version number from stdin and turn into single number
 	{
-	gsub(".*)", "");
+	gsub(".*\\)", "");
 	split($1,a, ".");
 	print a[1]*10000000 + a[2]*100000 + a[3]*10000 + a[4]*100 + a[5];
 	exit
-- 
2.5.0

  parent reply	other threads:[~2016-03-26 17:29 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-26 17:28 [added to the 4.1 stable tree] wext: fix message delay/ordering Sasha Levin
2016-03-26 17:28 ` [added to the 4.1 stable tree] cfg80211/wext: fix message ordering Sasha Levin
2016-03-26 17:28 ` [added to the 4.1 stable tree] mac80211: fix use of uninitialised values in RX aggregation Sasha Levin
2016-03-26 17:28 ` [added to the 4.1 stable tree] mac80211: minstrel: Change expected throughput unit back to Kbps Sasha Levin
2016-03-26 17:28 ` [added to the 4.1 stable tree] iwlwifi: mvm: inc pending frames counter also when txing non-sta Sasha Levin
2016-03-26 17:28 ` [added to the 4.1 stable tree] ASoC: samsung: Use IRQ safe spin lock calls Sasha Levin
2016-03-26 17:28 ` [added to the 4.1 stable tree] mac80211: minstrel_ht: set default tx aggregation timeout to 0 Sasha Levin
2016-03-26 17:28 ` [added to the 4.1 stable tree] can: gs_usb: fixed disconnect bug by removing erroneous use of kfree() Sasha Levin
2016-03-26 17:28 ` [added to the 4.1 stable tree] ASoC: dapm: Fix ctl value accesses in a wrong type Sasha Levin
2016-03-26 17:28 ` [added to the 4.1 stable tree] ASoC: wm8958: Fix enum ctl " Sasha Levin
2016-03-26 17:28 ` [added to the 4.1 stable tree] ASoC: wm8994: " Sasha Levin
2016-03-26 17:28 ` [added to the 4.1 stable tree] ASoC: wm_adsp: " Sasha Levin
2016-03-26 17:28 ` [added to the 4.1 stable tree] mac80211: check PN correctly for GCMP-encrypted fragmented MPDUs Sasha Levin
2016-03-26 17:28 ` [added to the 4.1 stable tree] mac80211: Fix Public Action frame RX in AP mode Sasha Levin
2016-03-26 17:28 ` [added to the 4.1 stable tree] ovl: fix getcwd() failure after unsuccessful rmdir Sasha Levin
2016-03-26 17:28 ` [added to the 4.1 stable tree] ovl: ignore lower entries when checking purity of non-directory entries Sasha Levin
2016-03-26 17:28 ` [added to the 4.1 stable tree] ovl: copy new uid/gid into overlayfs runtime inode Sasha Levin
2016-03-26 17:28 ` [added to the 4.1 stable tree] target: Drop incorrect ABORT_TASK put for completed commands Sasha Levin
2016-03-26 17:28 ` [added to the 4.1 stable tree] ARM: OMAP2+: hwmod: Add hwmod flag for HWMOD_OPT_CLKS_NEEDED Sasha Levin
2016-03-26 17:28 ` [added to the 4.1 stable tree] ARM: OMAP2+: hwmod: Introduce ti,no-idle dt property Sasha Levin
2016-03-26 17:28 ` [added to the 4.1 stable tree] ARM: dts: dra7: do not gate cpsw clock due to errata i877 Sasha Levin
2016-03-26 17:28 ` [added to the 4.1 stable tree] KVM: PPC: Book3S HV: Sanitize special-purpose register values on guest exit Sasha Levin
2016-03-26 17:28 ` [added to the 4.1 stable tree] ncpfs: fix a braino in OOM handling in ncp_fill_cache() Sasha Levin
2016-03-26 17:28 ` [added to the 4.1 stable tree] jffs2: reduce the breakage on recovery from halfway failed rename() Sasha Levin
2016-03-26 17:28 ` [added to the 4.1 stable tree] KVM: VMX: disable PEBS before a guest entry Sasha Levin
2016-03-26 17:28 ` [added to the 4.1 stable tree] drm/radeon: make dpcd parameters const Sasha Levin
2016-03-26 17:28 ` [added to the 4.1 stable tree] drm/radeon: fix dp link rate selection (v2) Sasha Levin
2016-03-26 17:28 ` [added to the 4.1 stable tree] drm/radeon/dp: add back special handling for NUTMEG Sasha Levin
2016-03-26 17:28 ` [added to the 4.1 stable tree] Revert "drm/radeon/pm: adjust display configuration after powerstate" Sasha Levin
2016-03-26 17:28 ` [added to the 4.1 stable tree] tracing: Fix check for cpu online when event is disabled Sasha Levin
2016-03-26 17:28 ` [added to the 4.1 stable tree] s390/mm: four page table levels vs. fork Sasha Levin
2016-03-26 17:28 ` [added to the 4.1 stable tree] KVM: MMU: fix ept=0/pte.u=1/pte.w=0/CR0.WP=0/CR4.SMEP=1/EFER.NX=0 combo Sasha Levin
2016-03-26 17:28 ` [added to the 4.1 stable tree] dmaengine: at_xdmac: fix residue computation Sasha Levin
2016-03-26 17:28 ` Sasha Levin [this message]
2016-03-26 17:28 ` [added to the 4.1 stable tree] Revert "MIPS: Kconfig: Disable SMP/CPS for 64-bit" Sasha Levin
2016-03-26 17:28 ` [added to the 4.1 stable tree] MIPS: Kconfig: Disable MIPS MT and SMP implementations for R6 Sasha Levin
2016-03-26 17:28 ` [added to the 4.1 stable tree] MIPS: Fix build error when SMP is used without GIC Sasha Levin
2016-03-26 17:28 ` [added to the 4.1 stable tree] ext4: fix races between page faults and hole punching Sasha Levin
2016-03-26 17:28 ` [added to the 4.1 stable tree] ext4: move unlocked dio protection from ext4_alloc_file_blocks() Sasha Levin
2016-03-26 17:28 ` [added to the 4.1 stable tree] ext4: fix races between buffered IO and collapse / insert range Sasha Levin
2016-03-26 17:28 ` [added to the 4.1 stable tree] ext4: fix races of writeback with punch hole and zero range Sasha Levin
2016-03-26 17:28 ` [added to the 4.1 stable tree] arm64: replace read_lock to rcu lock in call_break_hook Sasha Levin
2016-03-26 17:28 ` [added to the 4.1 stable tree] arm64: replace read_lock to rcu lock in call_step_hook Sasha Levin
2016-03-26 17:28 ` [added to the 4.1 stable tree] perf: Do not double free Sasha Levin
2016-03-26 17:28 ` [added to the 4.1 stable tree] perf: Cure event->pending_disable race Sasha Levin
2016-03-26 17:28 ` [added to the 4.1 stable tree] perf/core: Fix perf_sched_count derailment Sasha Levin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1459013330-15318-34-git-send-email-sasha.levin@oracle.com \
    --to=sasha.levin@oracle.com \
    --cc=ak@linux.intel.com \
    --cc=geert@linux-m68k.org \
    --cc=james.hogan@imgtec.com \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@linux-mips.org \
    --cc=mmarek@suse.com \
    --cc=ralf@linux-mips.org \
    --cc=stable-commits@vger.kernel.org \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.