Week 2 Day 1: So, the project decided. Its porting LLVM compiler into AEMB. Time to get the code. Should get svn version or release version? First, lets try the svn version. The error said:

svn: Malformed XML: not well-formed (invalid token)

Eh? What now? This must not be the only problem on this earth. Google it, found this.

Week 2 Day 2: Spent the whole day try to hand-tweak each time the problem occurred. Still stuck.

Week 2 Day 3: Cloning svn version of llvm is going nowhere. Same problem keep coming, “Malformed XML”. Time to download their release version. It seems that this can be trusted. But suddenly cannot extract the tarballs file. What is happening here??

Week 2 Day 4: The problem of extracting tarball of all llvm packages solved. Seems like the machines and the server is not in sync, so the byte count and the md5sum check is different from the original file, in other words, the files were not downloaded completely and properly.

Week 2 Day 5: llvm-gcc front end installed without error. But new problem occurs. configuring llvm-OK. make-OK. make install-NOT OK!

Just in case everybody wondering, this is the error.

...
...
...
/usr/bin/install: `./llvm/IntrinsicsX86.td' and `/home/users/shaiful/projects/build//include/./llvm/IntrinsicsX86.td' are the same file
/usr/bin/install: `./llvm/Linker.h' and `/home/users/shaiful/projects/build//include/./llvm/Linker.h' are the same file
make: *** [install-local] Error 1

Lets try again next week.