This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
dynamic library issue
- From: "Bridge Wu" <mingqiao dot wu at gmail dot com>
- To: libc-ports at sourceware dot org
- Date: Tue, 7 Aug 2007 13:16:58 +0800
- Subject: dynamic library issue
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=XgQExmlkh5RxGBlh/RsOLmK16WQGCTELKslMdlyPNM7kaAuqFrNjqUu1OG81bD5YqYvYRR3qXA5hZNjvSEbW3CEUF33pD2sAiCoiHrPKxarw82mCQbIhq1mfGiaSMv/va+nL02IR3nZCW962LHw1XK0XvQWRLgJqqexRol1dU9k=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=VmsloZHV3L5KI/n/sl/0sK/LG4fx8Jwuc2L/GFweaEOtvwhYlkzLfWvQBGHJmgFgqKxZ6D9ekLJp1pL7CzZeTPUjv8MfxXugUe8FCAlR7cdVFQnzt8ibswCZZ4asC1UqC42yh2EAQeSMTT67KPUHmBLSkXI46hDKPqpDnhWlT28=
Hello,
I have a problem with the new arm tool chain (gcc-4.1.1, glibc-2.5).
The old tool chain (gcc-3.4.3, glibc-2.3.2) does not have the problem.
The problem is if I use the tool chain to build a shared library, our
application will get wrong result. If the library is built statically,
the application runs well.
The application and library is rather complicated. I'd like not post
them here. I just wish to know if anybody happen to encounter similar
problem and have some experience to share.
I investigated the issue from several aspects.
1. parameter passing wrongly
2. 64-bit data type not aligned well
3. out of boundary
4. r12 not reserved in far calling in assembler code
I'm trying to separate the big library into small ones to narrow down
the issue. Simultaneously, does anybody have any hints or comments?
--
best regards,
Bridge