[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: busybox-1.1.2 ash vs. busybox-1.2.2 ash
From: Denis Vlasenko <vda.linux () googlemail ! com>
Date: 2006-12-21 0:26:29
Message-ID: 200612210126.29763.vda.linux () googlemail ! com
[Download RAW message or body]
On Wednesday 20 December 2006 15:21, Bernecker, Herbert wrote:
> Hi list!
>
> I am using a script to run posix-tests. With busybox 1.1.2 this works
> very well,
> but since i use the version 1.2.2 the scripts run not anymore.
> The behavior seems to be different.
>
> Example:
> - script
>
> #! /bin/sh
> BASEDIR=conformance/interfaces
> runtests()
> {
> for directory in `ls -d $1`; do
> echo $directory
> done
> }
> runtests "$BASEDIR/sig*"
>
>
> - output version 1.1.2
> <directory>
> <directory>
> <directory>
> <directory>
> <directory>
> ...
>
> - output version 1.2.2
>
>
> Is this
> - due to any changed config options?
> - a wanted behavior?
> - or magic?
It's because you built static busybox against glibc.
Grab newer one, and pay attention to:
applets.c
#warning Static linking against glibc produces buggy executables
#warning (glibc does not cope well with ld --gc-sections).
#warning See sources.redhat.com/bugzilla/show_bug.cgi?id=3400
#warning Note that glibc is unsuitable for static linking anyway.
#warning If you still want to do it, remove -Wl,--gc-sections
#warning from top-level Makefile and remove this warning.
--
vda
_______________________________________________
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic