[coreboot-gerrit] New patch to review for coreboot: buildgcc: Add patch for building binutils by clang 6.0

Zheng Bao (zheng.bao@amd.com) gerrit at coreboot.org
Tue Sep 15 06:45:09 CET 2015


Zheng Bao (zheng.bao at amd.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/11638

-gerrit

commit a426d9563d2a2d02a9de1ce08ce3d41a1f79ceda
Author: zbao <fishbaozi at gmail.com>
Date:   Tue Sep 15 02:38:40 2015 -0400

    buildgcc: Add patch for building binutils by clang 6.0
    
    Clang is the default compiler on BSD and OS X. With this
    change. We don't have to install gcc any more.
    This is a known issue on GNU mail list. Please refer
    the link below.
    https://sourceware.org/bugzilla/show_bug.cgi?id=17473
    
    Change-Id: I0f014b776e86e6d0cbebd560cb17f469f31e1dfb
    Signed-off-by: Zheng Bao <zheng.bao at amd.com>
    Signed-off-by: Zheng Bao <fishbaozi at gmail.com>
---
 util/crossgcc/patches/binutils-2.25_host-clang.patch | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/util/crossgcc/patches/binutils-2.25_host-clang.patch b/util/crossgcc/patches/binutils-2.25_host-clang.patch
new file mode 100644
index 0000000..747587a
--- /dev/null
+++ b/util/crossgcc/patches/binutils-2.25_host-clang.patch
@@ -0,0 +1,14 @@
+--- binutils-2.25/gold/binary.cc	2014-10-14 00:32:04.000000000 -0700
++++ binutils-2.25.patched/gold/binary.cc	2015-09-15 07:02:40.000000000 -0700
+@@ -24,10 +24,10 @@
+ 
+ #include <cerrno>
+ #include <cstring>
++#include "stringpool.h"
+ #include "safe-ctype.h"
+ 
+ #include "elfcpp.h"
+-#include "stringpool.h"
+ #include "fileread.h"
+ #include "output.h"
+ #include "binary.h"



More information about the coreboot-gerrit mailing list