Add build conflict with binutils-gold
authorIlya Palachev <i.palachev@samsung.com>
Fri, 16 Jan 2015 11:17:55 +0000 (14:17 +0300)
committerYury Usishchev <y.usishchev@samsung.com>
Mon, 29 Jun 2015 12:17:18 +0000 (15:17 +0300)
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 <i.palachev@samsung.com>
packaging/gcc.spec.in
packaging/gcc49.spec

index 6ec6a63..34e4776 100644 (file)
 %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
index 6c863c3..fb8e2cf 100644 (file)
 %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