X-Original-To: alpine-aports@lists.alpinelinux.org Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by lists.alpinelinux.org (Postfix) with ESMTP id DA14C5C574D for ; Sun, 10 Dec 2017 00:18:37 +0000 (GMT) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 67A2720961; Sat, 9 Dec 2017 19:18:35 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Sat, 09 Dec 2017 19:18:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lochnair.net; h= cc:date:from:message-id:subject:to:x-me-sender:x-me-sender :x-sasl-enc; s=mesmtp; bh=qtkxJ3vJ+irlA4n9RY5ZI11ISxSv13+DDOoYL1 BSisA=; b=LqY3bceIGwWvTcfHstbyndppwodKBrxgXxJQq+yb1NZm0U2T8S98SL BgU9rC1zDu3cfRbUELJg3VPoSIKX807wnlhbsBgIGTu8vxediwc8CdJmtvnqlmPx vYvvP0qsPO5Sdy2BnGxOHMcyaEPdzWAeihuMPlSBgQ/CGIquRPWnE= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:message-id:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=qtkxJ3vJ+irlA4n9R Y5ZI11ISxSv13+DDOoYL1BSisA=; b=dQXZs98KZDaLzepPaHCP7g97OVnv3RQtS 7WoJzOL8dXYJtaPXcdL3k04aMARg30rX1OQSNkhm8s3vMaZwhiLGiwynk4HBou0e UvrH8e98A9J/h+yohQLGrOt+xh0f0puq+KfeOgbDEcZLIyLapXEfQkG84NNHEwkm CHj/T5OeIVxJ6chQAFgCU+34JhtQAzYfAdAOsURPe0FE1HZeU073GuF6Fm73Kdcn 9yt5T7TRkh6ToXJ2+bsGXqkg+pWG9vnz6IyCv++KW31hTjzRAgpLOSHObguTxZRe rVzgSN7/kiWYN42rA8UaJYXpsl1IKSg9PBFpeWnwKJ4rymdBNVCMA== X-ME-Sender: Received: from halyard.svee.in (77.18.134.11.tmi.telenormobil.no [77.18.134.11]) by mail.messagingengine.com (Postfix) with ESMTPA id 85356248D1; Sat, 9 Dec 2017 19:18:34 -0500 (EST) From: Nils Andreas Svee To: alpine-aports@lists.alpinelinux.org Cc: Nils Andreas Svee Subject: [alpine-aports] [PATCH 1/7] main/gcc: import patch from upstream fixing compilation issue on mips Date: Sun, 10 Dec 2017 01:18:08 +0100 Message-Id: <20171210001814.28762-1-me@lochnair.net> X-Mailer: git-send-email 2.15.1 X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: --- main/gcc/APKBUILD | 4 ++- main/gcc/fix-linux-header-use-in-libgcc.patch | 44 +++++++++++++++++++++++++++ 2 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 main/gcc/fix-linux-header-use-in-libgcc.patch diff --git a/main/gcc/APKBUILD b/main/gcc/APKBUILD index 884feeb170..ea3b5b6a7d 100644 --- a/main/gcc/APKBUILD +++ b/main/gcc/APKBUILD @@ -185,6 +185,7 @@ source="ftp://gcc.gnu.org/pub/gcc/releases/gcc-${_pkgbase:-$pkgver}/gcc-${_pkgba 320-libffi-gnulinux.patch fix-rs6000-pie.patch + fix-linux-header-use-in-libgcc.patch " # we build out-of-tree @@ -625,4 +626,5 @@ fa44c8158111627aa0e91c43e7cc3aa38642c2041c96532dd4f0932dae4d6f92ea2850b683abcf10 4b4a0ff306a8ef34ff6e3284fbfca869012164a47ba7cb099085c1dd03e6ca0cdd462f82710e08c9a02895adc7484e4c5eef17b5aa264cf5d978fe8ad78eea93 300-main-gcc-add-musl-s390x-dynamic-linker.patch 385bc2fa50204f678964e5148c6170f572701dab920fbec8301f505bda34d182cde0adb7da042fee71719e12fb59f59181897f9b1bb4f4716ff59aad46ca1998 310-build-gcj-s390x.patch f4ef08454e28c8732db69115e4998ec153399e8d229dd27f923dbdcf57b68128a65640d026cc7f45b58ba8764ab1eb575d4eb6d6dfc550a87a183f8b94e76181 320-libffi-gnulinux.patch -01c71cd5881fc07ea3b9b980697e89b3ca0fe98502958ceafc3fca18b2604c844e2f457feab711baf8e03f00a5383b0e38aac7eb954034e306f43d4a37f165ed fix-rs6000-pie.patch" +01c71cd5881fc07ea3b9b980697e89b3ca0fe98502958ceafc3fca18b2604c844e2f457feab711baf8e03f00a5383b0e38aac7eb954034e306f43d4a37f165ed fix-rs6000-pie.patch +34a818d5be67eb1f34e44a80b83c28a9b9c17d37fc9fac639f490d6bb5b53ebe3318140d09c236a17d7c98f5a7792ae3d6cefccda8067a5e942d6305b9d1f87c fix-linux-header-use-in-libgcc.patch" diff --git a/main/gcc/fix-linux-header-use-in-libgcc.patch b/main/gcc/fix-linux-header-use-in-libgcc.patch new file mode 100644 index 0000000000..6dad1b2cad --- /dev/null +++ b/main/gcc/fix-linux-header-use-in-libgcc.patch @@ -0,0 +1,44 @@ +From 9cd4503714c4e596818c4ea8e15905c249b7a319 Mon Sep 17 00:00:00 2001 +From: nsz +Date: Thu, 25 Aug 2016 14:08:27 +0000 +Subject: [PATCH] [mips] Fix linux header use in libgcc + +libgcc/ + * config/mips/linux-unwind.h: Use sys/syscall.h. + + + +git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@239759 138bc75d-0d04-0410-961f-82ee72b054a4 +--- + libgcc/ChangeLog | 4 ++++ + libgcc/config/mips/linux-unwind.h | 2 +- + 2 files changed, 5 insertions(+), 1 deletion(-) + +diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog +index b78c4b2..99bd2f1 100644 +--- a/libgcc/ChangeLog ++++ b/libgcc/ChangeLog +@@ -1,3 +1,7 @@ ++2016-08-25 Szabolcs Nagy ++ ++ * config/mips/linux-unwind.h: Use sys/syscall.h. ++ + 2016-08-16 Joseph Myers + + PR libgcc/77265 +diff --git a/libgcc/config/mips/linux-unwind.h b/libgcc/config/mips/linux-unwind.h +index bf12de5..4035c121 100644 +--- a/libgcc/config/mips/linux-unwind.h ++++ b/libgcc/config/mips/linux-unwind.h +@@ -27,7 +27,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see + state data appropriately. See unwind-dw2.c for the structs. */ + + #include +-#include ++#include + + /* The third parameter to the signal handler points to something with + * this structure defined in asm/ucontext.h, but the name clashes with +-- +2.9.3 + -- 2.15.1 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---