2010/3/1 Martin Jansa <[email protected]>

> due to somehow broken build
>
> This is diff between working and segfaulting libopkg.so.0.0.0, no idea
> why gcc generated that (maybe there is problem with ram in buildhost,
> because all builds segfault a lot today from /usr/bin/python).
>
> To fix your opkg you can use binary from here
> mv /usr/lib/libopkg.so.0.0.0 ~
> wget http://build.shr-project.org/tests/jama/libopkg.so.0.0.0 -O
> /usr/lib/libopkg.so.0.0.0
>
> sorry for sharing binary, feel free to check the diff before using it:
>
> /usr/lib is my local build
> /media/sdcard2 is fresh 0301 image from shr buildhost with segfaulting opkg
>
> opkg-cl binaries are the same and here is the problem:
>
> SHR r...@gojama ~ $ diff /usr/lib/libopkg.so.0.0.0.dis
> /media/sdcard2/usr/lib/libopkg.so.0.0.0.dis
> --- /usr/lib/libopkg.so.0.0.0.dis      Mon Mar  1 19:56:27 2010
> +++ /media/sdcard2/usr/lib/libopkg.so.0.0.0.dis Mon Mar  1 19:56:12 2010
> @@ -1,5 +1,5 @@
>
> -/usr/lib/libopkg.so.0.0.0:     file format elf32-littlearm
> +/media/sdcard2/usr/lib/libopkg.so.0.0.0:     file format
> elf32-littlearm
>
>
>  Disassembly of section .gnu.hash:
> @@ -17336,7 +17336,7 @@
>    1136c:      407c4054        rsbsmi  r4, ip, r4, asr r0
>    11370:      19094461        stmdbne r9, {r0, r5, r6, sl, lr}
>    11374:      41f12615        mvnsmi  r2, r5, lsl r6
> -   11378:      990319ce        stmdbls r3, {r1, r2, r3, r6, r7, r8, fp,
> ip}
> +   11378:      990359ce        stmdbls r3, {r1, r2, r3, r6, r7, r8, fp,
> ip, lr}
>    1137c:      468c4c76        sxtab16mi       r4, ip, r6, ror #24
>    11380:      44a41c39        strtmi  r1, [r4], #3129 ; 0xc39
>    11384:      40714059        rsbsmi  r4, r1, r9, asr r0
> @@ -32527,4 +32527,4 @@
>    8:  302e6f73        eorcc   r6, lr, r3, ror pc
>    c:  302e302e        eorcc   r3, lr, lr, lsr #32
>   10:  00000000        andeq   r0, r0, r0
> -  14:  3f0bd0c9        svccc   0x000bd0c9
> +  14:  d5573608        ldrble  r3, [r7, #-1544]     ; 0x608
>

I got segfault by upgrading (opkg update && opkg upgrade) in
task-shr-minimal-base...

Downloading
http://build.shr-project.org/shr-unstable/ipk//om-gta02/task-shr-minimal-base_2.0-r25.4_om-gta02.ipk
.
Segmentation fault

- Michael
_______________________________________________
Shr-devel mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-devel

Reply via email to