From: Wolfgang Denk Date: Wed, 20 Apr 2011 00:41:01 +0200 Subject: [U-Boot] [PATCH] PowerPC: Move -fPIC flag to common place In-Reply-To: References: <1291642606-4290-1-git-send-email-Joakim.Tjernlund@transmode.se> <20110412081426.C926A1537B0@gemini.denx.de> <20110419202525.A2062D5269D@gemini.denx.de> <20110419213540.8ED22101D6F@gemini.denx.de> <20110419220527.A7319152160@gemini.denx.de> Message-ID: <20110419224101.33B7A14E379@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Joakim Tjernlund, In message you wrote: > > > Yes, but you yorself pointed out that commit 337f5f5 missed a large > > number of boards, leaving the tree in a inconsistent state. Should we > > not revert that one as well? > > It is not too bad, just not complete yet. Reverting all just makes > it harder to get it all done. > I still don't get why it broke really. > hmm, did you by any chance include my patches to gcc too? > if so I you should only have to fixup arch/powerpc/config.mk: > - PLATFORM_RELFLAGS += -fpic -mrelocatable -ffunction-sections -fdata-sections > - PLATFORM_RELFLAGS += $(call cc-option,-msingle-pic-base,) > + PLATFORM_RELFLAGS += -fPIC -mrelocatable -ffunction-sections -fdata-sections Can you please have a look at this yourslef? You understand much better than me which of your patches are doing what, and how they might interact. I don't have the time to dig into this any deeper. If we cannot find a quick solution, I suggest to back out all this stuff and redo once the problems have been sorted out. Sorry for applying the stuff to mainline without more thorough testing, I should have noticed these issues earlier and never checked in all that stuff. 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 at denx.de Another megabytes the dust.