Matthew Stoltenberg schrieb: > Does anybody use this? > > It appears to broken (even forcibly turning off Werror) > > > Here's my gcc... > $ gcc -v > Using built-in specs. > Target: i486-linux-gnu > Configured with: ../src/configure -v --with-pkgversion='Ubuntu > 4.4.1-4ubuntu9' > --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs > --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr > --enable-shared --enable-multiarch --enable-linker-build-id > --with-system-zlib --libexecdir=/usr/lib --without-included-gettext > --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 > --program-suffix=-4.4 --enable-nls --enable-clocale=gnu > --enable-libstdcxx-debug --enable-objc-gc --enable-targets=all > --disable-werror --with-arch-32=i486 --with-tune=generic > --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu > --target=i486-linux-gnu > Thread model: posix > gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu9) > > > > Here's what I got from current git: > /usr/lib/gcc/i486-linux-gnu/4.4.1/../../../../lib/libselinux.a(seusers.o): > In function `check_group': > /build/buildd/libselinux-2.0.85/src/seusers.c:129: warning: Using > 'getgrouplist' in statically linked applications requires at runtime > the shared libraries from the glibc version used for linking > /build/buildd/libselinux-2.0.85/src/seusers.c:125: warning: Using > 'getgrnam_r' in statically linked applications requires at runtime the > shared libraries from the glibc version used for linking > /usr/lib/gcc/i486-linux-gnu/4.4.1/../../../../lib/libselinux.a(seusers.o): > In function `get_default_gid': > /build/buildd/libselinux-2.0.85/src/seusers.c:104: warning: Using > 'getpwnam_r' in statically linked applications requires at runtime the > shared libraries from the glibc version used for linking > networking/lib.a(nslookup.o): In function `print_host': > /home/mstolten/test/busybox/busybox/networking/nslookup.c:67: warning: > Using 'getaddrinfo' in statically linked applications requires at > runtime the shared libraries from the glibc version used for linking > networking/lib.a(ipcalc.o): In function `ipcalc_main': > /home/mstolten/test/busybox/busybox/networking/ipcalc.c:179: warning: > Using 'gethostbyaddr' in statically linked applications requires at > runtime the shared libraries from the glibc version used for linking > util-linux/lib.a(mount.o): In function `nfsmount': > /home/mstolten/test/busybox/busybox/util-linux/mount.c:1040: warning: > Using 'gethostbyname' in statically linked applications requires at > runtime the shared libraries from the glibc version used for linking > libbb/lib.a(inet_common.o): In function `INET_rresolve': > /home/mstolten/test/busybox/busybox/libbb/inet_common.c:148: warning: > Using 'getnetbyaddr' in statically linked applications requires at > runtime the shared libraries from the glibc version used for linking > libbb/lib.a(inet_common.o): In function `INET_resolve': > /home/mstolten/test/busybox/busybox/libbb/inet_common.c:53: warning: > Using 'getnetbyname' in statically linked applications requires at > runtime the shared libraries from the glibc version used for linking > networking/lib.a(inetd.o): In function `reread_config_file': > /home/mstolten/test/busybox/busybox/networking/inetd.c:946: warning: > Using 'getservbyname' in statically linked applications requires at > runtime the shared libraries from the glibc version used for linking > networking/lib.a(netstat.o): In function `get_sname': > /home/mstolten/test/busybox/busybox/networking/netstat.c:336: warning: > Using 'getservbyport' in statically linked applications requires at > runtime the shared libraries from the glibc version used for linking > networking/lib.a(inetd.o): In function `reread_config_file': > /home/mstolten/test/busybox/busybox/networking/inetd.c:925: warning: > Using 'getrpcbyname' in statically linked applications requires at > runtime the shared libraries from the glibc version used for linking > /usr/lib/gcc/i486-linux-gnu/4.4.1/../../../../lib/libpam.a(pam_dynamic.o): > In function `_pam_dlerror': > (.text+0x13): undefined reference to `dlerror' > /usr/lib/gcc/i486-linux-gnu/4.4.1/../../../../lib/libpam.a(pam_dynamic.o): > In function `_pam_dlclose': > (.text+0x39): undefined reference to `dlclose' > /usr/lib/gcc/i486-linux-gnu/4.4.1/../../../../lib/libpam.a(pam_dynamic.o): > In function `_pam_dlsym': > (.text+0x70): undefined reference to `dlsym' > /usr/lib/gcc/i486-linux-gnu/4.4.1/../../../../lib/libpam.a(pam_dynamic.o): > In function `_pam_dlopen': > (.text+0xa1): undefined reference to `dlopen' > collect2: ld returned 1 exit status > make: *** [busybox_unstripped] Error 1 > > > > Also, is anyone interested in a Wall cleanup so we can actually use > CONFIG_WERROR? > > Warnings like these: > libbb/create_icmp_socket.c:28: warning: format not a string literal > and no format arguments > libbb/create_icmp_socket.c:29: warning: format not a string literal > and no format arguments > annoy the heck out of the OCD side of me! > >
please disable "Build BusyBox as a static binary (no shared libs)" when using glibc. default glibc can not be linked static. re, wh _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
