rpms/busybox/devel busybox-1.8.1-gc-section.patch, NONE, 1.1 .cvsignore, 1.18, 1.19 busybox.spec, 1.69, 1.70 sources, 1.18, 1.19 busybox-1.7.2-gc-section.patch, 1.1, NONE

Ivana Varekova (varekova) fedora-extras-commits at redhat.com
Wed Nov 21 14:50:12 UTC 2007


Author: varekova

Update of /cvs/pkgs/rpms/busybox/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14859

Modified Files:
	.cvsignore busybox.spec sources 
Added Files:
	busybox-1.8.1-gc-section.patch 
Removed Files:
	busybox-1.7.2-gc-section.patch 
Log Message:
- update to 1.8.1


busybox-1.8.1-gc-section.patch:

--- NEW FILE busybox-1.8.1-gc-section.patch ---
diff -up busybox-1.8.1/scripts/trylink.pom busybox-1.8.1/scripts/trylink
--- busybox-1.8.1/scripts/trylink.pom	2007-11-10 02:40:48.000000000 +0100
+++ busybox-1.8.1/scripts/trylink	2007-11-21 10:35:59.000000000 +0100
@@ -65,7 +65,6 @@ try $CC $LDFLAGS \
 	-o $EXE \
 	-Wl,--sort-common \
 	-Wl,--sort-section -Wl,alignment \
-	-Wl,--gc-sections \
 	-Wl,--start-group $O_FILES $A_FILES -Wl,--end-group \
 	$l_list \
 || {
@@ -89,7 +88,6 @@ while test "$LDLIBS"; do
 		-o $EXE \
 		-Wl,--sort-common \
 		-Wl,--sort-section -Wl,alignment \
-		-Wl,--gc-sections \
 		-Wl,--start-group $O_FILES $A_FILES -Wl,--end-group \
 		$l_list
 	if test $? = 0; then
@@ -118,7 +116,6 @@ if ! test -f busybox_ldscript; then
 	    -o $EXE \
 	    -Wl,--sort-common \
 	    -Wl,--sort-section -Wl,alignment \
-	    -Wl,--gc-sections \
 	    -Wl,--start-group $O_FILES $A_FILES -Wl,--end-group \
 	    $l_list \
 	    -Wl,--warn-common \
@@ -140,7 +137,6 @@ else
 	    -o $EXE \
 	    -Wl,--sort-common \
 	    -Wl,--sort-section -Wl,alignment \
-	    -Wl,--gc-sections \
 	    -Wl,-T -Wl,busybox_ldscript \
 	    -Wl,--start-group $O_FILES $A_FILES -Wl,--end-group \
 	    $l_list \
@@ -196,7 +192,6 @@ if test "$CONFIG_FEATURE_SHARED_BUSYBOX"
 	    -o $EXE \
 	    -Wl,--sort-common \
 	    -Wl,--sort-section -Wl,alignment \
-	    -Wl,--gc-sections \
 	    -Wl,--start-group $O_FILES -Wl,--end-group \
 	    -L"$sharedlib_dir" -lbusybox \
 	    -Wl,--warn-common \
@@ -235,7 +230,6 @@ int main(int argc, char **argv)
 		-o $EXE \
 		-Wl,--sort-common \
 		-Wl,--sort-section -Wl,alignment \
-		-Wl,--gc-sections \
 		-L"$sharedlib_dir" -lbusybox \
 		-Wl,--warn-common \
 	|| {
diff -up busybox-1.8.1/Makefile.pom busybox-1.8.1/Makefile
diff -up busybox-1.8.1/applets/applets.c.pom busybox-1.8.1/applets/applets.c
--- busybox-1.8.1/applets/applets.c.pom	2007-11-10 02:40:53.000000000 +0100
+++ busybox-1.8.1/applets/applets.c	2007-11-21 10:23:30.000000000 +0100
@@ -10,17 +10,6 @@
 #include <assert.h>
 #include "busybox.h"
 
-/* Apparently uclibc defines __GLIBC__ (compat trick?). Oh well. */
-#if ENABLE_STATIC && defined(__GLIBC__) && !defined(__UCLIBC__)
-#warning Static linking against glibc produces buggy executables
-#warning (glibc does not cope well with ld --gc-sections).
-#warning See sources.redhat.com/bugzilla/show_bug.cgi?id=3400
-#warning Note that glibc is unsuitable for static linking anyway.
-#warning If you still want to do it, remove -Wl,--gc-sections
-#warning from top-level Makefile and remove this warning.
-#error Aborting compilation.
-#endif
-
 #if ENABLE_BUILD_LIBBUSYBOX
 int main(int argc, char **argv)
 {


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/busybox/devel/.cvsignore,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- .cvsignore	6 Nov 2007 10:11:37 -0000	1.18
+++ .cvsignore	21 Nov 2007 14:49:39 -0000	1.19
@@ -1 +1 @@
-busybox-1.7.3.tar.bz2
+busybox-1.8.1.tar.bz2


Index: busybox.spec
===================================================================
RCS file: /cvs/pkgs/rpms/busybox/devel/busybox.spec,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- busybox.spec	6 Nov 2007 10:11:37 -0000	1.69
+++ busybox.spec	21 Nov 2007 14:49:39 -0000	1.70
@@ -1,6 +1,6 @@
 Summary: Statically linked binary providing simplified versions of system commands
 Name: busybox
-Version: 1.7.3
+Version: 1.8.1
 Release: 1%{?dist}
 Epoch: 1
 License: GPLv2
@@ -15,7 +15,7 @@
 Patch12: busybox-1.2.2-ls.patch
 Patch13: busybox-1.5.1-clean.patch
 Patch14: busybox-1.5.1-msh.patch
-Patch15: busybox-1.7.2-gc-section.patch
+Patch15: busybox-1.8.1-gc-section.patch
 URL: http://www.busybox.net
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)  
 BuildRequires: libselinux-devel >= 1.27.7-2
@@ -113,6 +113,9 @@
 /sbin/busybox.petitboot
 
 %changelog
+* Wed Nov 21 2007 Ivana Varekova <varekova at redhat.com> - 1:1.8.1-1
+- update to 1.8.1
+
 * Tue Nov  6 2007 Ivana Varekova <varekova at redhat.com> - 1:1.7.3-1
 - update to 1.7.3 
 - remove --gc-sections from static build Makefile


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/busybox/devel/sources,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- sources	6 Nov 2007 10:11:37 -0000	1.18
+++ sources	21 Nov 2007 14:49:39 -0000	1.19
@@ -1 +1 @@
-d595c930e3eb7d0037b227dcd6e745d5  busybox-1.7.3.tar.bz2
+c54554851d989328654a3eeab915a04f  busybox-1.8.1.tar.bz2


--- busybox-1.7.2-gc-section.patch DELETED ---




More information about the fedora-extras-commits mailing list