linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Kernel compilation for SH4 arch fails with poky 2.5.2
@ 2019-03-04 13:01 Raveendra.Reddy.P
  2019-03-04 13:23 ` John Paul Adrian Glaubitz
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Raveendra.Reddy.P @ 2019-03-04 13:01 UTC (permalink / raw)
  To: linux-sh

Team,

When we configure poky-2.5.2 with sh4 (SuperH) arch and Linux kernel 4.9.161, it fails with following error message. 
From our observations, the below issue seems to be due to toolchain/gcc not the kernel.

#bitbake linux-yocto

   CC      drivers/mmc/core/sd.o
| {standard input}: Assembler messages:
| {standard input}: Error: unaligned opcodes detected in executable segment
| make[5]: *** [drivers/mmc/core/sd.o] Error 1
| make[4]: *** [drivers/mmc/core] Error 2
| make[3]: *** [drivers/mmc] Error 2
| make[2]: *** [drivers] Error 2
| make[2]: *** Waiting for unfinished jobs....
| make[1]: *** [sub-make] Error 2
| make: *** [__sub-make] Error 2
| ERROR: oe_runmake failed

Apart from configuring the sh4 machine and kernel version, we have not altered the default settings of poky. The machine config, kernel .config file and log files are attached. Could you please help us with the kernel compilation for sh4 architecture. 

Note: This issue was not observed with GCC version 4.9.0. Poky 2.5 has GCC Version 7.3.0. Expectation is to compile kernel with GCC 7.3.

--Raveendra Reddy P

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-03-06 18:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-04 13:01 Kernel compilation for SH4 arch fails with poky 2.5.2 Raveendra.Reddy.P
2019-03-04 13:23 ` John Paul Adrian Glaubitz
2019-03-05 14:06 ` Raveendra.Reddy.P
2019-03-06 18:03 ` John Paul Adrian Glaubitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).