[Bug 747] 1.15.2 regression from 1.15.1 in ash parameter expansion
bugzilla at busybox.net
bugzilla at busybox.net
Mon Nov 30 16:29:02 UTC 2009
https://bugs.busybox.net/show_bug.cgi?id=747
--- Comment #16 from Denys Vlasenko <vda.linux at googlemail.com> 2009-11-30 16:29:01 UTC ---
I tried this:
# touch shell/ash.c; CFLAGS='-Os -Wall -pipe -mtune=generic -march=i586 -s
-fomit-frame-pointer' make V=1 shell/ash.o
and I get this (with my .config):
...
i486-linux-uclibc-gcc -Wp,-MD,shell/.ash.o.d -std=gnu99 -Iinclude -Ilibbb
-include include/autoconf.h -D_GNU_SOURCE -DNDEBUG -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D"BB_VER=KBUILD_STR(1.16.0.git)"
-DBB_BT=AUTOCONF_TIMESTAMP -Os -Wall -pipe -mtune=generic -march=i586 -s
-fomit-frame-pointer -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes
-Wunused -Wunused-parameter -Wunused-function -Wunused-value
-Wmissing-prototypes -Wmissing-declarations -Wdeclaration-after-statement
-Werror -Wold-style-definition -fno-builtin-strlen -finline-limit=0
-fomit-frame-pointer -ffunction-sections -fdata-sections
-fno-guess-branch-probability -funsigned-char -static-libgcc
-falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -Os
-march=i386 -mpreferred-stack-boundary=2 -D"KBUILD_STR(s)=#s"
-D"KBUILD_BASENAME=KBUILD_STR(ash)" -D"KBUILD_MODNAME=KBUILD_STR(ash)" -c -o
shell/ash.o shell/ash.c
Note that -funsigned-char *is present*.
With CFLAGS set as make parameter, I get this:
# touch shell/ash.c; make V=1 shell/ash.o CFLAGS='-Os -Wall -pipe
-mtune=generic -march=i586 -s -fomit-frame-pointer'
...
i486-linux-uclibc-gcc -Wp,-MD,shell/.ash.o.d -std=gnu99 -Iinclude -Ilibbb
-include include/autoconf.h -D_GNU_SOURCE -DNDEBUG -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D"BB_VER=KBUILD_STR(1.16.0.git)"
-DBB_BT=AUTOCONF_TIMESTAMP -Os -Wall -pipe -mtune=generic -march=i586 -s
-fomit-frame-pointer -D"KBUILD_STR(s)=#s"
-D"KBUILD_BASENAME=KBUILD_STR(ash)" -D"KBUILD_MODNAME=KBUILD_STR(ash)" -c -o
shell/ash.o shell/ash.c
Now -funsigned-char is missing. Looks more like what you are seeing.
Can you determine what exactly causes -funsigned-char to disappear from your
command line in your environment?
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list