packages (LINUX_2_6_27): kernel/kernel.spec, kernel/alpha-small-data.patch ...

glen glen at pld-linux.org
Mon Mar 26 19:59:59 CEST 2012


Author: glen                         Date: Mon Mar 26 17:59:59 2012 GMT
Module: packages                      Tag: LINUX_2_6_27
---- Log message:
- alpha: remove -msmall-data, helps to workaround for relocation truncated to fit: GPREL16 against `.sbss' errors

---- Files affected:
packages/kernel:
   kernel.spec (1.441.2.2036.2.73 -> 1.441.2.2036.2.74) , alpha-small-data.patch (NONE -> 1.1.2.1)  (NEW)

---- Diffs:

================================================================
Index: packages/kernel/kernel.spec
diff -u packages/kernel/kernel.spec:1.441.2.2036.2.73 packages/kernel/kernel.spec:1.441.2.2036.2.74
--- packages/kernel/kernel.spec:1.441.2.2036.2.73	Fri Mar 23 06:16:13 2012
+++ packages/kernel/kernel.spec	Mon Mar 26 19:59:53 2012
@@ -327,6 +327,7 @@
 Patch2002:	kernel-atom-coretemp.patch
 Patch2003:	kernel-regressions.patch
 Patch2004:	alpha-bug.patch
+Patch2005:	alpha-small-data.patch
 
 # kill some thousands of warnings
 # (only warnings, so just remove parts of this patch if conflics)
@@ -957,6 +958,7 @@
 %patch2002 -p1
 #%patch2003 -p1
 %patch2004 -p1
+%patch2005 -p1
 
 # Fix EXTRAVERSION in main Makefile
 sed -i 's#EXTRAVERSION =.*#EXTRAVERSION = %{postver}%{?alt_kernel:_%{alt_kernel}}#g' Makefile
@@ -1706,6 +1708,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.441.2.2036.2.74  2012/03/26 17:59:53  glen
+- alpha: remove -msmall-data, helps to workaround for relocation truncated to fit: GPREL16 against `.sbss' errors
+
 Revision 1.441.2.2036.2.73  2012/03/23 05:16:13  glen
 - another 400Mb for /tmp
 

================================================================
Index: packages/kernel/alpha-small-data.patch
diff -u /dev/null packages/kernel/alpha-small-data.patch:1.1.2.1
--- /dev/null	Mon Mar 26 20:00:00 2012
+++ packages/kernel/alpha-small-data.patch	Mon Mar 26 19:59:53 2012
@@ -0,0 +1,33 @@
+http://forums.gentoo.org/viewtopic-p-6933728.html
+http://lists.debian.org/debian-alpha/2011/11/msg00019.html
+http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47230 <- claims 2.18.50.0.9-8.fc10 20080822 works ok
+
+init/built-in.o: In function `do_one_initcall':
+linux-2.6.27.61/init/main.c:750: relocation truncated to fit: GPREL16 against `.sbss'
+linux-2.6.27.61/init/main.c:757: relocation truncated to fit: GPREL16 against `.sbss'
+linux-2.6.27.61/init/main.c:768: relocation truncated to fit: GPREL16 against `.sbss'
+init/built-in.o: In function `init_post':
+linux-2.6.27.61/init/main.c:840: relocation truncated to fit: GPREL16 against symbol `system_state' defined in .sbss section in init/built-in.o
+linux-2.6.27.61/init/main.c:851: relocation truncated to fit: GPREL16 against `.sbss'
+linux-2.6.27.61/init/main.c:863: relocation truncated to fit: GPREL16 against `.sbss'
+linux-2.6.27.61/init/main.c:865: relocation truncated to fit: GPREL16 against `.sbss'
+linux-2.6.27.61/init/main.c:853: relocation truncated to fit: GPREL16 against `.sbss'
+init/built-in.o: In function `set_reset_devices':
+linux-2.6.27.61/init/main.c:187: relocation truncated to fit: GPREL16 against symbol `reset_devices' defined in .sbss section in init/built-in.o
+init/built-in.o: In function `unknown_bootoption':
+linux-2.6.27.61/init/main.c:325: relocation truncated to fit: GPREL16 against `.sbss'
+linux-2.6.27.61/init/main.c:333: additional relocation overflows omitted from the output
+make: *** [.tmp_vmlinux1] Error 1
+
+--- linux-2.6.27/arch/alpha/Makefile~	2008-10-09 22:13:53.000000000 +0000
++++ linux-2.6.27/arch/alpha/Makefile	2012-03-23 16:07:44.000000000 +0000
+@@ -12,7 +12,7 @@
+ 
+ LDFLAGS_vmlinux	:= -static -N #-relax
+ CHECKFLAGS	+= -D__alpha__ -m64
+-cflags-y	:= -pipe -mno-fp-regs -ffixed-8 -msmall-data
++cflags-y	:= -pipe -mno-fp-regs -ffixed-8
+ cflags-y	+= $(call cc-option, -fno-jump-tables)
+ 
+ cpuflags-$(CONFIG_ALPHA_EV4)		:= -mcpu=ev4
+
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/kernel/kernel.spec?r1=1.441.2.2036.2.73&r2=1.441.2.2036.2.74



More information about the pld-cvs-commit mailing list