[BUG] error in global variables strong aliasing

Peter S. Mazinger ps.m at gmx.net
Mon Mar 27 14:49:26 UTC 2006


On Mon, 27 Mar 2006, Peter S. Mazinger wrote:

> On Fri, 24 Mar 2006, Amir Shalem wrote:
> 
> > now,
> > there's strong aliases between __environ and environ in uClibc code
> > uClibc uses __environ, and busybox ash shell uses environ
> > but __environ and environ when busybox program is running (when 
> > dynamically linked against uClibc)
> > have different addresses which invalidates the environ variable.
> > 
> > amir.
> > 
> 
> Your test case works on x86 (native uClibc, gentoo-embedded). Could this 
> be a cross-compiled/buildroot issue?
> 
> I don't have yet uClibc-svn working on arm/ppc/mipsel natively to test it 
> there, could someone test this natively on some non-x86 arch?
> (The test apps should be compiled/linked natively on uClibc please)

Tested on ppc native as of uClibc-20060324, works fine as well 
(binutils-2.16.1/gcc-3.4.5)

Peter

-- 
Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2




More information about the uClibc mailing list