[coreboot-gerrit] Change in coreboot[master]: util/crossgcc: Fix building gcc 6.3.0 with clang

Patrick Georgi (Code Review) gerrit at coreboot.org
Mon Jun 26 07:25:56 CEST 2017


Patrick Georgi has uploaded this change for review. ( https://review.coreboot.org/20366


Change subject: util/crossgcc: Fix building gcc 6.3.0 with clang
......................................................................

util/crossgcc: Fix building gcc 6.3.0 with clang

It assumes that __builtin_longjmp takes a void **, which is decidedly
distinctive from void *.

Change-Id: I1930bb01dd62bd6abf0688b118236db2a9299e40
Signed-off-by: Patrick Georgi <pgeorgi at chromium.org>
---
A util/crossgcc/patches/gcc-6.3.0_ada-raise.patch
1 file changed, 11 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/66/20366/1

diff --git a/util/crossgcc/patches/gcc-6.3.0_ada-raise.patch b/util/crossgcc/patches/gcc-6.3.0_ada-raise.patch
new file mode 100644
index 0000000..a081957
--- /dev/null
+++ b/util/crossgcc/patches/gcc-6.3.0_ada-raise.patch
@@ -0,0 +1,11 @@
+--- gcc-6.3.0/gcc/ada/raise.c.orig	2017-06-24 07:06:41.524685169 +0200
++++ gcc-6.3.0/gcc/ada/raise.c	2017-06-24 07:07:12.945162120 +0200
+@@ -55,7 +55,7 @@
+ void
+ _gnat_builtin_longjmp (void *ptr, int flag ATTRIBUTE_UNUSED)
+ {
+-   __builtin_longjmp (ptr, 1);
++   __builtin_longjmp ((void **)ptr, 1);
+ }
+ #endif
+ 

-- 
To view, visit https://review.coreboot.org/20366
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1930bb01dd62bd6abf0688b118236db2a9299e40
Gerrit-Change-Number: 20366
Gerrit-PatchSet: 1
Gerrit-Owner: Patrick Georgi <pgeorgi at google.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20170626/c297892e/attachment.html>


More information about the coreboot-gerrit mailing list