[Bug 8471] find+sort regression (no output after sort)

bugzilla at busybox.net bugzilla at busybox.net
Thu Mar 17 09:18:33 UTC 2016


https://bugs.busybox.net/show_bug.cgi?id=8471

--- Comment #8 from alex hauras <d77190 at mail.ru> ---
1.
With busybox 1.23.2 (not buggy) there is no such message.
With busybox 1.24.1 (buggy) i see that message.

I noticed some inconsistence in trylink between git and release
(http://busybox.net/downloads/busybox-1.24.1.tar.bz2) image:
--- ./trylink.1241      2015-10-24 07:27:41.000000000 +0700
+++ ./trylink.git       2016-03-17 15:07:37.000000000 +0600
@@ -54,7 +54,7 @@
     # "eval" may be needed if CFLAGS can contain
     # '... -D"BB_VER=KBUILD_STR(1.N.M)" ...'
     # and we need shell to process quotes!
-    $CC $CFLAGS $1 "$tempname".c -o "$tempname" >/dev/null 2>&1
+    $CC $CFLAGS $LDFLAGS $1 "$tempname".c -o "$tempname" >/dev/null 2>&1
     r=$?
     rm -f "$tempname" "$tempname".c "$tempname".o
     return $r
@@ -111,7 +111,7 @@
 if (. ./.config && test x"$CONFIG_STATIC" = x"y") then
     if check_libc_is_glibc; then
        echo "Static linking against glibc, can't use --gc-sections"
-#      GC_SECTIONS=""
+       GC_SECTIONS=""
     fi
 fi
 # The --gc-sections option is not supported by older versions of ld

I found LDFLAGS commit:
https://git.busybox.net/busybox/commit/?id=77e2bde6a50f0f6b9b3c9983c86e661a9872b5f6
But i cannot find, which commit comments/uncomments GC_SECTIONS in trylink
between 1.23.2 and 1.24.1:
https://git.busybox.net/busybox/log/scripts/trylink

With fixed trylink (uncommenting GC_SECTIONS="") bug is gone on busybox 1.24.1

2. dynamic linking also fixes bug.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list