From: David M. <dav...@st...> - 2002-05-29 10:59:38
|
stu...@st... wrote: > I was hoping I might be able to use the SH4 tools just to generate the > piggy.o object file, but unfortuntaly when I try to link this to an > object file containing real code I get the message: > piggy.o: uses non-SH64 instructions while previous module uses SH64 instructions > Bad value: failed to merge target specific data of file piggy.o > Not unreasonable in general, but in this case it shouldn't be a problem > I'd have thought. As a work around, could we fudge this somehow? > This sounds very similar to the problems I had building the 2.4.19 kernel, I think the linker is too rigorous in checking what the machine type it is linking against. I had to pull some directories from the kernel build in order to get it through, pending a toolchain fix. See the BK log on 2.4.19 for details. -- Dave McKay Software Engineer STMicroelectronics Email: dav...@st... |