04:35.37 | *** join/#uclibc bug1 (~bug1@c211-28-122-16.sunsh3.vic.optusnet.com.au) |
04:36.07 | bug1 | Compiling busybox statically i get a messgae; Using 'getnetbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking |
04:36.14 | bug1 | (against glibc) |
04:36.57 | bug1 | weird |
04:37.15 | bug1 | the whole point of compiling statically is so you dont need the shared libraries |
04:40.21 | bug1 | maybe we should give up the static busybox deb |
04:41.41 | bug1 | bring it back when we can compile statically against uclibc |
04:56.26 | andersee | glibc is kindof stupid that way. Wants all the nss crap |
04:56.57 | andersee | it dlopens them, so it should otherwise work |
06:02.12 | andersee | help ibot |
06:02.21 | andersee | ~ibot help |
06:04.53 | bug1 | so if the nss stuff is missing some functions will fail |
06:06.47 | andersee | bug1: glibc has an /etc/nsswitch.conf file that specifies the nss libraries that are dlopened to do various things |
06:07.31 | andersee | bug1: the default /etc/nsswitch.conf file specifies the get*byname as accessed via nss_files |
06:08.30 | andersee | bug1: We have generally tried in busybox to add sane fallback values, so the right thing happens even when glibc nss depending apis fail |
06:09.07 | bug1 | andersee: fair enough, i will ignore it then |
06:10.08 | andersee | libbb/inet_common.c is the only spot where getnetbyname is used |
06:10.56 | andersee | So INET_resolve() may fail if nss_files goes missing. Not the end of the world... |
06:15.10 | bug1 | andersee: also 'endgrent' in libbb/change_identity, 'gethostbyname' in udhcp, 'getservbyname' in rdate |
06:15.48 | bug1 | same deal |
06:16.49 | andersee | For the static build, CONFIG_USE_BB_PWD_GRP and CONFIG_USE_BB_SHADOW should be enabled, so endgrent shouldn't be a problem |
06:17.06 | andersee | just the getfoobyname funcs |
06:17.28 | andersee | I suppose I could port the lot over from uClibc, but ugh... |
06:18.41 | bug1 | seems like the problem should be fixed in glibc to me |
06:19.34 | andersee | They do have an --enable-static-nss gcc compile option |
06:20.13 | bug1 | ah ok, so if glibc was compiled with that it would be able to compile truely static binaries |
06:20.15 | andersee | If there were used with the glibc packages, presumably ststic busybox wouldn't have a problem |
06:21.07 | andersee | Though it would be worth a test run to check that theory |
06:37.59 | *** join/#uclibc tristate (~tristate@p50869AC8.dip.t-dialin.net) |
06:52.10 | *** part/#uclibc bug1 (~bug1@c211-28-122-16.sunsh3.vic.optusnet.com.au) |
06:53.18 | *** join/#uclibc tahorg (~loic@perax.net1.nerim.net) |
08:36.20 | *** join/#uclibc kergoth_ (~kergoth@dsl081-228-056.chi1.dsl.speakeasy.net) |
09:41.37 | *** join/#uclibc tristate (~tristate@pD9E18823.dip.t-dialin.net) |
10:38.56 | *** join/#uclibc ChanServ (ChanServ@services.) [NETSPLIT VICTIM] |
10:38.56 | *** join/#uclibc kergoth_ (~kergoth@dsl081-228-056.chi1.dsl.speakeasy.net) [NETSPLIT VICTIM] |
10:38.56 | *** mode/#uclibc [+o ChanServ] by niven.freenode.net |
10:39.09 | *** join/#uclibc tahorg (~loic@perax.net1.nerim.net) [NETSPLIT VICTIM] |
10:39.09 | *** join/#uclibc mjn3-away (~mjn3@208.180.54.65) [NETSPLIT VICTIM] |
10:39.09 | *** join/#uclibc waldi (~waldi@bblank.thinkmo.de) [NETSPLIT VICTIM] |
11:19.20 | *** join/#uclibc tristate (~tristate@pD9E18823.dip.t-dialin.net) |
12:41.52 | *** join/#uclibc sambo (~samuel@smartdatapc1.epfl.ch) |
13:32.23 | *** join/#uclibc ChanServ (ChanServ@services.) [NETSPLIT VICTIM] |
13:32.23 | *** join/#uclibc tristate (~tristate@pD9E18823.dip.t-dialin.net) [NETSPLIT VICTIM] |
13:32.23 | *** join/#uclibc kergoth_ (~kergoth@dsl081-228-056.chi1.dsl.speakeasy.net) [NETSPLIT VICTIM] |
13:32.23 | *** mode/#uclibc [+o ChanServ] by niven.freenode.net |
14:37.26 | *** topic/#uclibc by andersee-sleep -> Discussion of uClibc, busybox, tinylogin, and related stuff | 1 August -- mjn3 checked in a massive update to the stdio, wchar, and locale code | 19 August -- andersee just fixed the "dlopen()'ing libraries that depend on libraries" bug |
16:40.42 | *** join/#uclibc andersee-sleep (~andersee@codepoet.org) |
22:04.19 | *** join/#uclibc TimRiker (~timr@proxyle02.ext.ti.com) |
22:05.03 | *** part/#uclibc TimRiker (~timr@proxyle02.ext.ti.com) |
22:35.06 | *** join/#uclibc tristate (~tristate@pD9E18823.dip.t-dialin.net) |