Re: Bug#790560: udev fails to start on sparc boot, breaking boot

2015-08-07 Thread Knut Petter Ølberg
 After 10 hours of building (my machine is probably not the fastest one),
 I can only confirm that the gold linker is still broken in
 binutils_2.25-11_sparc64.deb


 I'm no developer. But I do have access to a T5120, where I could assign an
LDOM with 64 cores and 16gb of memory. If that would be of any help(I can
install a basic wheezy installation)?

-kp


Re: [PATCH] sparc64: use ENTRY/ENDPROC in VISsave

2015-08-07 Thread David Miller
From: Sam Ravnborg s...@ravnborg.org
Date: Fri, 7 Aug 2015 20:34:12 +0200

 From 7d8a508d74e6cacf0f2438286a959c3195a35a37 Mon Sep 17 00:00:00 2001
 From: Sam Ravnborg s...@ravnborg.org
 Date: Fri, 7 Aug 2015 20:26:12 +0200
 Subject: [PATCH] sparc64: use ENTRY/ENDPROC in VISsave
 
 Commit 44922150d87cef616fd183220d43d8fde4d41390
 (sparc64: Fix userspace FPU register corruptions) left a
 stale globl symbol which was not used.
 
 Fix this and introduce use of ENTRY/ENDPROC
 
 Signed-off-by: Sam Ravnborg s...@ravnborg.org

Applied, thanks Sam.


-- 
To UNSUBSCRIBE, email to debian-sparc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20150807.152256.960911445777356991.da...@davemloft.net



Re: Bug#790560: udev fails to start on sparc boot, breaking boot

2015-08-07 Thread Artyom Tarasenko
After 10 hours of building (my machine is probably not the fastest one),
I can only confirm that the gold linker is still broken in
binutils_2.25-11_sparc64.deb

Also I added

ifneq ($(findstring $(DEB_BUILD_ARCH), sparc),)
 LD=ld
endif

to  debian/rules (that's the only part of the patch referenced by
Michael which seems to be relevant), but see no effect: I still
observe the linker using -Wl,-fuse-ld=gold , and all the built systemd
binaries are broken.

Michael, I'm not familiar with the debian/rules. Would sparc64 also
match the findsting above?

Artyom

-- 
Regards,
Artyom Tarasenko

SPARC and PPC PReP under qemu blog: http://tyom.blogspot.com/search/label/qemu


-- 
To UNSUBSCRIBE, email to debian-sparc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CACXAS8DNxv7u=cPm0QJ9YPBLJ9R8LokckY6vq=94joxh6qj...@mail.gmail.com



Re: Bug#790560: udev fails to start on sparc boot, breaking boot

2015-08-07 Thread Frans van Berckel
On Fri, 2015-08-07 at 18:24 +0200, Artyom Tarasenko wrote:
 After 10 hours of building (my machine is probably not the fastest 
 one),
 I can only confirm that the gold linker is still broken in
 binutils_2.25-11_sparc64.deb

Am I right, there are some fails / test error's, building binutils_2.25
-11_sparc64.deb on Sompek at 2015-07-31 ...

Running /«PKGBUILDDIR»/ld/testsuite/ld-elf/elf.exp ...
FAIL: -Bsymbolic-functions
Running /«PKGBUILDDIR»/ld/testsuite/ld-elf/shared.exp ...
FAIL: Run pr2404 with PIE
Running /«PKGBUILDDIR»/ld/testsuite/ld-sparc/sparc.exp ...
FAIL: 32-bit: GOTDATA relocations
FAIL: 64-bit: GOTDATA relocations

=== ld Summary ===

# of expected passes845
# of unexpected failures4
# of expected failures  26
# of untested testcases 1
# of unsupported tests  8

Searching the log file, for the word fail it counts 19, so further in
the building there are even more hits ...

http://buildd.debian-ports.org/status/logs.php?pkg=binutilsver=2.25
-11arch=sparc64

Thanks,


Frans van Berckel


-- 
To UNSUBSCRIBE, email to debian-sparc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/1438973317.2246.24.ca...@xs4all.nl



[PATCH] sparc64: use ENTRY/ENDPROC in VISsave

2015-08-07 Thread Sam Ravnborg
From 7d8a508d74e6cacf0f2438286a959c3195a35a37 Mon Sep 17 00:00:00 2001
From: Sam Ravnborg s...@ravnborg.org
Date: Fri, 7 Aug 2015 20:26:12 +0200
Subject: [PATCH] sparc64: use ENTRY/ENDPROC in VISsave

Commit 44922150d87cef616fd183220d43d8fde4d41390
(sparc64: Fix userspace FPU register corruptions) left a
stale globl symbol which was not used.

Fix this and introduce use of ENTRY/ENDPROC

Signed-off-by: Sam Ravnborg s...@ravnborg.org
---

Noticed this while looking through the FPU fix patch.

Sam


 arch/sparc/lib/VISsave.S | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/arch/sparc/lib/VISsave.S b/arch/sparc/lib/VISsave.S
index a063d84..62c2647b 100644
--- a/arch/sparc/lib/VISsave.S
+++ b/arch/sparc/lib/VISsave.S
@@ -6,24 +6,23 @@
  * Copyright (C) 1998 Jakub Jelinek (j...@ultra.linux.cz)
  */
 
+#include linux/linkage.h
+
 #include asm/asi.h
 #include asm/page.h
 #include asm/ptrace.h
 #include asm/visasm.h
 #include asm/thread_info.h
 
-   .text
-   .globl  VISenter, VISenterhalf
-
/* On entry: %o5=current FPRS value, %g7 is callers address */
/* May clobber %o5, %g1, %g2, %g3, %g7, %icc, %xcc */
 
/* Nothing special need be done here to handle pre-emption, this
 * FPU save/restore mechanism is already preemption safe.
 */
-
+   .text
.align  32
-VISenter:
+ENTRY(VISenter)
ldub[%g6 + TI_FPDEPTH], %g1
brnz,a,pn   %g1, 1f
 cmp%g1, 1
@@ -79,3 +78,4 @@ vis1: ldub[%g6 + TI_FPSAVED], %g3
.align  32
 80:jmpl%g7 + %g0, %g0
 nop
+ENDPROC(VISenter)
-- 
2.1.0


-- 
To UNSUBSCRIBE, email to debian-sparc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150807183412.ga12...@ravnborg.org