Paste number 328391: gcc-cross-sans-libc-xtensa-elf-4.9.4

Index of paste annotations: 1

Paste number 328391: gcc-cross-sans-libc-xtensa-elf-4.9.4
Pasted by: lfam
When:3 years, 7 months ago
Share:Tweet this! | http://paste.lisp.org/+71DZ
Channel:None
Paste contents:
Raw Source | XML | Display As
/tmp/guix-build-gcc-cross-sans-libc-xtensa-elf-4.9.4.drv-0/build/./gcc/xgcc -B/tmp/guix-build-gcc-cross-sans-libc-xtensa-elf-4.9.4.drv-0/build/./gcc/ -B/gnu/store/rhymf2ki6hzrg4v4mpiwwyl2l14fw4zs-gcc-cross-sans-libc-xtensa-elf-4.9.4/xtensa-elf/bin/ -B/gnu/store/rhymf2ki6hzrg4v4mpiwwyl2l14fw4zs-gcc-cross-sans-libc-xtensa-elf-4.9.4/xtensa-elf/lib/ -isystem /gnu/store/rhymf2ki6hzrg4v4mpiwwyl2l14fw4zs-gcc-cross-sans-libc-xtensa-elf-4.9.4/xtensa-elf/include -isystem /gnu/store/rhymf2ki6hzrg4v4mpiwwyl2l14fw4zs-gcc-cross-sans-libc-xtensa-elf-4.9.4/xtensa-elf/sys-include    -g -O2 -O2  -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include   -mlongcalls -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -Dinhibit_libc  -mlongcalls -I. -I. -I../.././gcc -I../../../gcc-4.9.4/libgcc -I../../../gcc-4.9.4/libgcc/. -I../../../gcc-4.9.4/libgcc/../gcc -I../../../gcc-4.9.4/libgcc/../include  -DHAVE_CC_TLS  -o _mulsf3_s.o -MT _mulsf3_s.o -MD -MP -MF _mulsf3_s.dep -DSHARED -DL_mulsf3 -xassembler-with-cpp -c ../../../gcc-4.9.4/libgcc/config/xtensa/lib1funcs.S
../../../gcc-4.9.4/libgcc/config/xtensa/ieee754-sf.S: Assembler messages:                                                                                                                       ../../../gcc-4.9.4/libgcc/config/xtensa/ieee754-sf.S:237: Error: found '~', expected: ')'                                                                                                       ../../../gcc-4.9.4/libgcc/config/xtensa/ieee754-sf.S:237: Error: junk at end of line, first unrecognized character is `~'                                                                       ../../../gcc-4.9.4/libgcc/config/xtensa/ieee754-sf.S:237: Internal error!                                                                                                                       Assertion failure in ignore_rest_of_line at read.c:3758.                                                                                                                                        Please report this bug.                                                                                                                                                                         make[2]: *** [Makefile:453: _addsubsf3_s.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/tmp/guix-build-gcc-cross-sans-libc-xtensa-elf-4.9.4.drv-0/build/xtensa-elf/libgcc'
make[1]: *** [Makefile:9851: all-target-libgcc] Error 2
make[1]: Leaving directory '/tmp/guix-build-gcc-cross-sans-libc-xtensa-elf-4.9.4.drv-0/build'
make: *** [Makefile:840: all] Error 2
phase `build' failed after 507.2 seconds

Annotations for this paste:

Annotation number 1: updated patch
Pasted by: lfam
When:3 years, 7 months ago
Share:Tweet this! | http://paste.lisp.org/+71DZ/1
Paste contents:
Raw Source | Display As
From 198270c35108203fce8fa3a1a678b31c7a14701b Mon Sep 17 00:00:00 2001
From: Leo Famulari <leo@leo.name>
Date: Wed, 12 Oct 2016 14:52:11 -0400
Subject: [PATCH] WIP binutils patch

---
 .../patches/ath9k-htc-firmware-binutils.patch      | 51 +++++++++++++++++-----
 1 file changed, 40 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/patches/ath9k-htc-firmware-binutils.patch b/gnu/packages/patches/ath9k-htc-firmware-binutils.patch
index edd411e..190aa25 100644
--- a/gnu/packages/patches/ath9k-htc-firmware-binutils.patch
+++ b/gnu/packages/patches/ath9k-htc-firmware-binutils.patch
@@ -1,4 +1,6 @@
-This Binutils patch is from the ath9k-htc-firmware repository (version 1.3.2).
+This Binutils patch is from the ath9k-htc-firmware repository (commit
+f6af791348b68ceadab375e4ed0f7bcda86cb3c0).
+
 Not applying it (apparently) leads to miscompiled firmware, and loading it
 fails with a "Target is unresponsive" message from the 'ath9k_htc' module.
 
@@ -28873,16 +28875,6 @@ diff --git a/include/xtensa-config.h b/include/xtensa-config.h
 index 30f4f41..fe9b051 100644
 --- a/include/xtensa-config.h
 +++ b/include/xtensa-config.h
-@@ -1,7 +1,7 @@
- /* Xtensa configuration settings.
--   Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2010
-+   Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007
-    Free Software Foundation, Inc.
--   Contributed by Bob Wilson (bob.wilson@acm.org) at Tensilica.
-+   Contributed by Bob Wilson (bwilson@tensilica.com) at Tensilica.
- 
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
 @@ -44,10 +44,7 @@
  #define XCHAL_HAVE_L32R			1
  
@@ -28973,3 +28965,40 @@ index 30f4f41..fe9b051 100644
  #define XCHAL_MAX_INSTRUCTION_SIZE	3
 -- 
 1.8.1
+
+From 25230da408e27703652542577c9cf8ca43db4267 Mon Sep 17 00:00:00 2001
+From: Oleksij Rempel <linux@rempel-privat.de>
+Date: Thu, 29 Sep 2016 21:35:36 +0200
+Subject: [PATCH] use binutils 2.27
+
+to provide debian package we need to use binutils 2.27.
+
+Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
+---
+ Makefile                                |  6 +++---
+ local/patches/binutils-2.27_fixup.patch | 13 +++++++++++++
+ 2 files changed, 16 insertions(+), 3 deletions(-)
+ create mode 100644 local/patches/binutils-2.27_fixup.patch
+
+diff --git a/local/patches/binutils-2.27_fixup.patch b/local/patches/binutils-2.27_fixup.patch
+new file mode 100644
+index 0000000..fb61345
+--- /dev/null
++++ b/local/patches/binutils-2.27_fixup.patch
+@@ -0,0 +1,13 @@
++diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c
++index d062044..ca261ae 100644
++--- a/gas/config/tc-xtensa.c
+++++ b/gas/config/tc-xtensa.c
++@@ -2228,7 +2228,7 @@ xg_reverse_shift_count (char **cnt_argp)
++   cnt_arg = *cnt_argp;
++ 
++   /* replace the argument with "31-(argument)" */
++-  new_arg = concat ("31-(", cnt_argp, ")", (char *) NULL);
+++  new_arg = concat ("31-(", cnt_arg, ")", (char *) NULL);
++ 
++   free (cnt_arg);
++   *cnt_argp = new_arg;
+-- 
+2.10.1
+
-- 
2.10.1

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.