gcc-4.1 vs gcc-4.3 and multiple tolower/toupper refs

2009-02-22 Thread Robert P. J. Day
as a followup to an earlier post (which i can't continue the thread on since i'm posting this from a browser, sorry), here's the error i'm getting when i use a gcc-4.3 coldfire toolchain to compile busybox-1.7.2: Failed: m68k-linux-gnu-gcc -o busybox_unstripped -Wl,-Map

Re: gcc-4.1 vs gcc-4.3 and multiple tolower/toupper refs

2009-02-22 Thread Robert P. J. Day
On Sun, 22 Feb 2009, Bernd Petrovitsch wrote: On Son, 2009-02-22 at 07:19 -0500, Robert P. J. Day wrote: [...] i'm confused ... why should upgrading my toolchain suddenly result in the definition of text symbols tolower and toupper in various object files, causing a link error? Can

Re: gcc-4.1 vs gcc-4.3 and multiple tolower/toupper refs

2009-02-22 Thread Robert P. J. Day
On Sun, 22 Feb 2009, Bernd Petrovitsch wrote: On Son, 2009-02-22 at 11:20 -0500, Robert P. J. Day wrote: On Sun, 22 Feb 2009, Bernd Petrovitsch wrote: On Son, 2009-02-22 at 07:19 -0500, Robert P. J. Day wrote: [...] i'm confused ... why should upgrading my toolchain suddenly

gcc-4.3, building busybox and multiple references to toupper/tolower?

2009-02-20 Thread Robert P. J. Day
of me, but does this sound familiar to anyone? would using a newer version of BB solve the problem? if necessary, i can post the errors sometime tomorrow once i get back to the office. rday -- Robert P. J. Day Linux

Re: gcc-4.3, building busybox and multiple references to toupper/tolower?

2009-02-20 Thread Robert P. J. Day
On Fri, 20 Feb 2009, Peter Korsgaard wrote: Robert == Robert P J Day rpj...@crashcourse.ca writes: Robert the short form: does trying to build busybox with a gcc-4.3 Robert compiler somehow cause a build failure with duplicate references to Robert tolower() and toupper()? Strange

compile error in trunk -- selinux, loginutils/login.c

2009-02-20 Thread Robert P. J. Day
, security_context_t *newcon); that is, accepting a security_context_t (not a pointer to one). or am i misreading this? rday -- Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry: Have classroom

Re: how to keep udhcpc from setting the default route?

2009-02-18 Thread Robert P. J. Day
On Wed, 18 Feb 2009, Alexander Griesser wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robert P. J. Day wrote: long story short: how to not have udhcpc add default entries to the routing table. obviously, i can manually remove those entries later, but i checked the doc

Re: how to keep udhcpc from setting the default route?

2009-02-18 Thread Robert P. J. Day
On Wed, 18 Feb 2009, Alexander Griesser wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robert P. J. Day wrote: As you can see, if a router option is given, it tries to set the default route to this option. potentially a dumb question but where is the router variable set

Re: what's the proper format for include/usage.h to not mangle output?

2008-12-26 Thread Robert P. J. Day
On Thu, 25 Dec 2008, Denys Vlasenko wrote: On Thursday 25 December 2008 11:36, Robert P. J. Day wrote: i've been refreshing my memory on the usage of a number of BB applets, and it's obvious that the format of the usage.h file lends itself to some mangled output in terms of HTML

what's the proper format for include/usage.h to not mangle output?

2008-12-25 Thread Robert P. J. Day
to represent all of that so that the HTML looks sane? rday -- Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry: Have classroom, will lecture. http://crashcourse.ca Waterloo, Ontario

Re: still trying to figure out how telnetd can change the search PATH

2008-12-24 Thread Robert P. J. Day
-- Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry: Have classroom, will lecture. http://crashcourse.ca Waterloo, Ontario, CANADA

Re: still trying to figure out how telnetd can change the search PATH

2008-12-24 Thread Robert P. J. Day
/bin/sh, that's not a login shell. and adding a - would solve the problem? rday -- Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry: Have classroom, will lecture. http://crashcourse.ca

Re: still trying to figure out how telnetd can change the search PATH

2008-12-24 Thread Robert P. J. Day
On Wed, 24 Dec 2008, Denys Vlasenko wrote: On Wednesday 24 December 2008 00:29, Denys Vlasenko wrote: On Tuesday 23 December 2008 20:09, Robert P. J. Day wrote: On Tue, 23 Dec 2008, Vladimir Dronnikov wrote: Again, telnetd spawn /bin/login or whatever you specify with -l option

[PATCH] Remove vestiges of obsolete TOPDIR.

2008-12-24 Thread Robert P. J. Day
Since the only remaining references to TOPDIR are in shell/ash_test/run-all and that's a fully self-contained script, there is no further need to hang on to the few remaining references to TOPDIR. Signed-off-by: Robert P. J. Day rpj...@crashcourse.ca --- Index: Makefile

[PATCH] Grammatical oops in usage.h: an user - a user

2008-12-24 Thread Robert P. J. Day
Signed-off-by: Robert P. J. Day rpj...@crashcourse.ca --- Index: include/usage.h === --- include/usage.h (revision 24532) +++ include/usage.h (working copy) @@ -37,14 +37,14 @@ #define addgroup_trivial_usage \ [-g

still trying to figure out how telnetd can change the search PATH

2008-12-23 Thread Robert P. J. Day
-- Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry: Have classroom, will lecture. http://crashcourse.ca Waterloo, Ontario, CANADA

Re: still trying to figure out how telnetd can change the search PATH

2008-12-23 Thread Robert P. J. Day
. :-( rday -- Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry: Have classroom, will lecture. http://crashcourse.ca Waterloo, Ontario, CANADA

Re: still trying to figure out how telnetd can change the search PATH

2008-12-23 Thread Robert P. J. Day
/telnetd -l /bin/sh where /bin/sh - busybox. so since the entire login process is being bypassed entirely, what are my options to modifying sh's search path? thanks. rday -- Robert P. J. Day Linux Consulting, Training

tftp and 32M file limit?

2008-10-27 Thread Robert P. J. Day
a friend just asked me what to do about the fact that his system now needs to tftp files larger than 32M, and the BB tftp client supports only 32M files maximum (BB 1.7.2). it's been a while since that was ever an issue for me -- what's the current status of BB tftp and filesize

Re: tftp and 32M file limit?

2008-10-27 Thread Robert P. J. Day
Quoting Vladimir Dronnikov [EMAIL PROTECTED]: BB tftp client supports only 32M files maximum (BB 1.7.2) AFAIK we introduced arbitrary blocksize in recent version of tftp. That way 64K*512b=32M limit is no longer applied. and that applies to both client and server? excellent ... i'll

Re: tftp and 32M file limit?

2008-10-27 Thread Robert P. J. Day
Quoting Vladimir Dronnikov [EMAIL PROTECTED]: BB tftp client supports only 32M files maximum (BB 1.7.2) AFAIK we introduced arbitrary blocksize in recent version of tftp. That way 64K*512b=32M limit is no longer applied. actually, i just took a quick look and BB 1.7.2 appears to support

syslogd --help doesn't mention -m option

2008-10-06 Thread Robert P. J. Day
on my BB 1.10.4, running syslogd --help makes no mention of the -m option, even though it clearly works. i notice that the usage line for that has been commented out in usage.h. not sure if that's an oversight or what. rday ___ busybox mailing

Re: why does syslogd consult /var/run/loglevel?

2008-08-21 Thread Robert P. J. Day
On Thu, 21 Aug 2008, Denys Vlasenko wrote: On Wednesday 20 August 2008 23:15, Robert P. J. Day wrote: a colleague showed me an embedded system he was working on that is based on busybox-1.1.3, and was wondering why he wasn't getting his DEBUG-level messages logged to /var/log/messages

why does syslogd consult /var/run/loglevel?

2008-08-20 Thread Robert P. J. Day
? why did that work? thanks. rday -- Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry: Have classroom, will lecture. http://crashcourse.ca Waterloo, Ontario, CANADA

getting started with BB: just download the package

2008-07-18 Thread Robert P. J. Day
mentioning that, but it's a quick way for people to have a working BB on their system. rday -- Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry: Have classroom, will lecture. http://crashcourse.ca

Re: [PATCH] Tidy up some missing loose ends re: cleaning.

2008-07-18 Thread Robert P. J. Day
On Fri, 18 Jul 2008, walter harms wrote: there is something called MRPROPER_FILES. maybe a better place ? more thinking about that there is a CLEAN_DIR and CLEAN_FILE why is there a find statement ? what is additonal to find ? re, wh Robert P. J. Day wrote: Add some extra files

[PATCH] Add some extra cleaning to clean and mrproper targets.

2008-07-18 Thread Robert P. J. Day
Add more files and directories to be cleaned: _install/, 0_lib/, busybox.links and busybox_old. Signed-off-by: Robert P. J. Day [EMAIL PROTECTED] --- the first three objects to be cleaned were added to the basic make clean target while, since denys seemed to think busybox_old had some extra

why does asking to build libbusybox change the size of busybox?

2008-07-18 Thread Robert P. J. Day
not as if the busybox executable is taking advantage of that new shared lib, so why the difference? thanks. rday -- Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry: Have classroom, will lecture. http

Re: [PATCH] Tidy up some missing loose ends re: cleaning.

2008-07-18 Thread Robert P. J. Day
on. i submitted a newer patch where busybox_old is now removed thru make mrproper. if that's still not sufficient, it can be moved to make distclean. rday -- Robert P. J. Day Linux Consulting, Training and Annoying Kernel

some general questions about libbb/

2008-07-18 Thread Robert P. J. Day
of libbb/. rday -- Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry: Have classroom, will lecture. http://crashcourse.ca Waterloo, Ontario, CANADA

update the README?

2008-07-17 Thread Robert P. J. Day
to be significantly out of date, no? rday -- Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry: Have classroom, will lecture. http://crashcourse.ca Waterloo, Ontario, CANADA

help text on a choice entry isn't displayable

2008-07-17 Thread Robert P. J. Day
associated with any of the underlying choices, just not the choice directive itself. or is there a trick of which i am unaware? -- Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry: Have classroom

make distclean doesn't do a thorough cleaning

2008-07-17 Thread Robert P. J. Day
i'm not sure which of the clean targets should handle these, but even after a make distclean, i still have the following generated content: busybox.links busybox_old _install/ rday -- Robert P. J. Day Linux

Re: make distclean doesn't do a thorough cleaning

2008-07-17 Thread Robert P. J. Day
On Thu, 17 Jul 2008, Denys Vlasenko wrote: On Thursday 17 July 2008 13:35, Robert P. J. Day wrote: i'm not sure which of the clean targets should handle these, but even after a make distclean, i still have the following generated content: busybox.links busybox_old

Re: help text on a choice entry isn't displayable

2008-07-17 Thread Robert P. J. Day
On Thu, 17 Jul 2008, Denys Vlasenko wrote: On Thursday 17 July 2008 13:14, Robert P. J. Day wrote: just an observation that any help text associated with a choice entry in a Config.in isn't currently displayable while you're doing a make menuconfig. for example, in Config.in, you

[PATCH] Tidy up some missing loose ends re: cleaning.

2008-07-17 Thread Robert P. J. Day
Add some extra files to remove for make distclean, and add an entry for mrproper to make help. Signed-off-by: Robert P. J. Day [EMAIL PROTECTED] --- Index: svn/Makefile === --- svn/Makefile(revision 22872) +++ svn/Makefile

include ../include/autoconf.h and LINUXINCLUDE?

2008-07-16 Thread Robert P. J. Day
/ directory. Makefile:export CPPFLAGS NOSTDINC_FLAGS LINUXINCLUDE OBJCOPYFLAGS LDFLAGS $ from here, it doesn't appear that that variable is being used a whole lot. rday -- Robert P. J. Day Linux Consulting, Training

SELINIX?

2008-07-16 Thread Robert P. J. Day
checking back in at least trivial fixes to start with after verifying them on the mailing list. -- Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry: Have classroom, will lecture. http

weird code snippet in cpio.c

2008-07-16 Thread Robert P. J. Day
-- Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry: Have classroom, will lecture. http://crashcourse.ca Waterloo, Ontario, CANADA

Re: SELINIX?

2008-07-16 Thread Robert P. J. Day
On Wed, 16 Jul 2008, Denys Vlasenko wrote: On Wednesday 16 July 2008 18:36, Robert P. J. Day wrote: this can't be deliberate, can it? $ grep -r SELINIX * procps/ps.c:#define SELINIX_O_PREFIX label, procps/ps.c:#define DEFAULT_O_STR(SELINIX_O_PREFIX ... etc etc ... rday

Re: weird code snippet in cpio.c

2008-07-16 Thread Robert P. J. Day
On Wed, 16 Jul 2008, Denys Vlasenko wrote: On Wednesday 16 July 2008 20:37, Robert P. J. Day wrote: from archival/cpio.c: ... #if ENABLE_GETOPT_LONG ENABLE_DESKTOP applet_long_options = extract\0 No_argument i list\0 No_argument t

Re: SELINIX?

2008-07-16 Thread Robert P. J. Day
On Wed, 16 Jul 2008, Peter Korsgaard wrote: Denys == Denys Vlasenko [EMAIL PROTECTED] writes: Denys On Wednesday 16 July 2008 18:36, Robert P. J. Day wrote: this can't be deliberate, can it? $ grep -r SELINIX * procps/ps.c:#define SELINIX_O_PREFIX label, procps/ps.c:#define

[PATCH] use if/endif construct to fix tar config display

2008-07-16 Thread Robert P. J. Day
Remove all of the depends on TAR directives and replace them with a single surrounding if/endif. Not only does this shorten the Config.in file, but it fixes the indentation issue. Signed-off-by: Robert P. J. Day [EMAIL PROTECTED] --- the if/endif directives can be used in a number of places

Re: weird code snippet in cpio.c

2008-07-16 Thread Robert P. J. Day
On Wed, 16 Jul 2008, Denys Vlasenko wrote: On Wednesday 16 July 2008 22:58, Robert P. J. Day wrote: On Wed, 16 Jul 2008, Denys Vlasenko wrote: On Wednesday 16 July 2008 20:37, Robert P. J. Day wrote: from archival/cpio.c: ... #if ENABLE_GETOPT_LONG ENABLE_DESKTOP

removing erroneous comments from Config.in files

2008-07-16 Thread Robert P. J. Day
sense to either remove those comments, or just copy over that file from the kernel tree. rday p.s. to match those comments, you'd have to create the directory scripts/kbuild first. -- Robert P. J. Day Linux Consulting, Training

some unnecessary preprocessor tests in libbb/

2008-07-16 Thread Robert P. J. Day
length can be up to almost 32K when Config.in clearly restricts the value to 8K. rday -- Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry: Have classroom, will lecture. http://crashcourse.ca

Re: some unnecessary preprocessor tests in libbb/

2008-07-16 Thread Robert P. J. Day
On Wed, 16 Jul 2008, Poly-poly man wrote: On Wednesday 16 July 2008 07:08:29 pm Robert P. J. Day wrote: some redundant or misleading preprocessor tests under libbb/. first, given this range restriction in Config.in: config MD5_SIZE_VS_SPEED int MD5: Trade Bytes for Speed

Re: [patch] tcpudp.c (with linux-2.6.25-rc7)

2008-03-31 Thread Robert P. J. Day
* things you can do, like building the documentation, that require perl. but i wasn't aware that a basic build needed it. which step? rday -- Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry: Have

Re: verizon settles over busybox infringement

2008-03-19 Thread Robert P. J. Day
depressing. is it too early to start drinking heavily? rday -- Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry: Have classroom, will lecture. http://crashcourse.ca Waterloo