[LLVMdev] Problem with CVS LLVM build in obj != src dir case

Vladimir Merzliakov wanderer at rsu.ru
Wed Sep 1 05:22:48 PDT 2004


LLVM build without big problems in obj dir == src dir case (for example, 
last night tester build)
But I have problem with building CVS version LLVM in obj dir != src dir 
case.

======= Finished building ModuleMaker debug executable (without symbols) 
=======
gmake[2]: Leaving directory 
`/usr/home/wanderer/pkg/build/llvm/obj/examples/ModuleMaker'
gmake[1]: Leaving directory `/usr/home/wanderer/pkg/build/llvm/obj/examples'
gmake[1]: Entering directory 
`/usr/home/wanderer/pkg/build/llvm/obj/projects'
gmake[2]: Entering directory 
`/usr/home/wanderer/pkg/build/llvm/src/llvm/projects/Stacker'
../../Makefile.common:60: ../../Makefile.config: No such file or directory
../../Makefile.common:65: /Makefile.rules: No such file or directory
gmake[2]: *** No rule to make target `/Makefile.rules'.  Stop.
gmake[2]: Leaving directory 
`/usr/home/wanderer/pkg/build/llvm/src/llvm/projects/Stacker'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/usr/home/wanderer/pkg/build/llvm/obj/projects'
gmake: *** [all] Error 1

Some new warnings from last successful buld some days ago:

1) flex
gmake[2]: Entering directory 
`/usr/home/wanderer/pkg/build/llvm/obj/tools/llvmc'
Flexing /home/wanderer/pkg/build/llvm/src/llvm/tools/llvmc/ConfigLexer.l
"/home/wanderer/pkg/build/llvm/src/llvm/tools/llvmc/ConfigLexer.l", line 
191: warning, -s option given but default rule can be matched
gmake[2]: Leaving directory 
`/usr/home/wanderer/pkg/build/llvm/obj/tools/llvmc'

2) gcc 3.5 (mainline CVS)
Mostly result using ~0 (signed int) expression as value of unsigned int 
function parameter.

Compiling X86CodeEmitter.cpp
/home/wanderer/pkg/build/llvm/src/llvm/lib/Target/X86/X86CodeEmitter.cpp: In 
member function `void<unnamed>::Emitter::emitMemModRMByte(const 
llvm::MachineInstr&, unsigned int, unsigned int)':
/home/wanderer/pkg/build/llvm/src/llvm/lib/Target/X86/X86CodeEmitter.cpp:437: 
warning: converting of negative value `-0x000000001' to `unsigned int'
/home/wanderer/pkg/build/llvm/src/llvm/lib/Target/X86/X86CodeEmitter.cpp:437: 
warning: converting of negative value `-0x000000001' to `unsigned int'
/home/wanderer/pkg/build/llvm/src/llvm/lib/Target/X86/X86CodeEmitter.cpp:437: 
warning: converting of negative value `-0x000000001' to `unsigned int'
/home/wanderer/pkg/build/llvm/src/llvm/lib/Target/X86/X86CodeEmitter.cpp:437: 
warning: converting of negative value `-0x000000001' to `unsigned int'
/home/wanderer/pkg/build/llvm/src/llvm/lib/Target/X86/X86CodeEmitter.cpp:437: 
warning: converting of negative value `-0x000000001' to `unsigned int'
Compiling X86FloatingPoint.cpp
/home/wanderer/pkg/build/llvm/src/llvm/lib/Target/X86/X86FloatingPoint.cpp: 
In member function 
`void<unnamed>::FPS::popStackAfter(llvm::ilist_iterator<llvm::MachineInstr>&)':
/home/wanderer/pkg/build/llvm/src/llvm/lib/Target/X86/X86FloatingPoint.cpp:339: 
warning: converting of negative value `-0x000000001' to `unsigned int'
/home/wanderer/pkg/build/llvm/src/llvm/lib/Target/X86/X86FloatingPoint.cpp: 
In member function 
`void<unnamed>::FPS::freeStackSlotAfter(llvm::ilist_iterator<llvm::MachineInstr>&, 
unsigned int)':
/home/wanderer/pkg/build/llvm/src/llvm/lib/Target/X86/X86FloatingPoint.cpp:371: 
warning: converting of negative value `-0x000000001' to `unsigned int'
/home/wanderer/pkg/build/llvm/src/llvm/lib/Target/X86/X86FloatingPoint.cpp:372: 
warning: converting of negative value `-0x000000001' to `unsigned int'

Compiling SparcV9BurgISel.cpp
/home/wanderer/pkg/build/llvm/src/llvm/lib/Target/SparcV9/SparcV9BurgISel.cpp: 
In function `uint64_t llvm::ConvertConstantToIntType(const 
llvm::TargetMachine&, const llvm::Value*, const llvm::Type*, bool&)':
/home/wanderer/pkg/build/llvm/src/llvm/lib/Target/SparcV9/SparcV9BurgISel.cpp:574: 
warning: converting of negative value `-0x000000001' to `unsigned int'

Compiling SparcV9RegInfo.cpp
/home/wanderer/pkg/build/llvm/src/llvm/lib/Target/SparcV9/SparcV9RegInfo.cpp: 
In member function `void llvm::SparcV9RegInfo::suggestRegs4MethodArgs(const 
llvm::Function*, llvm::LiveRangeInfo&) const':
/home/wanderer/pkg/build/llvm/src/llvm/lib/Target/SparcV9/SparcV9RegInfo.cpp:383: 
warning: converting of negative value `BadRegClass' to `unsigned int'
/home/wanderer/pkg/build/llvm/src/llvm/lib/Target/SparcV9/SparcV9RegInfo.cpp: 
In member function `void llvm::SparcV9RegInfo::colorMethodArgs(const 
llvm::Function*, llvm::LiveRangeInfo&, std::vector<llvm::MachineInstr*, 
std::allocator<llvm::MachineInstr*> >&, std::vector<llvm::MachineInstr*, 
std::allocator<llvm::MachineInstr*> >&) const':
/home/wanderer/pkg/build/llvm/src/llvm/lib/Target/SparcV9/SparcV9RegInfo.cpp:427: 
warning: converting of negative value `BadRegClass' to `unsigned int'
/home/wanderer/pkg/build/llvm/src/llvm/lib/Target/SparcV9/SparcV9RegInfo.cpp: 
In member function `void 
llvm::SparcV9RegInfo::suggestRegs4CallArgs(llvm::MachineInstr*, 
llvm::LiveRangeInfo&) const':
/home/wanderer/pkg/build/llvm/src/llvm/lib/Target/SparcV9/SparcV9RegInfo.cpp:618: 
warning: converting of negative value `BadRegClass' to `unsigned int'

Compiling ProgramInfo.cpp
/home/wanderer/pkg/build/llvm/src/llvm/lib/Debugger/ProgramInfo.cpp: In 
function `const llvm::GlobalVariable* getNextStopPoint(const llvm::Value*, 
unsigned int&, unsigned int&)':
/home/wanderer/pkg/build/llvm/src/llvm/lib/Debugger/ProgramInfo.cpp:90: 
warning: converting of negative value `-0x000000001' to `unsigned int'
/home/wanderer/pkg/build/llvm/src/llvm/lib/Debugger/ProgramInfo.cpp:91: 
warning: converting of negative value `-0x000000001' to `unsigned int'
/home/wanderer/pkg/build/llvm/src/llvm/lib/Debugger/ProgramInfo.cpp:104: 
warning: converting of negative value `-0x000000001' to `unsigned int'
/home/wanderer/pkg/build/llvm/src/llvm/lib/Debugger/ProgramInfo.cpp:104: 
warning: converting of negative value `-0x000000001' to `unsigned int'


Vladimir





More information about the llvm-dev mailing list