[llvm-commits] [PATCH] Target/ARM build failure on Cygwin-1.5

NAKAMURA Takumi geek4civic at gmail.com
Mon Sep 6 17:52:06 PDT 2010


Hi, Chris,

I got erros below;

lib/Target/ARM/Disassembler/ARMDisassembler.cpp: In member function
`void llvm::Session::UpdateIT()':
lib/Target/ARM/Disassembler/ARMDisassembler.cpp:559: error: invalid
initialization of reference of type 'uint32_t&' from expression of
type 'unsigned int'
lib/Target/ARM/Disassembler/ARMDisassemblerCore.h:130: error: in
passing argument 1 of `void llvm::setSlice(uint32_t&, unsigned int,
unsigned int, uint32_t)'

$ gcc --version
gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)

I thought it would not be good idea to fix setSlice().

...Takumi

2010/9/7 Chris Lattner <clattner at apple.com>:
>
> On Sep 6, 2010, at 7:22 AM, NAKAMURA Takumi wrote:
>
>> Hello,
>>
>> Cygwin-1.5 has uint32_t as "unsigned long", and fails to build by type mismatch.
>> I wonder which would be better to fix, Session::ITState or setSlice().
>
> It's better to fix the other place. What error were you getting?
>
> -Chris



More information about the llvm-commits mailing list