I will be creating the release branch at 1:00pm PDT. Please refrain from checking in from 1:00-1:30pm. I will send email once I am done.
Thanks,
Tanya
I will be creating the release branch at 1:00pm PDT. Please refrain from checking in from 1:00-1:30pm. I will send email once I am done.
Thanks,
Tanya
Branches have been created. You are free to checkin to cvs head again.
I'll send mail once I have the prerelease tar balls up. Please continue to review and revise the documentation. I can fold this into the release later.
Thanks,
Tanya
Here's what's left on Linux (GCC 4.1.0), after all updates that went
into the branch:
Running /proj/llvm/build/../llvm/test/Regression/CFrontend/dg.exp ...
FAIL: /proj/llvm/build/../llvm/test/Regression/CFrontend/2004-02-12-
LargeAggregateCopy.c.tr:
gccas: /proj/llvm/build/../llvm/lib/VMCore/Function.cpp:266: unsigned
int llvm::Function::getIntrinsicID() const: Assertion `0 && "Unknown
LLVM intrinsic function!"' failed.
gccas((anonymous namespace)::PrintStackTrace()+0x1a)[0x85a0ebe]
gccas((anonymous namespace)::SignalHandler(int)+0xd3)[0x85a1187]
[0xb7faa420]
[0xb7faa402]
/lib/tls/libc.so.6(gsignal+0x55)[0x7e77d5]
/lib/tls/libc.so.6(abort+0xe9)[0x7e9149]
/lib/tls/libc.so.6(__assert_fail+0x101)[0x7e0db1]
gccas(llvm::Function::getIntrinsicID() const+0x6df)[0x8469d75]
gccas((anonymous namespace)::Verifier::visitCallInst
(llvm::CallInst&)+0x51b)[0x8485ebd]
gccas(llvm::InstVisitor<(anonymous namespace)::Verifier,
::visitCall(llvm::CallInst&)+0x18)[0x84f09b2]
gccas(llvm::InstVisitor<(anonymous namespace)::Verifier, void>::visit
(llvm::Instruction&)+0x2e0)[0x84f15f2]
gccas(void llvm::InstVisitor<(anonymous namespace)::Verifier,
::visit<llvm::ilist_iterator<llvm::Instruction>
(llvm::ilist_iterator<llvm::Instruction>,
llvm::ilist_iterator<llvm::Instruction>)+0x45)[0x84f16c9]
gccas(llvm::InstVisitor<(anonymous namespace)::Verifier, void>::visit
(llvm::BasicBlock&)+0x67)[0x84f1749]
gccas(void llvm::InstVisitor<(anonymous namespace)::Verifier,
::visit<llvm::ilist_iterator<llvm::BasicBlock>
(llvm::ilist_iterator<llvm::BasicBlock>,
llvm::ilist_iterator<llvm::BasicBlock>)+0x45)[0x84f1791]
gccas(llvm::InstVisitor<(anonymous namespace)::Verifier, void>::visit
(llvm::Function&)+0x67)[0x84f1811]
gccas((anonymous namespace)::Verifier::runOnFunction
(llvm::Function&)+0x36)[0x84f184a]
gccas(llvm::PassManagerTraits<llvm::Function>::runPass
(llvm::FunctionPass*, llvm::Function*)+0x1f)[0x84c23dd]
gccas(llvm::PassManagerT<llvm::Function>::runOnUnit
(llvm::Function*)+0x668)[0x84d61ac]
gccas(llvm::PassManagerTraits<llvm::Function>::runOnFunction
(llvm::Function&)+0x1f)[0x84c24a9]
gccas(llvm::FunctionPass::runOnModule(llvm::Module&)+0xa0)[0x8477464]
gccas(llvm::PassManagerTraits<llvm::Module>::runPass(llvm::ModulePass*,
llvm::Module*)+0x1f)[0x84c2429]
gccas(llvm::PassManagerT<llvm::Module>::runOnUnit
(llvm::Module*)+0x668)[0x84d3e9e]
gccas(llvm::PassManagerTraits<llvm::Module>::runOnModule
(llvm::Module&)+0x1f)[0x84c2461]
gccas(llvm::PassManager::run(llvm::Module&)+0x25)[0x847684f]
gccas(main+0x755)[0x83351bd]
/lib/tls/libc.so.6(__libc_start_main+0xd3)[0x7d4e23]
gccas(__gxx_personality_v0+0xe9)[0x83346e1]
llvm-gcc: Internal error: Aborted (program as)
Please submit a full bug report.
See <URL:http://llvm.cs.uiuc.edu> for instructions.
llvm-dis: Standard Input empty!
FAIL: /proj/llvm/build/../llvm/test/Regression/CFrontend/2004-02-13-
IllegalVararg.c.tr:
gccas: /tmp/ccaaBXK1.s:430: syntax error, unexpected $undefined,
expecting LOAD or STORE
/tmp/ccaaBXK1.s:430: while reading token: 'v'
llc: bytecode didn't read correctly.
FAIL: /proj/llvm/build/../llvm/test/Regression/CFrontend/2004-02-13-
Memset.c.tr:
gccas: /proj/llvm/build/../llvm/lib/VMCore/Function.cpp:266: unsigned
int llvm::Function::getIntrinsicID() const: Assertion `0 && "Unknown
LLVM intrinsic function!"' failed.
gccas((anonymous namespace)::PrintStackTrace()+0x1a)[0x85a0ebe]
gccas((anonymous namespace)::SignalHandler(int)+0xd3)[0x85a1187]
[0xb7f6b420]
[0xb7f6b402]
/lib/tls/libc.so.6(gsignal+0x55)[0x7e77d5]
/lib/tls/libc.so.6(abort+0xe9)[0x7e9149]
/lib/tls/libc.so.6(__assert_fail+0x101)[0x7e0db1]
gccas(llvm::Function::getIntrinsicID() const+0x6df)[0x8469d75]
gccas((anonymous namespace)::Verifier::visitCallInst
(llvm::CallInst&)+0x51b)[0x8485ebd]
gccas(llvm::InstVisitor<(anonymous namespace)::Verifier,
::visitCall(llvm::CallInst&)+0x18)[0x84f09b2]
gccas(llvm::InstVisitor<(anonymous namespace)::Verifier, void>::visit
(llvm::Instruction&)+0x2e0)[0x84f15f2]
gccas(void llvm::InstVisitor<(anonymous namespace)::Verifier,
::visit<llvm::ilist_iterator<llvm::Instruction>
(llvm::ilist_iterator<llvm::Instruction>,
llvm::ilist_iterator<llvm::Instruction>)+0x45)[0x84f16c9]
gccas(llvm::InstVisitor<(anonymous namespace)::Verifier, void>::visit
(llvm::BasicBlock&)+0x67)[0x84f1749]
gccas(void llvm::InstVisitor<(anonymous namespace)::Verifier,
::visit<llvm::ilist_iterator<llvm::BasicBlock>
(llvm::ilist_iterator<llvm::BasicBlock>,
llvm::ilist_iterator<llvm::BasicBlock>)+0x45)[0x84f1791]
gccas(llvm::InstVisitor<(anonymous namespace)::Verifier, void>::visit
(llvm::Function&)+0x67)[0x84f1811]
gccas((anonymous namespace)::Verifier::runOnFunction
(llvm::Function&)+0x36)[0x84f184a]
gccas(llvm::PassManagerTraits<llvm::Function>::runPass
(llvm::FunctionPass*, llvm::Function*)+0x1f)[0x84c23dd]
gccas(llvm::PassManagerT<llvm::Function>::runOnUnit
(llvm::Function*)+0x668)[0x84d61ac]
gccas(llvm::PassManagerTraits<llvm::Function>::runOnFunction
(llvm::Function&)+0x1f)[0x84c24a9]
gccas(llvm::FunctionPass::runOnModule(llvm::Module&)+0xa0)[0x8477464]
gccas(llvm::PassManagerTraits<llvm::Module>::runPass(llvm::ModulePass*,
llvm::Module*)+0x1f)[0x84c2429]
gccas(llvm::PassManagerT<llvm::Module>::runOnUnit
(llvm::Module*)+0x668)[0x84d3e9e]
gccas(llvm::PassManagerTraits<llvm::Module>::runOnModule
(llvm::Module&)+0x1f)[0x84c2461]
gccas(llvm::PassManager::run(llvm::Module&)+0x25)[0x847684f]
gccas(main+0x755)[0x83351bd]
/lib/tls/libc.so.6(__libc_start_main+0xd3)[0x7d4e23]
gccas(__gxx_personality_v0+0xe9)[0x83346e1]
llvm-gcc: Internal error: Aborted (program as)
Please submit a full bug report.
See <URL:http://llvm.cs.uiuc.edu> for instructions.
llvm-dis: Standard Input empty!
XPASS: /proj/llvm/build/../llvm/test/Regression/CFrontend/2004-02-20-
StaticRedeclare.c.tr
FAIL: /proj/llvm/build/../llvm/test/Regression/CFrontend/2005-12-04-
DeclarationLineNumbers.c:
=== Summary ===
# of expected passes 1317
# of unexpected failures 4
# of unexpected successes 1
# of expected failures 37
make[1]: *** [check-local] Error 1
make[1]: Leaving directory `/proj/llvm/build/test'
make: *** [check] Error 2
The various intrinsic assert/crashes should all be fixed on mainline CVS (they are PR733, which I just fixed).
The only ones that I'm wary of are:
XPASS: /proj/llvm/build/../llvm/test/Regression/CFrontend/2004-02-20-
StaticRedeclare.c.tr
FAIL: /proj/llvm/build/../llvm/test/Regression/CFrontend/2005-12-04-
DeclarationLineNumbers.c:
In the former case, I would guess that the test isn't up-to-date with CVS? Can you check this? Alternatively, maybe the XFAIL marker isn't working?
In the case of the later, I messed up the test when I added an xfail for llvmgcc4. I've updated the test in CVS, Tanya, can you pull it into the release please?
-Chris
FreeBSD 5.4 (GCC 3.4.2) make check output:
llvm[0]: Running test suite
gmake[1]: Entering directory `/usr/home/jeffc/llvm/obj/test'
PATH="/usr/home/jeffc/llvm/obj/Debug/bin:/usr/home/jeffc/llvm/obj/Debug/examples:/usr/home/jeffc/llvm/obj/../test/Scripts:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/jeffc/bin:/home/jeffc/llvm-gcc/install/bin:/home/jeffc/llvm/obj/Release/bin:/home/jeffc/llvm/obj/Debug/bin" \
/usr/local/bin/runtest
WARNING: Couldn't find the global config file.
WARNING: No tool specified
Test Run By jeffc on Thu Apr 13 14:30:29 2006
Native configuration is i386-unknown-freebsd5.4
=== tests ===
Schedule of variations:
unix
Running target unix
Using /usr/local/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/local/share/dejagnu/config/unix.exp as generic interface file for target.
WARNING: Couldn't find tool config file for unix, using default.
Running /usr/home/jeffc/llvm/obj/../test/Feature/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Analysis/Andersens/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Analysis/BasicAA/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Analysis/DSGraph/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Analysis/Dominators/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Analysis/GlobalsModRef/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Analysis/LoadVN/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Analysis/LoopInfo/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Archive/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Assembler/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/BugPoint/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Bytecode/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/C++Frontend/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/CFrontend/dg.exp ...
XPASS: /usr/home/jeffc/llvm/obj/../test/Regression/CFrontend/2004-02-20-StaticRedeclare.c.tr
FAIL: /usr/home/jeffc/llvm/obj/../test/Regression/CFrontend/2005-12-04-DeclarationLineNumbers.c:
Running /usr/home/jeffc/llvm/obj/../test/Regression/CodeGen/Alpha/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/CodeGen/CBackend/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/CodeGen/Generic/GC/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/CodeGen/Generic/dg.exp ...
FAIL: /usr/home/jeffc/llvm/obj/../test/Regression/CodeGen/Generic/2006-04-11-vecload.ll:
Assertion failed: (isTypeLegal(Op.getValueType()) && "Caller should expand or promote operands that are not legal!"), function LegalizeOp, file /usr/home/jeffc/llvm/obj/../lib/CodeGen/SelectionDAG/LegalizeDAG.cpp, line 495.
Abort trap (core dumped)
FAIL: /usr/home/jeffc/llvm/obj/../test/Regression/CodeGen/Generic/vector.ll:
Assertion failed: (isTypeLegal(Op.getValueType()) && "Caller should expand or promote operands that are not legal!"), function LegalizeOp, file /usr/home/jeffc/llvm/obj/../lib/CodeGen/SelectionDAG/LegalizeDAG.cpp, line 495.
.text
.align 16
.globl test_f1
test_f1:
movl 4(%esp), %eax
flds (%eax)
movl 8(%esp), %eax
fadds (%eax)
movl 12(%esp), %eax
fstps (%eax)
#FP_REG_KILL
ret
.size test_f1, .-test_f1
.align 16
.globl test_f2
test_f2:
movl 4(%esp), %eax
flds 4(%eax)
movl 8(%esp), %ecx
fadds 4(%ecx)
flds (%eax)
fadds (%ecx)
movl 12(%esp), %eax
fxch %st(1)
fstps 4(%eax)
fstps (%eax)
#FP_REG_KILL
ret
.size test_f2, .-test_f2
.align 16
.globl test_f4
test_f4:
movl 4(%esp), %eax
movaps (%eax), %xmm0
movl 8(%esp), %eax
addps (%eax), %xmm0
movl 12(%esp), %eax
movaps %xmm0, (%eax)
ret
.size test_f4, .-test_f4
.align 16
.globl test_f8
test_f8:
movl 4(%esp), %eax
movaps 16(%eax), %xmm0
movl 8(%esp), %ecx
addps 16(%ecx), %xmm0
movaps (%eax), %xmm1
addps (%ecx), %xmm1
movl 12(%esp), %eax
movaps %xmm0, 16(%eax)
movaps %xmm1, (%eax)
ret
.size test_f8, .-test_f8
.align 16
.globl test_fmul
test_fmul:
movl 4(%esp), %eax
movaps 16(%eax), %xmm0
movl 8(%esp), %ecx
mulps 16(%ecx), %xmm0
movaps (%eax), %xmm1
mulps (%ecx), %xmm1
movl 12(%esp), %eax
movaps %xmm0, 16(%eax)
movaps %xmm1, (%eax)
ret
.size test_fmul, .-test_fmul
.align 16
.globl test_cst
test_cst:
subl $76, %esp
movl $1065353216, 16(%esp)
movl $1083179008, (%esp)
movaps 16(%esp), %xmm0
unpcklps (%esp), %xmm0
movl $1036831949, 48(%esp)
movl $1073741824, 32(%esp)
movaps 48(%esp), %xmm1
unpcklps 32(%esp), %xmm1
unpcklps %xmm0, %xmm1
movl 80(%esp), %eax
addps (%eax), %xmm1
movl 84(%esp), %eax
movaps %xmm1, (%eax)
addl $76, %esp
ret
.size test_cst, .-test_cst
.align 16
.globl test_zero
test_zero:
movl 4(%esp), %eax
xorps %xmm0, %xmm0
addps (%eax), %xmm0
movl 8(%esp), %eax
movaps %xmm0, (%eax)
ret
.size test_zero, .-test_zero
.align 16
.globl test_undef
test_undef:
movl 4(%esp), %eax
#IMPLICIT_DEF %xmm0
addps (%eax), %xmm0
movl 8(%esp), %eax
movaps %xmm0, (%eax)
ret
.size test_undef, .-test_undef
Abort trap (core dumped)
Running /usr/home/jeffc/llvm/obj/../test/Regression/CodeGen/IA64/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/CodeGen/PowerPC/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/CodeGen/SPARC/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/CodeGen/SparcV9/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/CodeGen/X86/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Debugger/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/ExecutionEngine/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Linker/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Other/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/TableGen/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Transforms/ADCE/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Transforms/ArgumentPromotion/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Transforms/BlockPlacement/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Transforms/CodeExtractor/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Transforms/CondProp/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Transforms/ConstProp/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Transforms/ConstantMerge/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Transforms/CorrelatedExprs/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Transforms/DSAnalysis/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Transforms/DeadArgElim/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Transforms/DeadStoreElimination/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Transforms/DecomposeMultiDimRefs/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Transforms/FunctionResolve/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Transforms/GCSE/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Transforms/GlobalDCE/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Transforms/GlobalOpt/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Transforms/IPConstantProp/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Transforms/IndVarsSimplify/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Transforms/Inline/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Transforms/InstCombine/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Transforms/LICM/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Transforms/LevelRaise/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Transforms/LoopSimplify/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Transforms/LoopStrengthReduce/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Transforms/LoopUnroll/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Transforms/LoopUnswitch/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Transforms/LowerInvoke/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Transforms/LowerSetJmp/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Transforms/LowerSwitch/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Transforms/Mem2Reg/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Transforms/PruneEH/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Transforms/RaiseAllocations/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Transforms/Reassociate/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Transforms/SCCP/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Transforms/ScalarRepl/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Transforms/SimplifyCFG/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Transforms/SimplifyLibCalls/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Transforms/TailCallElim/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Transforms/TailDup/dg.exp ...
Running /usr/home/jeffc/llvm/obj/../test/Regression/Verifier/dg.exp ...
=== Summary ===
# of expected passes 1317
# of unexpected failures 3
# of unexpected successes 1
# of expected failures 37
gmake[1]: *** [check-local] Error 1
gmake[1]: Leaving directory `/usr/home/jeffc/llvm/obj/test'
gmake: *** [check] Error 2
I just updated again (both llvm and llvm-gcc). The only thing that
changed was:
P test/Regression/CFrontend/2005-12-04-DeclarationLineNumbers.c
The regression test below was done *with* your llvm-gcc changes to llvm-
expand.c. I don't know what the failures are all about, but I will try
it again. If its the same, I'll let you know.
Reid.
I just updated again (both llvm and llvm-gcc). The only thing that
changed was:
P test/Regression/CFrontend/2005-12-04-DeclarationLineNumbers.cThe regression test below was done *with* your llvm-gcc changes to llvm-
expand.c. I don't know what the failures are all about, but I will try
it again. If its the same, I'll let you know.
Pardon the silly question, but did you make install llvm-gcc after pulling in the fixes?
If so, can you send me the output of llvm-gcc -S on one of those files that is asserting?
-Chris
> I just updated again (both llvm and llvm-gcc). The only thing that
> changed was:
> P test/Regression/CFrontend/2005-12-04-DeclarationLineNumbers.c
>
> The regression test below was done *with* your llvm-gcc changes to llvm-
> expand.c. I don't know what the failures are all about, but I will try
> it again. If its the same, I'll let you know.Pardon the silly question, but did you make install llvm-gcc after pulling
in the fixes?
Yes.
If so, can you send me the output of llvm-gcc -S on one of those files
that is asserting?
Okay.
The issue I had with Linux has been resolved. I was able to get the
deja-gnu tests to pass on a Linux release build by first installing
those release binaries into my PATH. Apparently running the debug
versions while doing the "make check" in optimized mode, causes the
failures. Why, I'm not sure.
In any event, in going through this adventure, I learned a few things:
1. Compiling LLVM with GCC 4.1 is 5x slower than 4.0.X and 4.1.1
prerelease didn't help that much. All 4.x are much slower than
3.4.x.
2. running (not building) llvm-gcc will use whatever gccas or gccld
is in your path at the time of the run, not at the time llvm-gcc
was configured. There needs to be an llvm-gcc configure option
that says, "--with-llvm=/path/to/llvm" so that specific (known)
executables can always be executed by llvm-gcc, not whatever
happens to be in the path at the time.
3. The deja-gnu tests suffer from the same problem. They use the
path, and not the build associated with them. Many people put
their llvm/Debug/bin directory in their path so "make check"
works fine. But if you "make check ENABLE_OPTIMIZED=1", its not
doing what you think it is .. its running your Debug executables
from your path, not the optimized ones. This needs to be
corrected.
4. Managing an environment with 4 GCC versions, 2 llvm-gcc
versions, 5 build trees but only one PATH variable, is
completely beyond my capabilities.
Reid.
The issue I had with Linux has been resolved. I was able to get the
Great!
3. The deja-gnu tests suffer from the same problem. They use the
path, and not the build associated with them. Many people put
their llvm/Debug/bin directory in their path so "make check"
works fine. But if you "make check ENABLE_OPTIMIZED=1", its not
doing what you think it is .. its running your Debug executables
from your path, not the optimized ones. This needs to be
corrected.
This should be easy enough to do. I believe the dejagnu script already adds llvm/test/Scripts to your path before executing tests, it should be easy enough for it to add llvm/{configuration}/bin also.
-Chris