Thread (1 message) 1 message, 1 author, 2012-07-19

Linux ARM with XZ compression issue

From: marex@denx.de (Marek Vasut)
Date: 2012-07-19 09:13:29

Dear Jim Cromie,

Note, try keeping the CC list please
hi again,

On Wed, Jul 18, 2012 at 4:24 PM, Marek Vasut [off-list ref] wrote:
quoted
Dear Jim Cromie,
quoted
hi Marek,

Surprising problem - is strstr the only one missing ?
I think so.
quoted
Its only used in the stub fn, so you could cheat and
just return 0, or warn less discriminately and return 0.
Obviously, that wouldnt be acceptable for mainline.
Correct, so I'm looking for proper solution.
Ok.  I think youre on the right track - ie adding the fn.

just one more thought -
add a strcmp call into the func, see if it compiles or breaks
the same way.  If it breaks, theres a larger build issue,
and Im not sure how LKML would react.
Hm, looks like strcmp is also missing, even though it's declared in

arch/arm/boot/compressed/string.c
quoted
quoted
What happens if you build with compression other than XZ ?
LZMA is good, GZ as well.
ok, thats good -
It suggests the problem is quite localized.

I suppose strcmp could still be missing,
and possibly more likely, since the issue is so localized,
and not exposed by other builds in other arches.

Do you already know where strstr should be added ?
arch/arm/boot/compressed/string.c I believe.
Im asking cuz Im completely unfamiliar with arm,
but did recently buy a raspberry-PI, so I'll be starting
to hack on that eventually :-)
quoted
quoted
is it specific to XZ as you said, or a more general problem ?
Specific to XZ.
[...]

Best regards,
Marek Vasut
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help