From: Anton Vorontsov <cbou@mail.ru>
To: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Cc: linux-arm-kernel@lists.arm.linux.org.uk,
linux-kernel@vger.kernel.org, rpurdie@rpsys.net
Subject: Re: [ARM] Corrupted .got section with 2.6.18 and JFFS2 (solved)
Date: Tue, 14 Nov 2006 00:56:26 +0300 [thread overview]
Message-ID: <20061113215626.GA22675@localhost> (raw)
In-Reply-To: <lywt6cc04g.fsf_-_@ensc-pc.intern.sigma-chemnitz.de>
Hello Richard, Enrico!
On Fri, Nov 03, 2006 at 11:09:35AM +0100, Enrico Scholz wrote:
> [CC lkml; original issue at
> http://article.gmane.org/gmane.linux.ports.arm.kernel/28068]
>
> rpurdie@rpsys.net (Richard Purdie) writes:
>
> >> > I have a problem with JFFS2 filesystem and kernel 2.6.18. When
> >> > starting a program which uses a certain library (libutil.so.1 in
> >> > my case), the .got section of the library can be initialized
> >> > wrongly when the used memory is uninitialized.
> >>
> >> Problem seems to be caused by
> >>
> >> | [PATCH] zlib_inflate: Upgrade library code to a recent version
> >>
> >> (4f3865fb57a04db7cca068fed1c15badc064a302)
> >>
> >> After reverting this (and related patches), things seem to work.
> >>
> >> I don't have an idea yet, which changes in this complex patch are
> >> really responsible....
> >
> > I'm the author of the above change. I just ran your test program
> > on a device (ARM PXA255 with 2.6.19-rc4 kernel, 2.3.5ish glibc,
> > gcc 3.4.4, libraries on jffs2) and I can't reproduce the
> > problem.
>
> I can reproduce it 100% with:
Same here. I can reproduce exactly same problem. And reverting zlib
changes fixes it. I'm testing it on ARM PXA270 + binutils-2.17 +
glibc-2.5 + gcc-4.1.1 (old ABI).
> > Which other related patches did you remove?
>
> For 2.6.18 tests, I reverted only the patches which changed
> lib/zlib_* after 2.6.17:
>
> | 31925c8857ba17c11129b766a980ff7c87780301 [PATCH] Fix ppc32 zImage inflate
> | b762450e84e20a179ee5993b065caaad99a65fbf [PATCH] zlib inflate: fix function definitions
> | 0ecbf4b5fc38479ba29149455d56c11a23b131c0 move acknowledgment for Mark Adler to CREDITS
> | 4f3865fb57a04db7cca068fed1c15badc064a302 [PATCH] zlib_inflate: Upgrade library code to a recent version
Indeed. Reverting these patches fixes all these pesky issues with
jffs2/libutil/openpty.
> Enrico
Thanks,
-- Anton (irc: bd2)
next prev parent reply other threads:[~2006-11-13 20:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <ly1wozcr1d.fsf@ensc-pc.intern.sigma-chemnitz.de>
[not found] ` <ly64dyt7de.fsf@ensc-pc.intern.sigma-chemnitz.de>
[not found] ` <1162497112.12781.51.camel@localhost.localdomain>
2006-11-03 10:09 ` [ARM] Corrupted .got section with 2.6.18 and JFFS2 (solved) Enrico Scholz
2006-11-13 21:56 ` Anton Vorontsov [this message]
2006-11-14 22:15 ` Anton Vorontsov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061113215626.GA22675@localhost \
--to=cbou@mail.ru \
--cc=enrico.scholz@sigma-chemnitz.de \
--cc=linux-arm-kernel@lists.arm.linux.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=rpurdie@rpsys.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox