Denys Vlasenko wrote: > On Tuesday 01 April 2008 17:40, EXTERNAL Tetz Torsten (Praktikant; > ST-FIR/ENG1) wrote: >>> # patch -p1 <12.diff >>> patching file Config.in >>> patching file Rules.mak >>> patching file archival/Makefile.in >>> patching file include/platform.h >>> patching file libbb/Makefile.in >>> patching file miscutils/Makefile.in >>> >>> the resulting tree produces segfaulting binary? >> >> Yes, patching 1.2.1 with 12.diff produces a segfaulting binary. > > As you see, you are down to only six files with differences. > Can you find out which file (and then which chunk) breaks it?
Hello, it is this change that makes a segfaulting version out of 1.2.1. --- busybox-1.2.1/Rules.mak Sat Jul 29 00:55:51 2006 +++ busybox-1.2.2/Rules.mak Tue Oct 24 22:22:03 2006 (...) @@ -265,7 +265,7 @@ (...) - CHECKED_LDFLAGS += $(call check_ld,--gc-sections,) + CHECKED_LDFLAGS += $(call check_ld,$(LD),--gc-sections,) (...) I made a test by removing "$(LD)," from the 1.2.2. version and it worked (produced no segfault). Regards, Torsten _______________________________________________ busybox mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/busybox
