[llvm] r217056 - unique_ptrify IRObjectFile::createIRObjectFile

Robinson, Paul Paul_Robinson at playstation.sony.com
Thu Sep 4 18:23:52 PDT 2014


> -----Original Message-----
> From: llvm-commits-bounces at cs.uiuc.edu [mailto:llvm-commits-
> bounces at cs.uiuc.edu] On Behalf Of Rafael EspĂ­ndola
> Sent: Thursday, September 04, 2014 11:24 AM
> To: David Blaikie
> Cc: llvm-commits
> Subject: Re: [llvm] r217056 - unique_ptrify
> IRObjectFile::createIRObjectFile
> 
> On 4 September 2014 14:10, David Blaikie <dblaikie at gmail.com> wrote:
> > Hmm, and now that I do actually run all the tests (maybe after
> explicitly
> > building LLVMgold.so the build system decided to also run its tests on
> > "ninja check-all") I get this failure:
> >
> > ld: error: unrecognized emulation elf32ppc
> > ld: error:
> >
> /mnt/fast/dev/llvm/build/clang/debug/split/notypes/nostandalone/test/tools
> /gold/Output/mtriple.ll.tmp3.o:
> > not configured to support 32-bit big-endian object
> >
> > Any idea if I can actually address this? Do I have to build my own 'ld'?
> ...
> > otherwise I'll probably just disable it again.
> 
> I guess the version of gold you are using has been explicitly
> configured to not support 32 bit big-endian :-(
> The only solution I can think of is trying to update
> have_ld_plugin_support to check for that.

I've just run into this and blamed it on having a plugin-capable gold
but not building the ppc backend.  In which case the right fix is in
test/tools/gold/lit.local.cfg to require ppc target as well as x86.
--paulr





More information about the llvm-commits mailing list