[LLVMdev] [cfe-dev] 3.6.2-rc1 has been tagged. Testers needed.

Dan Liew dan at su-root.co.uk
Mon Jul 6 21:13:46 PDT 2015


On 6 July 2015 at 20:29, Ben Pope <benpope81 at gmail.com> wrote:
> I've built 3.6.2 final.  I changed the triple as suggested.
>
> I've uploaded two archives here:

<snip>

>
> clang+llvm-3.6.2-x86_64-linux-gnu-ubuntu-14.04.tar.xz is the one produced by
> the release script.
>
> To produce clang+llvm-3.6.2-x86_64-linux-gnu-ubuntu-14.04.installed.tar.xz I
> basically did:
> cd Phase3/Release/llvmCore-3.6.2-final.obj/
> make install
> cd ../llvmCore-3.6.2-final.install/
> tar cavf
> ../../../clang+llvm-3.6.2-x86_64-linux-gnu-ubuntu-14.04.installed.tar.xz
> --transform 's,^,clang+llvm-3.6.2-x86_64-linux-gnu-ubuntu-14.04/,' *
>
> I hope that helps.

Thanks.

I diffed the contents of your old tarball looking for files that only
exist in one of the tarballs.

```
$ diff --recursive -q clang+llvm-3.6.2-rc1-x86_64-linux-gnu
clang+llvm-3.6.2-x86_64-linux-gnu-ubuntu-14.04 | grep ^Only
diff: clang+llvm-3.6.2-x86_64-linux-gnu-ubuntu-14.04/bin/clang++: No
such file or directory
diff: clang+llvm-3.6.2-x86_64-linux-gnu-ubuntu-14.04/bin/llvm-ranlib:
No such file or directory
Only in clang+llvm-3.6.2-x86_64-linux-gnu-ubuntu-14.04/docs/llvm/html:
Dummy.html
Only in clang+llvm-3.6.2-x86_64-linux-gnu-ubuntu-14.04/docs/llvm: ps
Only in clang+llvm-3.6.2-x86_64-linux-gnu-ubuntu-14.04/share: llvm
```

So I see the missing CMake files are present however there are new issues.

- The symlinks to clang++ and llvm-ranlib are now broken :(

```
$ ls -l clang+llvm-3.6.2-x86_64-linux-gnu-ubuntu-14.04/bin/clang++
lrwxrwxrwx 1 dsl11 multicore 52 Jul  7 03:54
clang+llvm-3.6.2-x86_64-linux-gnu-ubuntu-14.04/bin/clang++ ->
clang+llvm-3.6.2-x86_64-linux-gnu-ubuntu-14.04/clang

$ ls -l clang+llvm-3.6.2-rc1-x86_64-linux-gnu/bin/clang++
lrwxrwxrwx 1 dsl11 multicore 5 Jun 24 02:48
clang+llvm-3.6.2-rc1-x86_64-linux-gnu/bin/clang++ -> clang

$ ls -l clang+llvm-3.6.2-x86_64-linux-gnu-ubuntu-14.04/bin/llvm-ranlib
lrwxrwxrwx 1 dsl11 multicore 54 Jul  7 03:53
clang+llvm-3.6.2-x86_64-linux-gnu-ubuntu-14.04/bin/llvm-ranlib ->
clang+llvm-3.6.2-x86_64-linux-gnu-ubuntu-14.04/llvm-ar

$  ls -l clang+llvm-3.6.2-rc1-x86_64-linux-gnu/bin/llvm-ranlib
lrwxrwxrwx 1 dsl11 multicore 7 Jun 24 02:48
clang+llvm-3.6.2-rc1-x86_64-linux-gnu/bin/llvm-ranlib -> llvm-ar
```
I think the ``--transform`` line you are passing to tar command might
be doing this.

- There are additional files (Dummy.html and the ps directory). This is minor.

I don't understand why these weird install issues are coming up. Do
the logs ($LogDir/llvm.install-Phase$Phase-$Flavor.log) created by the
``test-release.sh`` script shed any light?

I'm going to try building LLVM in a clean Docker container when I get
home to see if I can reproduce what you're seeing.



More information about the llvm-dev mailing list