irclog2html for #uclibc on 20070216

00:56.20*** join/#uclibc wrobbie (n=rob@cm74.kappa84.maxonline.com.sg)
03:11.45*** join/#uclibc wrobbie (n=rob@cm74.kappa84.maxonline.com.sg)
03:12.10*** join/#uclibc whirm (n=whirm@80.174.190.172) [NETSPLIT VICTIM]
04:11.50*** join/#uclibc wrobbie (n=rob@cm74.kappa84.maxonline.com.sg)
07:09.14Xridemorning all
07:29.08*** join/#uclibc blindvt_ (n=bf@62.47.159.19)
08:38.01*** join/#uclibc smithj_ (n=smithj@gentoo/developer/smithj)
08:43.32SpanKYhttp://uclibc.org:8010/
08:43.36SpanKYslowly getting more online ;)
09:32.14CIA-1003aldot * r17903 10buildroot/package/Config.in: - busybox provides gzip
09:34.13CIA-1003aldot * r17904 10buildroot/toolchain/dependencies/dependencies.sh: - mention the package that usually provides makeinfo
10:10.02*** join/#uclibc alex_ (i=alex@dnb.nu)
12:06.16alex_hmm.. buildroot page says to come here but topic says go to #elinux or #edev :)
12:16.42blindvt`alex_, depends on the question, really
12:18.41alex_toolchain related in here and package related in #e*? :)
12:19.17blindvt`alex_, for current, non "external" toolchains, i may be able to help
12:20.01blindvt`anyone who uses an external toolchain should go to bug sjhill or the guy mentioned in svn log -r17800
12:20.01alex_ok, but.. i don't have a question :)
12:20.18blindvt`alex_, even better ;)
12:20.45alex_i'm haxxin some in the target/iso9660/iso9660.mk atm :)
12:21.03alex_gonna add an option like the customize package
12:21.15alex_atleast, that's my plan :)
12:23.19blindvt`alex_, i don't use iso9660 and ignore the customize package as well as that local.mk approach ;)
12:26.23blindvt`and that external toolchain thing is annoying me to no end
12:29.03alex_the commit message annoyed me :)
12:29.59alex_"Support building using an external toolchain. Questions to the mailing list and all other comments to <biteme@devnull.com>."
12:31.08alex_but i guess it's gonna be pretty sweet once it's sorted out
12:31.26blindvt`i couldn't care less
12:31.39alex_not that i'll ever use it
12:32.20alex_blindvt`: do you have commit access?
12:34.22blindvt`i'll be off for 20 days starting monday, btw, vapier. So me ignoring stuff may not be 100% deliberate
12:34.31blindvt`alex_, why do you ask?
12:34.36alex_just curious
12:34.45blindvt`alex_, i do
12:39.12blindvt`that slattach proposal must be a joke. A bad one at it, i should add
12:41.18alex_i sent a few version bumps to the list a few days ago btw.. are you guys not interested in that stuff or does it just take time to test and commit?
12:43.23*** join/#uclibc sjhill (n=sjhill@real.realitydiluted.com)
12:53.22blindvt`alex_, i'm swamped with other stuff, sorry.
12:53.50blindvt`alex_, better put them into bugs.uclibc.org so i have a chance to find them when i return
12:56.39blindvt`alex_, what bumps are you referring to, exactly?
13:01.07CIA-1003aldot * r17905 10buildroot/package/dhcp/dhcp.mk:
13:01.07CIA-10- provide -source targets for the 3 parts of the split dhcp.
13:01.07CIA-10<PROTECTED>
13:05.08alex_blindvt`: bash and genext2fs
13:05.16alex_genext2fs was bumped i think
13:11.05CIA-1003aldot * r17906 10buildroot/package/bash/ (27 files): - bump to bash 3.2. Thanks to Alexander Rigbo
13:11.39blindvt`alex_, i'm using genext2fs myself, so rather want to try it out first. Please put it into the bug-tracker so i don't forget about it. TIA
13:13.30alex_allright..
13:15.38alex_so.. you're aldot?
13:15.57blindvt`yes. And you're xride, IIRC?
13:16.13blindvt`ah, no. sorry
13:19.56alex_genext2fs bump patch in mantis
13:20.27alex_1225
13:21.32alex_how nice that the patch became about 300kb just because it removes a big patch :|
13:27.08alex_mmm, friday afternoon.
14:15.52*** join/#uclibc elliotf__ (n=elliotf@adsl-71-140-174-98.dsl.pltn13.pacbell.net)
14:16.35*** join/#uclibc ambroseL (n=bjb@router.fidus.ca)
14:30.43*** join/#uclibc wrobbie (n=rob@cm74.kappa84.maxonline.com.sg)
14:32.24CIA-1003aldot * r17907 10buildroot/ (11 files in 8 dirs): - add skeleton to use busybox and mdev for a rather small skeleton
15:03.11*** join/#uclibc landley (n=landley@c-71-199-114-26.hsd1.pa.comcast.net)
15:04.31landleyOk, I built an arm version of ulibc, and now I'm trying to build ldd and readelf and such to use in a cross-compiler.
15:04.44landleyAnd it wants to link against an x86 version of uClibc, which I didn't build.
15:04.53landleyAny way to tell it to link against the host libc?
15:04.58landleyOther than hacking the makefile?
15:12.17*** join/#uclibc blindvt__ (n=bf@M994P004.adsl.highway.telekom.at)
15:19.51CIA-1003aldot * r17908 10buildroot/package/busybox/busybox.mdev-just-read-9-bytes.patch: - just reading the first 9 bytes for the maj:min ought to be enough (TM)
15:21.15landleyaldot: so we went to larger major/minors, and you want to make sure that a system that actually has 'em won't work?
15:21.53landleyIf you're going to hardcode a limit, make it 16 please.
15:22.13blindvt`exactly.
15:22.42blindvt`landley, i don't use LFS, just -boot c and have one disk, fwiw
15:22.56landleyI missed...  What?
15:23.03blindvt`nothing
15:23.05landley(I feel like I"m coming in halfway through a conversation...)
15:23.20landleyblindvt: do you have enough memory on your system to run qemu?
15:23.24landleyIt's a marvelous thing, qemu. :)
15:23.41landley(Actually I've booted systems under qemu with -m 32...)
15:23.46blindvt`landley, yes, i have. -m 6 helps ;)
15:24.26landleyLFS = large file support or Linux From Scratch?
15:24.33landleyMy first guess was #2.
15:24.43landleyI now see -boot c as a qemu argument, before I was thinking "bootloader?"
15:25.10blindvt`largefile
15:25.15blindvt`:)
15:29.15landleyAh.
15:29.37landleyI'm programming with 64 bit systems in mind, so I just assume large file.
15:30.02landley(Although in some places I'm lazy and go "look, a long will be 64 bits anywhere people actually care about feeding in a number larger than 4 billion".
15:30.16landleyWhich I realize isn't _quite_ the case, but in things like command line index parsing...
15:31.17blindvt`landley, btw.. may i ask you to glance at this inittab and tell me why busybox's init doesn't seem to get a working dev entry to proper do work? http://busybox.net/cgi-bin/viewcvs.cgi/trunk/buildroot/target/generic/target_busybox_skeleton/etc/inittab
15:31.30landleyThe way toybox's command line option parsing works is there's a global structure containing fields in a known order, so there's none of that varargs stuff.
15:31.54blindvt`landley, mdev is called and creates the nodes, but init doesn't seem to work nonetheless :/
15:32.04landleybecause the nodes are created too late.
15:32.07landleyOld problem.
15:32.23landleyWe open the file handles while parsing the inittab, so we can save the filehandle instead of the string.
15:32.33landleyIf you create the nodes _after_ parsing the inittab, it's too late.
15:32.40blindvt`landley, the initial /dev/ contains console, not using mdev (i.e. not remounting /dev/ to ram) works just fine
15:33.05landleyHmmm...
15:33.29blindvt`landley, resp. just booting with /dev/console and letting mdev populate the rest work, but not mounting a ramfs/tmpfs over /dev while init is already running
15:34.08landleyblindvt: clarify, if your initial /dev contains /dev/console, and you don't mount anything on /dev, it works?
15:34.11landley(Even if you use mdev?)
15:34.18landleyBut if you mount a tmpfs on /dev, it stops working?
15:34.19blindvt`puzzles me a bit
15:34.26blindvt`exactly.
15:34.31landleySounds weird, overmounting shouldn't screw anything up with existing filehandles.
15:34.35blindvt`let me try one again:
15:34.48landleyIt would have to be trying to open something new in the window between the mount and mdev running.
15:35.05blindvt`initially i have /dev/console, then, via inittab run mdev -s after / is remounted rw. works
15:35.21landley(My mdev didn't try to open anything out of /dev before running, but it's been modified a bit since I last looked at it...)
15:35.35landleyThe snapshot I have to clean up and apply to toybox is from the 1.2 timeframe...
15:35.42blindvt`initially i have /dev/console, then, via inittab mount tmpfs on /dev, run mdev -s . fails
15:36.23landleyblindvt: because you told it to open /dev/null to associate a thingy with the new device, except it should have that filehandle cached?
15:36.32landley(Unless they fixed that to store the string since I last looked at it.)
15:36.51*** join/#uclibc JockeHome (n=JockeHom@84-217-83-96.tn.glocalnet.net)
15:36.53blindvt`landley, i already looked if any change could have broken it, but didn't see anything significant that was changed since your version
15:37.07landleyblindvt: by the way, trying to do a shell script within inittab is ugly and evil.
15:37.12landleyJust do a shell script already.
15:37.26landleyThe order the lines are executed in is not guaranteed, and has already reversed once (in the 1.1 timeframe, I believe.)
15:37.43landleyI suspect mdev is working fine.
15:37.52landleyAfterwards, is /dev populated?
15:38.01landleyBy the way, what's the "failed" symptom here?
15:38.06blindvt`yea, i think it works fine but somehow init get's it wrong
15:38.35blindvt`"failed" in that rcS is run but i can't access the getty
15:38.37landleyinit is sort of evil...
15:39.32landleyblindvt: I thought sysinit lines were run in _reverse_ order in our current init.  Did that get switched again?
15:39.42landley(It's creating a linked list the "easy" way.)
15:39.53landleyAnd there is NO SPEC for this sort of thing.
15:40.02landleyI've looked.
15:40.43landleyCould you confirm that the mount is run before mdev, and mdev run before your rcS?
15:40.43landleyAnd why isn't the mdev thing _in_ your rcS?
15:42.09landleyFinishing up the earlier thought: I already taught toybox to parse integers when I tell it an option is type # instead of type :, and now I'm teaching it about k/m/g/t suffixes.
15:42.37landleyI figure that "head -n 4k" being understood isn't actually a _downside_...
15:42.58landleyAnd it saves me a lot of effort for things like dd.
15:46.26blindvt`ah, the nice k/m/g/t stuff. like:
15:46.28blindvt`<PROTECTED>
15:46.28blindvt`<PROTECTED>
15:46.28blindvt`<PROTECTED>
15:46.28blindvt`<PROTECTED>
15:46.29blindvt`<PROTECTED>
15:47.16blindvt`where this refers to "EC 60027-2, Second edition, 2000-11" for your amusement ;)
15:49.48blindvt`where that metric_t is a dirty
15:49.50blindvt`<PROTECTED>
15:49.50blindvt`<PROTECTED>
15:49.51blindvt`<PROTECTED>
15:49.51blindvt`<PROTECTED>
15:49.51blindvt`<PROTECTED>
15:49.51blindvt`<PROTECTED>
15:49.53blindvt`<PROTECTED>
15:49.55blindvt`<PROTECTED>
15:49.57blindvt`<PROTECTED>
15:49.59blindvt`<PROTECTED>
15:50.01blindvt`<PROTECTED>
15:50.03blindvt`<PROTECTED>
15:50.47landleyblindvt: I will never support kibibytes.  Ever.
15:50.50landleyIt's a deeply stupid word.
15:50.54landleyAnd I'm not going there.
15:51.30landleyA kilobyte is 1<<10
15:51.33landleymegabyte 2<<20
15:51.41landleyer, 1<<20
15:51.46landleygigabyte 1<<30
15:52.09landleyAnd terabyte can't be represented in "unsigned int" even on a 64 bit platform, due to LP64.
15:52.20landleyOf course I'm using longs for option parsing. :)
15:52.34landley(Guaranteed to be the same size as a pointer, so my option parsing an work on type independent slots in the structure...)
15:53.42blindvt`i knew you'd hate it :P
15:53.47landleyLooks like exabytes is all I'll ever have to care about, option-parsing-wise.
15:53.53landleyI'm on record as previously hating it.
15:54.07landley(This is one of the long dragged out arguments I had with Eric Raymond, who bowed to the standard.)
15:54.12landleyDespite the name being STUPID.
15:54.29landleyAnyway, exa is 1<<60 and that's the biggest uint64_t can store.
15:55.14landleyso roughly 1<<((index("kmgtpe",letter)+1)*10)
15:55.53landleyso roughly 1<<((index("kmgtpe",tolower(letter))+1)*10)
15:56.03blindvt`except that there is no "index()" in my world, but ok
15:57.09landleyc="kmgtpe"; x=index("kmgtpe",tolower(letter)); if (x) res=1<<((index("kmgtpe"-c,tolower(letter))+1)*10)
15:57.11landleyish
16:01.37landleyHeh, ok, what does it mean to append a prefix to an octal or hex number? :)
16:02.01landley(Is understanding "head -n 070" a bad thing? :)
16:02.19landleyhead -n 0x7Fk has got to be just plain confusing, but really easy to program support for...
16:02.43landleyFeed 0 to strtol's base field (autodetect, defauting to 10), then parse suffixes as normally...
16:03.22blindvt`populating a tmpfs /dev via rcS work fine, as does doing it manually from a shell. Looking at init..
16:03.44landleyblindvt: look into the order in which sysinit values are executed.
16:03.59landleyIt really was doing 'em in reverse order last I checked, which violates no spec I'm aware of.
16:04.10landleyOrder of these suckers within a class has never been guaranteed.
16:04.15landleyOnly ordering between classes.
16:45.24*** join/#uclibc sjhill (n=sjhill@real.realitydiluted.com)
17:17.09CIA-1003aldot * r17909 10busybox/init/init.c: - whitespace cleanup and add a possible shrinkage suggestion
17:41.31daliasbtw landley
17:42.09dalias1<<((index(" kmgtpe",tolower(letter)))*10) might be a byte or two smaller than your code
17:42.21daliasif you can ensure that letter isn't space..which i guess you can't, but..
17:42.27dalias1<<((index("0kmgtpe",tolower(letter)))*10) should work
17:48.57landleydalias: if the compiler's smart enough to use inc for the +1 it should only be one byte, which you add to the string anyway.
17:50.24daliaswhat about 1024<<((index("kmgtpe",tolower(letter)))*10)
17:50.38landleydalias: that's an improvement, yes.
17:51.18landleyAnd "my code" has wandered rather far away from my doodle above.
17:51.35dalias(if the compiler were smart it would use 2 bytes to load 1 and 5 bytes to load 1024 - xor,inc vs mov immed. but the compiler isn't smart :)
17:52.38landleydalias: this is not my problem.
17:52.43dalias*nod*
17:52.57landleyAll projects under FSF maintainership bloat to a stop and stall.
17:53.06landleyIf they're interesting, they then fork and somebody else throws out most of the crap.
17:53.19landleyI can wait for gcc to fork away from the FSF again.  Unlikely to take more than about 5 years.
17:53.38landleySo predicting what future compilers may or may not do is something I try not to get too deep into.
17:53.42daliaswell in the case of gcc i blame the cygnus ppl for bloating it to hell
17:53.47landley(Although "inc" has been a one byte instruction since the PDP-11 days.)
17:54.00landleydalias: I don't.
17:54.09daliasgcc 2.7.2.3 wasn't badly bloated
17:54.16landleydalias: I'm not going there right now.
17:54.19landleybusy.
17:54.20daliasok
18:02.51CIA-1003jocke * r17910 10uClibc/ldso/ldso/dl-elf.c:
18:02.51CIA-10Fix dlopen for static apps.
18:02.51CIA-10From Carmelo Amoroso.
18:02.54*** join/#uclibc warly_ (n=warly@ASt-Lambert-151-1-14-151.w82-120.abo.wanadoo.fr)
18:03.21*** join/#uclibc Ionic` (i=ionic-ms@ionic.de)
18:04.03Ionic`Hey, what to do if I'm getting "stage1/libgcc_s.so: undefined reference to `dl_iterate_phdr'" when bootstrapping GCC with uClibc 0.2.27? :)
18:04.54Ionic`I read something about adding "-D_GNU_SOURCE" to CFLAGS, will that do the job?
18:11.49CIA-1003aldot * r17911 10buildroot/package/l2tp/ (l2tp.mk l2tpd): - add runlevel script
18:19.21landleyuClibc 0.2.27???
18:20.48landleyAs for the dl_iterate_phdr thing, that was fixed ages ago.
18:20.55landleyIt's probably in 0.2.28.
18:21.03landleyBy which I assume you mean 0.9.28...
18:22.47Ionic`Eh sorry, I mean 0.9.27 ofc
18:32.22CIA-1003aldot * r17912 10buildroot/package/mtd/mtd.mk: - fix build for the host
18:33.27blindvt`0.9.28.1, even
18:44.01landleyOr the original proposed-by-maintainer ship date of 0.9.29 which was something like 9 months ago at this point...
18:45.39Ionic`Uhm well, is there any working solutions without recompiling uClibc?
18:51.21landleyIonic: not that I know of.  You're trying to use a current buildroot with an old uClibc, I take it?
18:52.24Ionic`landley: hm in fact... no. I'm just trying to compile GCC-3.4.4 :)
19:05.39JockeHomeIonic`: Just add an empty dl_iterate_phdr to gcc. I don't think gcc will use the function
19:07.07Ionic`You mean somewhere in the libiberty-Source?
19:07.18Ionic`Or libgcc even
19:07.56JockeHomewherever it is needed, can't remeber where that is
19:08.50Ionic`Hm I'll look into some Gentoo-patches
19:09.39JockeHomeor upgrade to .28 :)
19:11.05Ionic`JockeHome: I'd like to, but since the two versions are not binary compatible...
19:11.05JockeHomeI see
19:11.05JockeHomewell, you could add it to uClibc as well.
19:11.17JockeHomelook in ldso/ldso/dl-elf.c
19:11.46Ionic`Mh it's just a little bit more complicated since I'd have to make my own new OpenWrt image for this and so on
19:14.05JockeHomeOh, well. It won't get any easier than that
19:15.09Ionic`Hm you know, the GCC i built in one Gentoo chroot is working and didn't through any error
19:40.37JockeHomeIonic`: because Gentoo has patches to fix this, great system :)
19:51.30Ionic`JockeHome: hehe...
19:53.23Ionic`JockeHome: though I cannot find any patches relating uClibc... weird
19:54.21Ionic`Maybe GCC
19:55.46Ionic`Neither, weird
20:03.12*** join/#uclibc tchan1 (n=tchan@c-24-13-84-219.hsd1.il.comcast.net)
20:16.26CIA-1003jacmet * r17913 10buildroot/package/ (Config.in iperf/ iperf/Config.in iperf/iperf.mk): iperf package. Closes #0001224
21:08.56*** join/#uclibc ambroseL (n=bjb@router.fidus.ca)
21:34.36CIA-1003vapier * r17914 10uClibc/test/dlopen/dltest.c: cleanup a little
21:35.24CIA-1003vapier * r17915 10uClibc/test/dlopen/ (. Makefile dlstatic.c libstatic.c): make sure static variables are re-initialized everytime
23:12.28*** join/#uclibc blindvt_ (n=bf@62.47.156.164)
23:30.40*** join/#uclibc blindvt_ (n=bf@62.47.157.235)

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.