NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-macppc/53360 (graphics/gimp build fails on NetBSD/macppc)
The following reply was made to PR port-macppc/53360; it has been noted by GNATS.
From: Sevan Janiyan <venture37%geeklan.co.uk@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: port-macppc/53360 (graphics/gimp build fails on NetBSD/macppc)
Date: Fri, 15 Jun 2018 02:33:03 +0100
On 15/06/2018 02:15, Valery Ushakov wrote:
> Stack trace is good, but what is the instruction it considers illegal?
>
> (gdb) x/i $pc
>
> (gdb) disassemble
>
> -uwe
>
>
Program terminated with signal SIGILL, Illegal instruction.
#0 0xfd723818 in lrint () from /usr/lib/libm.so.0
(gdb) x/i $pc
=> 0xfd723818 <lrint+100>: mtmsr r10
(gdb) disassemble
Dump of assembler code for function lrint:
0xfd7237b4 <+0>: stwu r1,-64(r1)
0xfd7237b8 <+4>: mflr r0
0xfd7237bc <+8>: bcl 20,4*cr7+so,0xfd7237c0 <lrint+12>
0xfd7237c0 <+12>: stw r30,56(r1)
0xfd7237c4 <+16>: mflr r30
0xfd7237c8 <+20>: stw r0,68(r1)
0xfd7237cc <+24>: stw r31,60(r1)
0xfd7237d0 <+28>: addis r30,r30,4
0xfd7237d4 <+32>: addi r30,r30,-21160
0xfd7237d8 <+36>: mffs f0
0xfd7237dc <+40>: stfd f0,16(r1)
0xfd7237e0 <+44>: lis r10,-16377
0xfd7237e4 <+48>: ori r10,r10,63495
0xfd7237e8 <+52>: lwz r9,20(r1)
0xfd7237ec <+56>: and r10,r10,r9
0xfd7237f0 <+60>: mr r31,r9
0xfd7237f4 <+64>: stw r10,20(r1)
0xfd7237f8 <+68>: lfd f0,16(r1)
0xfd7237fc <+72>: mtfsf 255,f0
0xfd723800 <+76>: mfmsr r8
0xfd723804 <+80>: cmpwi cr7,r10,0
0xfd723808 <+84>: li r10,-2305
0xfd72380c <+88>: and r10,r8,r10
0xfd723810 <+92>: beq cr7,0xfd723818 <lrint+100>
0xfd723814 <+96>: ori r10,r10,2304
=> 0xfd723818 <+100>: mtmsr r10
0xfd72381c <+104>: bl 0xfd73b830
<00008000.got2.plt_pic32.rint+48>
0xfd723820 <+108>: fctiwz f1,f1
0xfd723824 <+112>: stfd f1,8(r1)
0xfd723828 <+116>: lwz r3,12(r1)
0xfd72382c <+120>: mffs f0
0xfd723830 <+124>: stfd f0,16(r1)
0xfd723834 <+128>: lwz r10,20(r1)
0xfd723838 <+132>: andis. r9,r10,8192
0xfd72383c <+136>: beq 0xfd723864 <lrint+176>
0xfd723840 <+140>: mffs f0
0xfd723844 <+144>: stfd f0,24(r1)
0xfd723848 <+148>: lwz r11,28(r1)
0xfd72384c <+152>: lwz r10,24(r1)
0xfd723850 <+156>: rlwinm r11,r11,0,7,5
0xfd723854 <+160>: stw r10,32(r1)
0xfd723858 <+164>: stw r11,36(r1)
0xfd72385c <+168>: lfd f0,32(r1)
0xfd723860 <+172>: mtfsf 255,f0
0xfd723864 <+176>: mffs f0
0xfd723868 <+180>: stfd f0,16(r1)
0xfd72386c <+184>: lis r9,16376
0xfd723870 <+188>: ori r9,r9,1792
0xfd723874 <+192>: lwz r10,20(r1)
0xfd723878 <+196>: and r9,r9,r10
0xfd72387c <+200>: or r9,r9,r31
0xfd723880 <+204>: stw r9,20(r1)
0xfd723884 <+208>: lfd f0,16(r1)
0xfd723888 <+212>: mtfsf 255,f0
0xfd72388c <+216>: mfmsr r10
0xfd723890 <+220>: cmpwi cr7,r9,0
0xfd723894 <+224>: li r9,-2305
0xfd723898 <+228>: and r9,r10,r9
0xfd72389c <+232>: beq cr7,0xfd7238a4 <lrint+240>
0xfd7238a0 <+236>: ori r9,r9,2304
0xfd7238a4 <+240>: mtmsr r9
0xfd7238a8 <+244>: lwz r0,68(r1)
0xfd7238ac <+248>: lwz r30,56(r1)
0xfd7238b0 <+252>: mtlr r0
0xfd7238b4 <+256>: lwz r31,60(r1)
0xfd7238b8 <+260>: addi r1,r1,64
0xfd7238bc <+264>: blr
End of assembler dump.
Home |
Main Index |
Thread Index |
Old Index