irclog2html for #uclibc on 20051015

00:00.22landleyIt seems it's needed to build gcc 4.0 on x86. :(
00:01.10psmlandley: the addition influences too much, that cant be done as an option (it makes all future compiles link to libc.so and ld.so as well (the latter only if needed)
00:01.33landleyI can't comment since I have no idea what your patch does.
00:01.51landleyAlas, I stopped following the uclibc mailing list over 700 messages ago, when it turned into the buildroot list and stopped having anything to do with uclibc.
00:02.10psmbegin reading again ;)
00:02.11landleySince I don't use buildroot, slogging through just stopped being worth it...
00:02.48psmsend *buildroot* > /dev/null
00:04.50landleyWould there be anything left?
00:05.15landleyP.S: ashes, thanks for pointing me to the patch.  The build continues to chug along...
00:05.35anderseelandley: evening
00:06.01landleyHiya andersee!
00:06.15landleyI got my Firmware Linux distro unblocked a few days ago, and am almost ready to make a release.
00:06.28landleyExcept that gcc 4.0.2 and uclibc don't like each other at all. :)
00:06.41landleyBeen fighting with that for... three days now?
00:07.06anderseelandley: and you choose to go with the bleading edge, because....?
00:07.09andersee:-)
00:07.26landleyBecause I've got to upgrade at some point, might as well be now.
00:07.43landley(I could have jumped to 3.4, and it remains an option.)
00:08.00landleyBut considering that last time I worked out how to get the sucker to function from first principles...
00:08.07landley(And sticking &%&*#& printfs in the source code...)
00:08.21landleyOh: what stops gcc 4.0.2 from compiling with uClibc.  2 things:
00:08.33landleyOne I posted to the buildroot mailing list about
00:09.07landleyThat's the dl_iterate_phdr missing thing.
00:09.30landley(You ripped it out right before gcc started depending on it, apparently.  Although only for something called "libmudflap", which nobody seems to know what it does.)
00:09.33landleyNot even google.
00:09.41landleyWhich I found impressive, actually.
00:10.00landleyThe other is the libc_stack_end thing, which gcc patches (apparently wrongly, but it seems to work anyway) here:
00:10.16landleyhttp://www.linuxfromscratch.org/patches/hlfs/svn/uClibc-0.9.28-libc_stack_end-1.patch
00:10.54psypete...mudflap?
00:11.02landleyI'm not making that up.
00:11.37landleyhttp://www.tummy.com/Products/krud/packages/libmudflap.html
00:11.52landleyIt's built as part of gcc, but nobody anywhere will say what it's _for_.
00:12.31landleyandersee: I'm trying to get it working.  With a chainsaw if necessary.
00:12.41anderseeheh
00:13.06landleyGreat.  Bash 2.05b won't build with gcc 4.02
00:13.09landleyThis seems to be unrelated.
00:13.35landleyake[1]: Entering directory `/home/landley/newbuild/firmware-build/tools/sources/bash-2.05b/lib/malloc'
00:13.35landleygcc  -I. -I../.. -I../.. -I../../include -I../../lib -DHAVE_CONFIG_H -DSHELL  -g -O2 -DRCHECK -Dbotch=programming_error   -c malloc.c
00:13.35landleymalloc.c:239: warning: integer constant is too large for 'unsigned long' type
00:13.35landleymalloc.c: In function 'internal_free':
00:13.35landleymalloc.c:904: error: label at end of compound statement
00:13.37landleymake[1]: *** [malloc.o] Error 1
00:13.40landleyThat's just painful.
00:13.51landley(No I am _not_ upgrading to bash 3, I'm going to FIX BUSYBOX'S SHELL.  But not today.)
00:14.06landleyYes, but that would be _sane_.
00:14.14anderseeheh
00:15.20mjn3landley: i think libmudflap is some type of invalid pointer protection.  as i recall, i did get it building when with gcc 4.0 in buildroot
00:15.44landleyIs there any way to disable it?
00:15.58landley(So it doesn't try to build?)
00:16.04mjn3thought you had to actually enable it with a config option
00:16.10landleyIt's far and away the most persnickety of the gcc build bits.
00:16.17mjn3perhaps that's changed since the initial release
00:16.19landleyNope.  It's building anyway in 4.0.2
00:17.12landleyUnless you're cross compiling, libmudflap tries to build with the gcc that just compiled but has not yet been installed.
00:17.45landleyWhen tweaking things to get libraries from a nonstandard location and use nonstandard libraries anyway, this involves duct tape to get the sequencing right.
00:18.12psypete$landley_vocabulary++
00:18.13mjn3all uclibc toolchain builds are done as cross compilations in buildroot
00:18.27landley_why_ does bash have its own built-in implementation of malloc?
00:18.46psypeteportability thingie?
00:18.50landleymjn3: I noticed that at least some code for --target=i386-linux-uclibc got merged.
00:19.12landleyI intend to play with that later to see if I can simplify anything, but for right now I'm trying to get it to work with a soldering iron and tweezers, playing bug whack-a-mole...
00:19.21mjn3vapier pushed some binutils changes and perhaps some gcc config stuff
00:19.28landleyCool.
00:19.36landleyI look forward to using it.
00:19.39landleyAfter I get a release out. :)
00:20.08landleyI'm not kidding, bash has its own malloc implementation.
00:20.21landleyIt calls sbrk, and does coalescing and everything.
00:20.47landleyAnd people wonder why emacs turned into an operating system if they can do this to a poor defenseless command shell...
00:21.59landleyWANT TO HURT FSF!
00:22.15landleyI have to wander away from the keyboard for a bit to calm down.
00:22.30psypetecould you grab me some coffee while you're up pls?
00:26.28landleyJust tea around here.
00:26.38landleyI don't do coffee.
00:26.45landleyIt's really strong tea, though.
00:26.58landleyAnd I've got some diet coke.
00:27.04landleyCan't email that though.  (Carbonation.)
00:30.10landleyRight.  gcc 4.0 objects if a label is the last thing in a function.
00:31.30landleyAdding any function after the label (including do {;} while(0);) fixes it.
00:31.36landleyThat's not an error, that's a warning at best.
00:32.01landleyI'd harange them about it, but I'm keeping my distance.
00:32.06landleyI really don't want to get any of that on me.
00:33.57landleyThe leaves of what?
00:34.07psypetered tea leaves
00:34.26landleyI just use lipton bags, which I'm told contain the sweepings from the factory floor of real tea factories.
00:34.50psypeteyep, pretty much dirt sand and some tea extract
00:35.09psypetebtw why not have a return() at the end of your functions?
00:35.13landleyI find it's all in the preparation, although that's clearly because I don't have real tea readily available.
00:35.21landleyhttp://www.bbc.co.uk/dna/h2g2/A61345
00:35.25landleyA great man.
00:35.38landleyit's not my function, it's the fsf's function.  (And it's returning void, that's why.)
00:35.51landleyAnd it's got #ifdefs after the label.
00:35.59landleyFour or five of them, with various functionality blocks.
00:36.08psypeteyeah, if the water's not right you're gonna shock the tea and it'll be screwed anyway
00:36.14landleyIt's just that in this case, they're all disabled.  But return; could potentially change behavior by cutting off the unreachable code.
00:36.31landleyOh I shock the tea anyway, I just make sure it's _hot_ enough.
00:36.47landleyMost tea isn't made with really really really hot water.
00:37.12landleyIt's made with just sort of hot water, and yes there is a difference.
00:37.55landley(I actually throw the tea bags into the water while it's still boiling, on the theory "it's lipton".  Turn off burner, throw in tea bags, put lid back on, go do something else.
00:38.05landleyI've sometimes forgotten it's there for upwards of 24 hours.  That's _good_ tea. :)
00:38.18landley(Diluted about 1/3 with milk, anyway.  Wouldn't try drinking it straight...)
00:38.38psypeteheh, yeah i would hope... i did that with green tea once. was NOT a happy camper.
00:39.02landleyI sometimes use one bag of green tea to 8 bags normal tea (in a gallon of water), but green tea is a flavoring, not a tea.
00:39.17landley(And oolong tea has just plain gone rancid.  I don't know what the point of it is.)
00:40.39psypetegreen tea will keep me up at night if i steep enough of the stuff
00:41.03psypeteplus i only put about 2lbs (or 40 metric liters) of sugar per cup
00:41.53landleyOne cup of sugar per gallon works for me.  I could do metric measurements but that's not what they sell here.
00:42.08landleySo I have to occasionally figure out how to convert gilberts into furlongs and so on...
00:45.50landleyhotplug?
00:46.12psypeteyep, he linked me some patch for a dynamic hotplug busybox applet
00:46.23landleyudev?
00:46.32psypetedon't think so, this is for a primarily 2.4 system
00:46.41landleyAh.  Much less interesting then.
00:46.55landleyOne of my near-term todo items is getting udev integrated into my firmware system.
00:46.59psypetehey, whatever makes my USB disks auto-unmount
00:47.07landleyBut that's after I release...
00:47.22psypetewhats the application & medium size?
00:47.38landleyI wonder how big/complicated udev is?  (I know it contains a complete copy of klibc, which is dumb.  It did back around .40, anyway.)
00:49.18landleyThe general design seemed nice and simple, though...
00:49.29psypeteit's supposed to me more "intuitivey"
00:49.36landleyWhat is?
00:49.39psypeteudev
00:49.53psypetewhen i looked at it before, i kept going "ohh... ahhh..."
00:49.59landleyIf you mean it doesn't have 18,000 dev entries for every possible device...
00:50.22psypetewell that and the layout of /sys/ made a lot more useful information accessible
00:50.24landleyAnd it doesn't rename /dev/hda to /dev/fruitbasket/ampitheatre/bus1/slave/toshiba...
00:50.37landleyI forgot lots of numbers in that path, by the way.
00:50.42landleyAnd random punctuation...
00:50.49psypeteyeah i was gonna say, add some $RAND here and there
00:51.06landleyI'm entirely in favor of udev.
00:51.19landleyGreg Kroah-Hartmann is a brilliant programmer.
00:51.29landleyHe should be kept away from release management via restrainign order, but other than that...
00:51.48landleyAnd he handed it off recently.  I forget to who.
00:52.30landleyI think busybox is probably going to grow a "2.6" directory, with the new pivot_root replacement and udev and such.
00:52.47landleyAlthough if 2.8 ever ships that'd look a bit silly, but I think we're safe for a while there. :)
00:53.21psypeteheh, if 3.0 doesn't ship first \o/
00:54.44landleyHey, I was arguing 2.6 should have been 3.0.
00:54.51landleyIn retrospect, that looks right, doesnt' it?
01:03.09psypetei'm never in favor of verion number jumps "for the heck of it", or even when there's been a major addition
01:03.52psypeteif the software has been rewritten from scratch or otherwise is virtually a different product, yes a new major version number is welcomed
01:04.44psypetebut we could go to 2.16 for all i care, if the codebase is the same one as the last, with just things like VM or tcp/ip stack changing
01:05.29psypetethen again i'm not really a kernel hacker so i'm not one to talk. and i'm not Linus so i don't have much say in the matter.
01:06.10landleyWhere'd the bug list go?
01:06.49landleyVersion numbers should indicate major new functionality.  We went to 1.0 and 2.0.
01:07.05landleyThe point of 2.0 is that 1.0 wouldn't really substitute for it.
01:07.39psypetewell the same thing could be said for minor revisions in some cases
01:07.42landleyIs anybody else getting the bug list showing them no bugs (0-0)?
01:08.35landleyWhat's this changed(hrs) thing?
01:08.49psypetethe bugs are still there...
01:08.59psypetetheres just 0 unassigned and 0 resolved
01:09.48landleyHow do I get it to show me the list of all open busybox bugs?
01:09.53landleyDid somebody go through and clean up the entire list?
01:10.19psypete/view_all_bug_page.php
01:10.30landleyI'm on it.
01:10.37psypeteso'm i... tons of bugs
01:10.43landleyViewing Issues (0 - 0 / 0)
01:10.47psypetein both the busybox and uclibc project pages
01:10.53psypeteViewing Issues (1 - 50 / 191)
01:11.07psypetehttp://bugs.uclibc.org/view_all_bug_page.php - make sure your filters are clear too
01:11.39psypetemight also make a difference to select the project from the right drop-down box
01:12.18landleyIt's pointing at "busybox".
01:12.23landleyIt was working last time I went there.
01:12.35landleyI just clicked "use filter" (without changing anything) and now it's showing me 77 bugs.
01:13.09psypetewell you can start by using a different browser and fix it later
01:13.55landleyA) it worked with this browser before, many times.  B) clicking "use filter" brought up a list of bugs.
01:14.16landleyDunno if it's the full list, but it's a list...
01:14.24psypeteC) just incase it wasn't all the bugs (??) you can use a different browser -temporarily- which won't have cookies or whatever saved with weird settings
01:15.26landleyI don't have another browser installed on this laptop.  I can clear the cookies for uclibc.org easily enough, but I didn't _change_ the cookies.
01:16.17psypetein Lisp
01:17.59*** join/#uclibc ChanServ (ChanServ@services.)
01:18.00*** mode/#uclibc [+o ChanServ] by irc.freenode.net
01:20.04*** join/#uclibc ashes_ (n=ashes@modemcable080.175-201-24.mc.videotron.ca)
01:42.31landleyThat's "lithp".
01:55.32landleyandersee: so apparently there are two issues with combining gcc 4.0.2 and uClibc.
01:55.53landleydl_iterate_phdr and __libc_stack_end.
02:02.02*** join/#uclibc ashes (n=ashes@modemcable080.175-201-24.mc.videotron.ca)
02:16.12*** join/#uclibc tchan (n=tchan@lunar-linux/developer/tchan)
02:19.05landleyThe /tools build made it to the end, with uclibc 0.9.28 and gcc 4.0.2.
02:19.12landleyNow I need to fix busybox to understand --exclude...
02:31.53landleyCan we perhaps buy vodz some "learn to speak english" tapes?
02:31.56landleyA telecourse, perhaps?
02:32.12landleyThe last argument (val) can undefined from applet_opts.
02:32.12landley<PROTECTED>
02:32.13landley<PROTECTED>
02:32.13landley<PROTECTED>
02:32.13landley<PROTECTED>
02:32.28landleyI want to add --exclude.
02:32.45landleyThe logic is there in --exclude from, except I want to append these arguments to the linked list directly, not get them out of a file.
02:32.57landleyin --exclude-from, I mean.
02:33.29landleyI've never had a clear idea how to use getopt_ulargs().
02:33.43landleyI want to add a long option, which doesn't have a short equivalent, and can be invoked more than once.
02:33.47landleyI don't even know if this is possible.
02:34.06landleyI just know that uClibc-0.9.28 can't use busybox tar during its install phase without it.
02:34.33*** join/#uclibc tchan (n=tchan@lunar-linux/developer/tchan)
03:06.25CIA-1003landley * r11865 10busybox/archival/tar.c: (log message trimmed)
03:06.25CIA-10Add --exclude option (to make uClibc-0.9.28 headers install using busybox tar).
03:06.26CIA-10I have no idea how to apply bb_getopt_complementally to a --longopt that
03:06.37landleyNow to find out if that does, in point of fact, actually work.
03:28.09landleyWow, gcc 4.0 may actually have an improvement over 3.3!
03:28.22landleyThe stupid hardwired library paths in collect2.c don't seem to be there anymore...
04:39.40*** join/#uclibc _cow (n=cow@M871P001.adsl.highway.telekom.at)
04:54.56*** join/#uclibc EvilRick (n=Ev1lRick@196-28-86-129.wdsl.co.za)
06:26.48*** join/#uclibc andersee (n=andersee@codepoet.org)
06:32.40CIA-1003vodz * r11866 10busybox/archival/tar.c: llist must initialize, add loses ifdef, small indent correction
08:28.27*** join/#uclibc Wes (n=pwn3r@d142-179-76-233.bchsia.telus.net)
09:38.55*** join/#uclibc JockeHome (n=JockeHom@84-217-1-108.tn.glocalnet.net)
10:24.03CIA-1003vodz * r11867 10busybox/ (11 files in 7 dirs): common BUFSIZ BSS buffer, small reduce code, data and bss
12:39.59*** join/#uclibc _cow (n=cow@M905P010.adsl.highway.telekom.at)
12:50.06*** join/#uclibc JockeHome (n=JockeHom@84-217-1-108.tn.glocalnet.net)
13:45.35CIA-1003vodz * r11868 10busybox/ (coreutils/date.c coreutils/realpath.c procps/pidof.c): RESERVE_CONFIG_BUFFER --> bb_common_bufsiz1
13:49.23CIA-1003vodz * r11869 10busybox/sysklogd/syslogd.c: complex RESERVE_CONFIG_BUFFER --> bb_common_bufsiz1
13:56.19CIA-1003vodz * r11870 10busybox/util-linux/mkfs_minix.c: data --> bss
14:10.38CIA-1003vodz * r11871 10busybox/miscutils/hdparm.c: data --> code
14:13.11CIA-1003aldot * r11872 10busybox/libbb/loop.c:
14:13.12CIA-10- an empty middle term in ?: violates ISO C
14:13.12CIA-10- use shorter boilerplate and use C89 style comments
14:24.03CIA-1003vodz * r11873 10busybox/sysklogd/syslogd.c: 20 bytes data to bss
14:41.10CIA-1003vodz * r11874 10busybox/e2fsprogs/blkid/ (probe.c probe.h): more const, all data to text
14:50.03*** join/#uclibc tchan (n=tchan@lunar-linux/developer/tchan)
16:21.28*** join/#uclibc ashes_ (n=ashes@modemcable080.175-201-24.mc.videotron.ca)
16:44.58*** join/#uclibc ashes (n=ashes@modemcable080.175-201-24.mc.videotron.ca)
16:51.19enervcow, ping
16:51.44enervcow, my english is not good, but... let's go.
16:51.52enervThis project aims to provide a i386-uclibc port of debian. The idea is to make possible to do a full fresh installation in this arch.
17:05.20enervthey i'am, compiling GCC without libc6... but i not, obtaining compile accurately... i getting error catching to header of libc6 signal.c.
17:05.35enerv../../gcc-3.4.3/gcc/config/i386/linux.h:217:20: signal.h: No such file or directory
17:05.36enerv../../gcc-3.4.3/gcc/config/i386/linux.h:218:26: sys/ucontext.h: No such file or directory
17:06.29enervmy ./configure configure  --target=i386-pc-linux-uclibc --prefix=$(DESTDIR)/usr/i386-pc-linux-uclibc/ -prefix=/static --disable-nls --disable-shared -with-as=$LFS/static/bin/as --with-ld=$LFS/static/bin/ld -v
17:08.38enervi try also, ./configure configure  --target=i386-pc-linux-uclibc --prefix=$(DESTDIR)/usr/i386-pc-linux-uclibc/  --with-headers
17:09.34enervresuming, i need compile gcc static
17:53.19*** join/#uclibc tchan (n=tchan@lunar-linux/developer/tchan)
19:14.06*** join/#uclibc jamie (n=jamie@softmodem.org)
19:42.08*** join/#uclibc ccjoe (i=clrsrv@www.clearcore.com)
19:42.09*** join/#uclibc carlg (i=clrsrv@www.clearcore.com)
20:02.12*** join/#uclibc psypete (n=psypete@adsl-144-98-74.mia.bellsouth.net)
20:35.53*** join/#uclibc ashes_ (n=ashes@modemcable080.175-201-24.mc.videotron.ca)
20:40.04*** join/#uclibc _cow (n=cow@M885P011.adsl.highway.telekom.at)
20:56.32CIA-1003aldot * r11875 10busybox/libbb/loop.c:
20:56.33CIA-10- don't update copyright years. He might release it, but apparently will have
20:56.33CIA-10<PROTECTED>

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with blootbot logs, split per channel, etc.