Re: Undefined __aeabi_uidiv references in blobs with 4.8 toolchain

2013-05-07 Thread Matthew Gretton-Dann

On 04/05/13 00:21, Bernhard Rosenkränzer wrote:

Hi,
I've looked into this some more today... But it still looks rather odd.


Has the symbol visibility of __aeabi_uidiv changed?



Apparently not...
I've checked a diff between gcc-4.7/libgcc and gcc-4.8/libgcc and didn't
find any changes that seem related.
Given I also didn't see any relevant ABI changes, I ran a little experiment
and removed libgcc.a from 4.8, and copied in libgcc.a from 4.7 (yes, I know
that's pure evil ;) ).


How did you diff gcc-4.7/libgcc and gcc-4.8/libgcc?  What does readelf give 
as the symbol types and visibility?



Interestingly enough, that toolchain produces a fully functional (including
blobs) Android build.

I still don't see anything relevant in the diff - but of course another
difference is that 4.7's libgcc.a is compiled with 4.7 while 4.8's is
compiled with 4.8, so it may be related to something 4.8 does differently
while building libgcc.a.


This looks like a linkage issue and as 4.7's libgcc works even with 4.8 
built objects I think its a change in the libgcc library (and not how things 
are getting called - although that would be worth checking - what's the 
difference between the callers from both objects).


So if you could diff the objects within libgcc.a that contain __aeabi_uidiv 
that would be great.


Thanks,

Matt

--
Matthew Gretton-Dann
Toolchain Working Group, Linaro

___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain


unhandled level 1 translation fault

2013-05-07 Thread Aparna Mandke
Hi,
I am using linaro 13.03 image with ARMv8 fast model.
I am getting following "unhandled translation fault" exception while
executing a test. Is it a known problem? Does anybody know its solution?

Thanks,
Aparna


[[  364.733273] jsc[834]: unhandled level 1 translation fault (11) at
0x874c0120, esr 0x9205
[  364.733356] pgd = ffc87d22b000
[  364.733421] [874c0120] *pgd=0008ffeb9003,
*pmd=0008fe78f003, *pte=00a8fbd74f53
[  364.733573]
[  364.733631] Pid: 834, comm:  jsc
[  364.733716] CPU: 0Not tainted  (3.9.0-1-linaro-vexpress64
#1ubuntu1~ci+130320041336)
[  364.733796] PC is at 0x4f69d4
[  364.733860] LR is at 0x44cdec
[  364.733933] pc : [<004f69d4>] lr : [<0044cdec>] pstate:
6000
[  364.734008] sp : 007ff1c891f0
[  364.734070] x29: 007ff1c891f0 x28: 
[  364.734188] x27: 007ff1c89db8 x26: 005258a0
[  364.734308] x25: 007f89342fa8 x24: 007f874c00c0
[  364.734428] x23: 007ff1c89900 x22: 3f66ea48
[  364.734548] x21: 007f89342e00 x20: 007f8933a4b0
[  364.734669] x19: 874c0100 x18: 007ff1c899a0
[  364.734789] x17: 007f8a2ac7d4 x16: 005827b8
[  364.734908] x15: 007f8a0ca590 x14: 
[  364.735026] x13: 001f x12: 
[  364.735144] x11:  x10: 007f89345420
[  364.735262] x9 : 000f x8 : 000f
[  364.735378] x7 : 000f x6 : 007f89353ca0
[  364.735498] x5 : 007f893433e8 x4 : 007f89353cc0
[  364.735618] x3 : 007f89353c40 x2 : 0003
[  364.735735] x1 : 3f66ea48 x0 : 
[  364.735845]
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain