Fixed breaks&replace dependency and some unit test fixes

Pauli suokkos at gmail.com
Thu Nov 3 22:23:58 UTC 2016


Hi,

Attached patches fix some libc++ unit tests and dependency an issue.

I added versioned build dependency to clang. Versioned dependency is
only required for i386 packages. i386 version of package should be
build with two attached clang patches to generate code correctly for
i686 instead of clang's default pentium4 for 32 bit x86.

There is also a fix for lldb where it fails to work at all if default
version lldb-server (/usr/bin/lldb-server) isn't installed. Proper fix
that would use lldb from correct versioned llvm path
(/usr/lib/llvm-$(VERSION)/bin/lldb-server) would require a lot more
changes. This patch requires modification to debian/rules to pass
correct version number from cmake to compiler. It is to include
vertical bar prefix in the DEBIAN_VERSION_SUFFIX to let lldb find
correct lldb-server

Test suit status:
amd64 everything passed
i386 everything passed a bit earlier but I have made arm fixes after that
arm64 everything passed earlier but most fixes has been done after
running tests (test suit fix for memcmp return value magnitude changes
included)
armhf test suit is running currently ETA: 6 hours. Exception support
requires EHABI support (fix for EHABI included)
s390x Test suit can't be run because python is unstable. libc++abi
tests are known to pass without exceptions. Exceptions are broken.
powerpc libc++abi tests pass. I haven't run full libc++ tests yet
(demangle test case fix/workaround included)

Linker flags:
Default -wl,-Bsymbolic can't be used with libc++ because it would
prevent user code from overload global new and delete operators
correctly. With symbolic enabled would always call default global new
operator from libc++ code.

Pauli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libcxx-dependency-and-unit-test-fixes.patch
Type: text/x-patch
Size: 18367 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20161104/3a81a6c6/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-default-to-i686-on-32bit-x86-targets.patch
Type: text/x-patch
Size: 535 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20161104/3a81a6c6/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-fix-cmpxchg8-detection-on-i386.patch
Type: text/x-patch
Size: 2713 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20161104/3a81a6c6/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lldb-addversion-suffix-to-llvm-server-exec.patch
Type: text/x-patch
Size: 1753 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20161104/3a81a6c6/attachment-0007.bin>


More information about the Pkg-llvm-team mailing list