sh64 build error - sh, kbuild or binutils problem?



cayman_defconfig fails to build with the following error
(using binutils 2.18.50.0.7):

<-- snip -->

...
LD drivers/macintosh/built-in.o
LD drivers/media/common/tuners/built-in.o
CC [M] drivers/media/common/tuners/tuner-xc2028.o
CC [M] drivers/media/common/tuners/tuner-simple.o
CC [M] drivers/media/common/tuners/tuner-types.o
CC [M] drivers/media/common/tuners/mt20xx.o
CC [M] drivers/media/common/tuners/tda8290.o
CC [M] drivers/media/common/tuners/tea5767.o
CC [M] drivers/media/common/tuners/tea5761.o
CC [M] drivers/media/common/tuners/tda9887.o
CC [M] drivers/media/common/tuners/xc5000.o
LD drivers/media/common/built-in.o
...
LD drivers/media/built-in.o
sh64-linux-ld: sh3 architecture of input file `drivers/media/common/built-in.o' is incompatible with sh5 outputmake[3]: *** [drivers/media/built-in.o] Error 1

<-- snip -->


Minimal example demonstrating the problem:

$ sh64-linux-ar rcs tmp.o
$ sh64-linux-ld -EL -r -o tmp2.o tmp.o
$ sh64-linux-ld -EL -r -o out.o tmp2.o
sh64-linux-ld: sh3 architecture of input file `tmp2.o' is incompatible with sh5 output
$


cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: rsk7203_defconfig build error
    ... Adrian Bunk wrote: ... rsk7203_defconfig fails to build with the following error: ... and these are far less undefined references ... There had been need of rain for many days. ...
    (Linux-Kernel)
  • Re: binutils trouble was Re: [1/2] 2.6.23-rc3: known regressions with patches
    ... year ago for sure also have older ones (the required patch went into ... It would be useful if someone could find out which binutils versions ... and together with your SLES9 test it seems the border is ... There had been need of rain for many days. ...
    (Linux-Kernel)
  • rsk7203_defconfig build error
    ... rsk7203_defconfig fails to build with the following error: ... and these are far less undefined references ... There had been need of rain for many days. ... Pearl S. Buck - Dragon Seed ...
    (Linux-Kernel)
  • Re: _proxy_pda still makes linking modules fail
    ... binutils-2.17.50.0.12 on x86. ... Please test a plain 2.6.20 from ftp.kernel.org. ... If it fails, please send your .config. ... There had been need of rain for many days. ...
    (Linux-Kernel)
  • sh cayman_defconfig build error
    ... cayman_defconfig fails with the following error: ... cc1: warnings being treated as errors ... There had been need of rain for many days. ...
    (Linux-Kernel)