irclog2html for #uclibc on 20060228

00:08.25CIA-1003sjhill 07uClibc-nptl * r14320 10/libc/misc/ (94 files in 8 dirs): Merge from trunk.
00:11.08CIA-1003vapier * r14321 10uClibc/test/misc/ (bug-glob1.c bug-glob2.c tst-gnuglob.c): grab some tests from glibc
00:12.01CIA-1003vapier * r14322 10uClibc/test/misc/Makefile: pass an option to bug-glob1
00:17.37CIA-1003vapier * r14323 10uClibc/test/string/tester.c: add some tests for strlcat and strlcpy based upon strncat and strncpy respectively
00:28.21*** join/#uclibc Newsome (n=sorenson@d53-64-13-210.nap.wideopenwest.com)
00:28.57CIA-1003sjhill 07uClibc-nptl * r14324 10/libc/misc/ (5 files in 2 dirs): Merge from trunk.
00:36.53CIA-1003vapier * r14325 10uClibc/test/misc/ (popen.c time.c): grab some tests from dalias
00:39.45CIA-1003vapier * r14326 10uClibc/test/misc/fdopen.c: check more return values
00:40.30CIA-1003vapier * r14327 10uClibc/libpthread/linuxthreads.old/sysdeps/ia64/pt-machine.h: need types.h for size_t as pointed out in buildlog
00:41.13CIA-1003vapier * r14328 10uClibc/test/Test.mak: fail if test.c is found so i stop screwing myself up
00:43.06daliascool
00:43.17SpanKYyour time.c still has warnings
00:43.25SpanKYbecause you use %0.2d instead of %.2d
00:43.51dalias0.2 is what i want
00:43.54dalias0 means zero-pad
00:44.12SpanKYgcc says that's wrong
00:44.21daliasgcc is stupid, read susv3 or iso c99
00:44.40SpanKYi'll just remove the 0 from uClibc test :p
00:44.47daliasmaybe use %02
00:44.50daliasthat will work too
00:45.04SpanKYyour popen.c test also warns
00:45.06daliasand dont forget to file a gcc bug report, but remember:
00:45.07SpanKYpopen.c:44: warning: too many arguments for format
00:45.36daliasJust because code is syntactically "valid" GNU C doesn't mean gcc can
00:45.36daliasalways compile it.
00:45.36dalias<PROTECTED>
00:45.46daliasspanky, yes, that's intentional
00:46.22dalias(that was the best bug-report response ever :)))
00:48.55SpanKYyour "0.2" is wrong i think
00:49.00SpanKYit should be "02"
00:49.17SpanKY. is the radix char
00:49.32SpanKYerr lemme keep reading :)
00:51.05SpanKYFor d, i, o, u, x, and X conversion specifiers, if a precision is specified, the '0' flag is ignored.
00:51.22SpanKYso yeah, the gcc warning is valid :P
00:52.11CIA-1003vapier * r14329 10uClibc/test/misc/: ignore new tests
00:54.18CIA-1003sjhill 07uClibc-nptl * r14330 10/libc/sysdeps/linux/ (256 files in 42 dirs): Merge from trunk.
00:54.55CIA-1003sjhill 07uClibc-nptl * r14331 10/libc/sysdeps/linux/vax/: Copy from trunk.
01:04.19CIA-1003vapier * r14332 10uClibc/ (Makerules extra/scripts/defs.awk): add support for glibc initfini.c
01:10.58daliasspanky, 0.2 means use 0-padding and use field precision of 2
01:11.06dalias02 means use 0-padding and field-width of 2
01:11.13daliaswidth and precision are not the same
01:11.32dalias%02d -1 will print -1
01:11.36dalias%0.2d -1 will print -01
01:44.46SpanKYdalias: the 0 is ignored when using .
01:44.51SpanKYso what you want is %.2d
01:50.53*** join/#uclibc leoncamel (n=leoncame@219.238.107.98)
01:53.13daliasno, %.2d will not zero-pad it
01:53.19daliasit will pad with spaces
01:53.53daliasoops, misread
01:53.57daliasok i'll have to fix that
01:54.37daliashow annoying then, there's no way to get certain nice formats
01:57.11SpanKYi was going by testing
01:57.15SpanKYand %.2d padded ;)
01:58.25dalias%02d is what i wanted, then
01:59.39daliasfixed in svn
01:59.43daliasthanks for pointing it out
01:59.49daliasdunno how i missed that
02:00.52daliasoh, does %.2d zero-pad? maybe it does... :)
02:00.53SpanKYbecause you didnt use -Wall ;)
02:00.57daliasyeah i think so
02:01.07daliasi added -Wall but -Wno-format too :)
02:01.09SpanKY$ cat test.c
02:01.09SpanKY#include <stdio.h>
02:01.09SpanKYint main(){printf("%.2d %02d %.2d\n",1,2,3); return 0;}
02:01.13SpanKY$ gcc test.c && ./a.out
02:01.13SpanKY01 02 03
02:01.16daliasbecause some of the format errors are bogus
02:01.24daliaslike
02:01.25dalias[19:46] <SpanKY> popen.c:44: warning: too many arguments for format
02:01.36SpanKYi would call that bogus
02:01.39daliasthis is because the macro always passes all the args, but the format string might not want to use them all
02:01.54SpanKYif you wrote the macro properly, it wouldnt be an issue :p
02:02.01daliasthe macro is written properly
02:02.04SpanKYerr i wouldnt call that bogus
02:02.15daliasit would be silly to make 2 different macros for the case of whether i want to print both or just one value
02:02.31CIA-1003vapier * r14333 10uClibc/libc/sysdeps/linux/alpha/crt1.S: sync with glibc
02:03.04CIA-1003vapier * r14334 10uClibc/libc/sysdeps/linux/alpha/ (Makefile.arch sigprocmask.c): grab glibc sigprocmask since common linux one doesnt work for alpha
02:04.18CIA-1003vapier * r14335 10uClibc/TODO: note signal handling fubar issues on alpha
02:06.30*** join/#uclibc roltek (n=tbombaci@adsl-68-248-234-120.dsl.milwwi.ameritech.net)
02:07.24*** part/#uclibc roltek (n=tbombaci@adsl-68-248-234-120.dsl.milwwi.ameritech.net)
02:08.26*** join/#uclibc roltek (n=tbombaci@adsl-68-248-234-120.dsl.milwwi.ameritech.net)
02:09.25*** part/#uclibc roltek (n=tbombaci@adsl-68-248-234-120.dsl.milwwi.ameritech.net)
02:13.48CIA-1003vapier * r14336 10uClibc/libc/sysdeps/linux/alpha/bits/uClibc_arch_features.h: enable 6 arg version of mmap
02:22.47daliashey spanky can you help me with a compliance issue
02:22.59daliaswhat should fnmatch return when given an invalid pattern?
02:23.07daliassusv3 says:
02:23.07dalias<PROTECTED>
02:23.10dalias<PROTECTED>
02:23.28daliasbut it never explains what constitutes "an error"
02:24.00SpanKYan invalid pattern perhaps ?
02:24.40daliasimo an invalid pattern is an error
02:24.58daliasbut maybe it was intended to mean something stupid like a malloc failure (if some idiot implemented fnmatch using malloc..)
02:26.10daliasglibc ignores invalid patterns and sometimes even considers them as matches :)
02:26.49daliasin fact their test code has four invalid patterns, 2 of which are expected to match :P
02:27.55SpanKYwell that's an implementation detail
02:28.22SpanKYpersonally i'd return -1 and set errno accordingly
02:28.40daliasis there a good errno for invalid pattern?
02:28.44daliasmaybe EINVAL :)
02:29.41daliasimo setting errno is unneeded tho. sus says nothing about setting errno, and it incurs a bit of overhead (and code size) due to having to make a function call to access errno
02:30.09SpanKYmaybe, but that's how i'd do it
02:30.33SpanKYeasy for people do do like: ret = fnmatch(...); if (ret != 0 && ret != NOMATCH) perror("fnmatch failed");
02:37.14CIA-1003sjhill 07uClibc-nptl * r14337 10/libc/sysdeps/linux/common/arch_prctl.c: Copy from trunk.
02:38.19CIA-1003sjhill 07uClibc-nptl * r14338 10/libc/sysdeps/linux/common/bits/uClibc_arch_features.h: Copy from trunk.
02:39.05CIA-1003sjhill 07uClibc-nptl * r14339 10/libc/sysdeps/linux/common/pselect.c: Copy from trunk.
02:39.38CIA-1003sjhill 07uClibc-nptl * r14340 10/libc/sysdeps/linux/common/sys/prctl.h: Copy from trunk.
02:40.48CIA-1003sjhill 07uClibc-nptl * r14341 10/libc/sysdeps/linux/mips/ (7 files in 2 dirs): Merge from trunk.
02:50.16*** join/#uclibc thraxisp (n=thraxisp@ottawa-hs-209-217-93-237.d-ip.magma.ca)
03:18.40CIA-1003sjhill 07uClibc-nptl * r14342 10/libc/sysdeps/linux/common/ (188 files in 2 dirs): Merge from trunk.
03:40.10ashesi got three more fillings today
03:40.18ashesfive down, four to go
03:53.16CIA-1003landley * r14343 10busybox/networking/ifupdown.c: Cleanup from Glenn McGrath.
04:45.28CIA-1003landley * r14344 10busybox/miscutils/eject.c: Cosmetic cleanup from tito.
04:46.28SpanKYmjn3-work: ping
04:47.09SpanKYmjn3-work: when you get a chance, could you look at this simple patch: http://www.uclibc.org/lists/uclibc/2006-February/014635.html
05:05.39CIA-1003vapier * r14345 10uClibc/extra/scripts/defs.awk: disable __gmon_start__ symbol
05:07.10CIA-1003vapier * r14346 10uClibc/Makerules: touchup how we generate initfini.s
05:26.16CIA-1003landley * r14347 10busybox/Makefile: (log message trimmed)
05:26.16CIA-10defconfig shouldn't enable CONFIG_INSTALL_NO_USR, and while we're at it
05:26.16CIA-10remove residue of old defconfig and tweak "make with no config" to run
05:31.59CIA-1003vapier * r14348 10uClibc/ (3 files in 2 dirs): import rt_sigaction from glibc to fix alpha signal handling issues
05:35.14CIA-1003vapier * r14349 10uClibc/libc/sysdeps/linux/alpha/bits/stat.h: sync with glibc
05:39.25*** part/#uclibc Newsome (n=sorenson@d53-64-13-210.nap.wideopenwest.com)
05:42.17CIA-1003vapier * r14350 10uClibc/libc/sysdeps/linux/alpha/ (bits/ioctls.h bits/kernel_stat.h sys/acct.h): sync with glibc
05:45.03*** join/#uclibc angom_h (n=angom@red-corp-200.38.17.106.telnor.net)
05:46.05CIA-1003vapier * r14351 10uClibc/libc/sysdeps/linux/alpha/bits/setjmp.h: sync with glibc
05:50.44CIA-1003vapier * r14352 10uClibc/libc/sysdeps/linux/alpha/ (clone.S crt1.S rt_sigaction.S sys/regdef.h syscall.S): grab regdef.h from glibc and use that instead of kernel headers regdef.h
05:58.03*** join/#uclibc Jenna (n=cherryRe@209.8.233.194)
05:58.29*** part/#uclibc Jenna (n=cherryRe@209.8.233.194)
06:45.13*** join/#uclibc FireEgl (i=Atlantic@2001:5c0:84dc:0:0:0:0:0)
06:46.50*** join/#uclibc Jenna_zzz (n=cherryRe@209.8.233.97)
06:47.07*** part/#uclibc Jenna_zzz (n=cherryRe@209.8.233.97)
06:47.59CIA-1003vapier * r14353 10uClibc/test/Rules.mak: set dynamic linker if we are building as shared
06:48.09CIA-1003vapier * r14354 10uClibc/test/misc/tst-gnuglob.c: remove mtrace call
06:48.21CIA-1003vapier * r14355 10uClibc/test/misc/Makefile: disable blug-glob1 for now
06:49.30CIA-1003vapier * r14356 10uClibc/test/misc/: ignore popen
07:07.39*** join/#uclibc landley (n=landley@adsl-71-145-143-146.dsl.austtx.sbcglobal.net)
07:09.14CIA-1003psm * r14357 10uClibc/libc/sysdeps/linux/alpha/sigprocmask.c: Provide hidden sigprocmask, remove __x version
07:15.30*** join/#uclibc blindvt (n=bf@M854P025.adsl.highway.telekom.at)
07:16.50CIA-1003psm * r14358 10uClibc/Makefile.in: Remove files not used on target
07:17.00*** join/#uclibc psm (n=mps@host-6.mikroweb.hu)
07:20.58daliaswow busybox grep sucks. it recompiles the regex every line...
07:24.54psmSpanKY: ping
07:28.35psmdalias: mention it on busybox ml or file a bug
07:28.40psmhi
07:49.39daliascrap
07:49.46daliasi found out why grep was segfaulting
07:49.48daliasso stupid of me
07:49.59daliasbefore i implemented regex i had added -Dregex_t=int to CFLAGS
07:50.15daliass/implemented/stole implementation of/ ;)
07:50.17psmhave you done regex? nice
07:50.25psmfrom dietlibc?
07:50.31daliasno, TRE
07:50.43daliasTRE is the only known correct implementation
07:51.05daliasi'm trying to convince the author to let me use the subset needed for posix compliance under lgpl instead of gpl
07:51.23psmwhat is TRE?
07:51.31daliassearch for tre regex
07:52.39psmin which tz are you?
07:52.55daliasus/eastern
07:53.11daliasor if we don't want glibc crap, EST5EDT,M4.1.0,M10.5.0
07:54.32CIA-1003psm * r14359 10uClibc/libc/sysdeps/linux/ (4 files in 4 dirs): Mark __syscall_*sigaction hidden and add guard to the header
07:55.23psmwondered why I see you now ...
07:58.15dalias1.4M    /usr/share/zoneinfo
07:58.28daliasecho 'EST5EDT,M4.1.0,M10.5.0' | wc -c
07:58.28dalias<PROTECTED>
07:58.33daliashmmm....
08:23.29CIA-1003vodz * r14360 10busybox/ (miscutils/eject.c util-linux/setarch.c): more security: don't start shell code from argv
08:28.36daliaslol wtf
08:36.49*** join/#uclibc Jenna (n=cherryRe@209.8.233.97)
08:37.12*** part/#uclibc Jenna (n=cherryRe@209.8.233.97)
09:20.21*** join/#uclibc psaksa (n=pate@ip212-226-134-137.adsl.kpnqwest.fi)
09:30.26*** join/#uclibc Jenna (n=cherryRe@209.8.233.97)
09:30.42*** part/#uclibc Jenna (n=cherryRe@209.8.233.97)
09:55.11*** join/#uclibc Jenna (n=cherryRe@209.8.233.97)
09:56.53*** part/#uclibc Jenna (n=cherryRe@209.8.233.97)
10:10.22CIA-1003vodz * r14361 10busybox/findutils/grep.c: make grep faster (close bug 758), reduce small memory leak in CONFIG_FEATURE_CLEANUP mode
10:15.46CIA-1003vodz * r14362 10busybox/coreutils/ (cal.c printf.c): more busybox's style: close bug 745
10:24.25*** join/#uclibc Jenna (n=cherryRe@nameserv1.http-tunnel.com)
11:35.43*** join/#uclibc El-Lotso (n=EnergonC@60.50.200.92)
11:47.12*** join/#uclibc chmj (n=chmj@196.44.1.98)
11:49.04chmjhi all
11:49.26chmjI have compiled uClibc and installed the devel and runtime libs
11:50.16chmjnow my question is how do I build against it? mind you I want to build gcc/ld, using a gcc/ld that is not linked against uClibc
12:28.24CIA-1003psm * r14363 10uClibc/test/string/tst-strxfrm.c: freelocale() and strxfrm_l() exist only if XLOCALE is enabled
12:29.15psmchmj: use buildroot, that does it for you, else look what it does
12:31.22chmjbuildroot is failing for some reason
12:31.38chmjwhich is why I want technical details
12:34.27psmthe technical details are in buildroot's .mk files ;)
12:34.35psmyou could tell what failed
12:37.33*** join/#uclibc Jenna (n=cherryRe@209.8.233.67)
12:38.55*** part/#uclibc Jenna (n=cherryRe@209.8.233.67)
12:44.38*** join/#uclibc prpplague (n=billybob@72.22.143.178)
13:23.42CIA-1003psm * r14364 10uClibc/libc/misc/fnmatch/fnmatch.c: Cleanup/sync w/ glibc
13:24.30CIA-1003psm * r14365 10uClibc/libc/misc/regex/ (regcomp.c regex_internal.c regex_internal.h regexec.c): Sync w/ glibc
14:45.31*** join/#uclibc Lotso (n=EnergonC@60.48.73.230)
14:51.51psmSpanKY: I have checked why fnmatch tests fail, I had to disable _LIBC, so from lines 316 in fnmatch.c the brackets are not evaluated. We do not have _NL_CURRENT_WORD/NRULES
14:52.30psmomitted checks for ex. [[.blah.]]
14:53.34dalias[[.a.]] should still match the single character a in any implementation, imo..
14:56.04psmfnmatch is a copy of glibc with disabled parts that are not supported in uclibc
14:57.00psmdalias: you added some tests to your libc, coming from?
14:57.41dalias?
14:58.01psmare those new tests, copied tests from ...?
14:58.09daliasi wrote the wcstol ones. the additions to fnmatch were there before but wrong
14:58.50daliasok i gotta go
15:12.10SpanKYpsm: so fnmatch should work no or not ?
15:13.20psmthe test has to fail, the sorting of a,a-umlaut too for ex.
15:14.27psmhavent checked all 95 failures, but the most of them has to fail w/ current fnmatch.c
15:17.01psmI have a glibc-glob that passes tst-glob1
15:18.38psmI have ran a regex test against uClibc too and it fails on REG_EXTENDED
15:20.54SpanKYwell when you get the test to pass, feel free to re-enable
15:21.34psmto make it pass the test, the locales have to be completed
15:21.54psmhow can I make a test run more times w/ different args?
15:23.11SpanKYi hadnt thought of that
15:23.32SpanKYatm you'd have to create a new file and have it just include the other file
15:23.53SpanKYsee misc/dirent64.c
15:24.41psmI wanted to add testregex from at&t
15:44.55*** join/#uclibc Lotso (n=EnergonC@60.50.196.184)
16:13.44*** join/#uclibc vrm (n=vrm@151.55.101-84.rev.gaoland.net)
16:56.52*** join/#uclibc blindvt (n=bf@M942P018.adsl.highway.telekom.at)
16:58.08*** join/#uclibc thraxisp (n=thraxisp@ottgate.precidia.com)
17:58.09*** join/#uclibc sjhill (n=sjhill@eth13.com-link.com)
18:02.24*** join/#uclibc Cowsikan (i=Cowsikan@59.92.137.147)
18:03.05CowsikanHi all, this is cowsikan looking for some help on BusyBox for a DSL Router
18:03.57prpplagueCowsikan: this is mainly a developers channel not an end user channel for busybox
18:04.03prpplagueCowsikan: might try #elinux
18:04.10prpplagueor #handhelds.org
18:04.22sjhilli hear /dev/null is pretty busy too
18:04.28CowsikanGreat, can you please guide me channel for enduser
18:04.42Cowsikani got it thanks
18:04.47prpplaguesjhill: hehe
18:05.27*** part/#uclibc Cowsikan (i=Cowsikan@59.92.137.147)
18:23.27*** join/#uclibc FireEgl (i=Atlantic@Atlantica.US)
18:27.24psmSpanKY: the realloc(,0) test fails if GLIBC_MALLOC is enabled
18:31.20SpanKYyeah i was able to reproduce that ... i'll look at fixing it tonight
18:31.44psmwhat is the time failure?
18:58.26*** join/#uclibc khem (n=khem@gateway-1237.mvista.com)
19:07.48*** join/#uclibc iSteve (n=isteve@82.208.40.141)
20:39.42*** join/#uclibc ccjoe_ (i=clrsrv@www.clearcore.com)
20:40.43*** join/#uclibc carlg (i=clrsrv@www.clearcore.com)
20:44.43*** join/#uclibc anhanguera (n=distch@195.174.1.224)
21:42.22*** join/#uclibc FireEgl (i=Atlantic@2001:5c0:84dc:0:0:0:0:0)
22:18.34daliasi've made a lot of progress on addressing the portability issues in busybox
22:20.04solarportability to outside of gentoo?
22:20.11solarerr. I mean outside of linux
22:20.21daliasportability to outside of linux+glibc
22:20.45dalias(for portability purposes i count uclibc as glibc since it basically duplicates the interface of glibc exactly)
22:21.13solarvirtual/libc even
22:21.26daliaswell there are more libcs
22:21.33daliasand soon to be another hopefully good one
22:21.38solaryeah. But those dont count :)
22:21.58solarwhat type of problem were you encountering?
22:22.13daliasasprintf
22:22.15daliasdprintf
22:22.18daliasstrndup
22:22.34daliasusing internal __-prefixed stuff from glibc headers
22:22.52daliasassuming headers recursively include other headers that they're not supposed to
22:23.18daliasuse of legacy #defines for various limits instead of the posix limits.h defines
22:23.24daliasscandir
22:23.28daliasherror
22:23.43daliasalphasort
22:24.57daliasand using endian.h
22:27.11daliasdoes that answer it? :)
22:57.50*** join/#uclibc blindvt_ (n=bf@M1018P024.adsl.highway.telekom.at)
22:58.16*** join/#uclibc Lotso (n=EnergonC@60.50.196.184)
23:16.52*** join/#uclibc thraxisp (n=thraxisp@ottawa-hs-209-217-93-237.d-ip.magma.ca)
23:22.00SpanKYdalias: your popen.c needs work
23:22.41daliasspanky, can you mention what fails?
23:22.42SpanKYhttp://rafb.net/paste/results/Lrgm4f78.html
23:22.53SpanKYif popen() itself fails, the test segfaults instead of aborting
23:23.18daliasoh :)
23:23.27daliasshould be return err, not exit 1
23:23.37daliasthanks for the note
23:23.51daliasi thought you meant my implementation of popen, not the test :)
23:24.01daliasbut thanks, i'll fix it later
23:24.04daliasheaded out the door right now
23:24.16daliasbtw can you look at my busybox patches?
23:24.29daliasdunno if they're ready for inclusion but i think the idea is hopefully right
23:31.09SpanKYi tried return, it errored on syntax
23:37.24SpanKYnot that my patch is correct anyways
23:46.09CIA-1003vapier * r14366 10uClibc/libc/sysdeps/linux/alpha/rt_sigaction.S: dont need pal.h here
23:47.11*** join/#uclibc rhk (n=rhk@69.216.103.113)
23:47.26SpanKYdalias: thanks though, your popen test showed that alpha's pipe() was broken
23:47.43CIA-1003vapier * r14367 10uClibc/libc/sysdeps/linux/alpha/ (Makefile.arch pipe.S): add pipe from glibc to fix popen test
23:48.12CIA-1003vapier * r14368 10uClibc/libc/sysdeps/linux/alpha/bits/sigcontextinfo.h: sync with glibc

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.