Re: [arm cross-compiling, clang] Error: selected processor does not support `ldrexd r2, r3, [r1]'

From: Warner Losh <imp_at_bsdimp.com>
Date: Mon, 19 May 2014 09:59:37 -0600
On May 19, 2014, at 6:57 AM, Boris Samorodov <bsam_at_passap.ru> wrote:

> 19.05.2014 16:06, Boris Samorodov пишет:
>> 19.05.2014 01:25, Ian Lepore пишет:
>>> On Mon, 2014-05-19 at 00:08 +0400, Boris Samorodov wrote:
>> 
>>>> It's definitely not my day -- crochet build failed with:
>>>> -----
>>>> --- all_subdir_libllvmarmcodegen ---
>>>> /usr/src/lib/clang/libllvmarmcodegen/../../../contrib/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp:3687:15:
>>>> error: no member named
>>>> 'VLD1d64TPseudoWB_fixed' in namespace 'llvm::ARM'; did you mean
>>>> 'VST1d64TPseudoWB_fixed'?
>>>>    case ARM::VLD1d64TPseudoWB_fixed:
>>>>         ~~~~~^~~~~~~~~~~~~~~~~~~~~~
>>>>              VST1d64TPseudoWB_fixed
>>>> ./ARMGenInstrInfo.inc.h:1969:5: note: 'VST1d64TPseudoWB_fixed' declared here
>>>>    VST1d64TPseudoWB_fixed      = 1953,
>>>>    ^
>>>> /usr/src/lib/clang/libllvmarmcodegen/../../../contrib/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp:3704:15:
>>>> error: no member named
>>>> 'VLD1d64QPseudoWB_fixed' in namespace 'llvm::ARM'; did you mean
>>>> 'VST1d64QPseudoWB_fixed'?
>>>>    case ARM::VLD1d64QPseudoWB_fixed:
>>>>         ~~~~~^~~~~~~~~~~~~~~~~~~~~~
>>>>              VST1d64QPseudoWB_fixed
>>>> ./ARMGenInstrInfo.inc.h:1963:5: note: 'VST1d64QPseudoWB_fixed' declared here
>>>>    VST1d64QPseudoWB_fixed      = 1947,
>>>> -----
>>> 
>>> I've seen others report this error recently, and it was caused by an
>>> update to clang.  There's a dependency glitch so that some header files
>>> don't get regenerated correctly; I think that has been fixed, but to get
>>> the fix in place you have to clean out obj/arm.armv6 and build fresh.
>> 
>> Ian, thanks -- that helped!
> 
> Just a note: (crochet) buildworld finished successfully. However
> buildkernel fails at the very beginning with "Malformed conditional
> (${MK_ARM_EABI} != "no")" -- just as Michael Tuexen reported at arm_at_.

I have a fix pending for that, but there’s other problems building arm kernels/modules at
the moment I’m sorting out before pushing that in.

Warner
Received on Mon May 19 2014 - 14:07:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:49 UTC