Re: kilauea compilation breaks with v3.3 kernel and ELDK 4.2
flat view
From: Wolfgang Denk <hidden>
Date: 2012-03-21 16:25:56
Dear Josh, In message [ref] you wrote:
quoted
The problem is that for ppc-linux-gcc (GCC) 4.2.2 (which comes with the ELDK 4.2) this assembly instruction is not known and the build breaks.Sigh. GCC 4.2 is pretty old at this point.
But still rock-solid ... We use it a lot, especially as reference for more recent (and sometimes more broken) versions of GCC.
All of the stuff in arch/powerpc/boot/ is built regardless of the configured board and stuffed into a wrapper.a archive. Then the individual board targets are built and the necessary pieces are pulled from the wrapper.a file.
This appears to be a pretty inefficient approach. Why don't we build only the files we actually need? That would save a bit of build time.
quoted
Please advise.If upgrading ELDK is an option for you, it will get you the quickest solution. Otherwise we'll need to figure out how to stub out the instruction in boot/dcr.h and use the asm long trick. Ew. I can look at that next week.
Thanks a lot in advance! Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de It is wrong always, everywhere and for everyone to believe anything upon insufficient evidence. - W. K. Clifford, British philosopher, circa 1876