From 44528482f7681c86c9bca6aade02f93b97e459e4 Mon Sep 17 00:00:00 2001 From: Ilya Palachev Date: Fri, 16 Jan 2015 14:17:55 +0300 Subject: [PATCH] Add build conflict with binutils-gold For unknown reason when libgcc.so is built with gold, it causes python to make syscalls with zero-length buffers. That's why we disable gold for gcc. Change-Id: I12c4b9d9171980f9c3c03a08c8eaab62415fd943 Signed-off-by: Ilya Palachev --- packaging/gcc.spec.in | 3 +++ packaging/gcc49.spec | 3 +++ 2 files changed, 6 insertions(+) diff --git a/packaging/gcc.spec.in b/packaging/gcc.spec.in index 6ec6a63..34e4776 100644 --- a/packaging/gcc.spec.in +++ b/packaging/gcc.spec.in @@ -132,6 +132,9 @@ %define selfconflict() %1 Name: gcc@base_ver@ +# For unknown reason when libgcc.so is built with gold, it causes python to +# make syscalls with zero-length buffers. That's why we disable gold for gcc +BuildConflicts: binutils-gold # With generated files in src we could drop the following BuildRequires: bison BuildRequires: flex diff --git a/packaging/gcc49.spec b/packaging/gcc49.spec index 6c863c3..fb8e2cf 100644 --- a/packaging/gcc49.spec +++ b/packaging/gcc49.spec @@ -132,6 +132,9 @@ %define selfconflict() %1 Name: gcc49 +# For unknown reason when libgcc.so is built with gold, it causes python to +# make syscalls with zero-length buffers. That's why we disable gold for gcc +BuildConflicts: binutils-gold # With generated files in src we could drop the following BuildRequires: bison BuildRequires: flex -- 2.7.4