<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 04/02/2018 01:15 PM, Chris Elledge
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAGfzNig_csD+EtAShEV=zWpBhk7bfUdK3jWEq80T2pBYxcV7aQ@mail.gmail.com">
<div dir="ltr">I recently upgraded my Yocto based project to Yocto
2.4.2, and I encountered a problem when building my custom
kernel for an AT91 SAMA5D3X platform. I've been using an ARM
Thumb2 kernel for a while successfully until this release. It
appears that the issue stems from the change to binutils version
2.29.1.
<div><br>
</div>
<div>Here's a good description of the problem:</div>
<div><a href="https://patchwork.kernel.org/patch/10072695/"
moz-do-not-send="true">https://patchwork.kernel.org/patch/10072695/</a><br>
</div>
<div><br>
</div>
</div>
</blockquote>
<br>
I will take a look. Can you provide a reproducer? ie qemuarm tweak??<br>
<br>
- armin<br>
<br>
<blockquote type="cite"
cite="mid:CAGfzNig_csD+EtAShEV=zWpBhk7bfUdK3jWEq80T2pBYxcV7aQ@mail.gmail.com">
<div dir="ltr">
<div>I tried out their test script, and it flagged the
arm-poky-linux-gnueabi- toolchain built by Yocto 2.4.2 as
being buggy. Has anyone else encountered this problem and
figured out a way around it without disabling Thumb
compilation of the kernel?</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Chris</div>
<div><br>
</div>
<div>The bug showed up in my kernel with the following oops at
kernel boot:</div>
<div>
<div>Internal error: Oops - undefined instruction: 0 [#1]
PREEMPT THUMB2</div>
<div>Modules linked in:</div>
<div>CPU: 0 PID: 1 Comm: init Not tainted 4.9.91-custom #53</div>
<div>Hardware name: Atmel SAMA5</div>
<div>task: df448000 task.stack: df44a000</div>
<div>PC is at ret_fast_syscall+0x2/0x54</div>
<div>LR is at SyS_brk+0xe9/0x104</div>
<div>pc : [<c0105e62>]Â Â lr : [<c016bca1>]Â Â
psr: 60000013</div>
<div>sp : df44bfa8 ip : 50c5387d fp : 00001000</div>
<div>r10: 00000000Â r9 : df44a000Â r8 : c0106044</div>
<div>r7 : 0000002d r6 : b6f3e050 r5 : 00010034 r4 :
00000008</div>
<div>r3 : df448000Â r2 : ffff0001Â r1 : 00000000Â r0 :
00bda000</div>
<div>Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARMÂ
Segment none</div>
<div>Control: 50c5387d Table: 3ec84059 DAC: 00000051</div>
<div>Process init (pid: 1, stack limit = 0xdf44a210)</div>
<div>Stack: (0xdf44bfa8 to 0xdf44c000)</div>
<div>bfa0:Â Â Â Â Â Â Â Â Â Â 00000008 00010034 00000000
00000001 beddcfb8 00000000</div>
<div>bfc0: 00000008 00010034 b6f3e050 0000002d 00000000
00000001 00000001 00001000</div>
<div>bfe0: 00000001 beddce3c b6f54cf4 b6f55b28 20000010
00000000 ec846eac 80cafe65</div>
<div>Code: 0000bd08 00000000 00000000 b6720000 (1000f8d9)</div>
</div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
</body>
</html>