mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-28 16:58:49 +00:00
Merge branch '8' of salsa.debian.org:pkg-llvm-team/llvm-toolchain into 8
This commit is contained in:
commit
9df7b16ee3
10
debian/changelog
vendored
10
debian/changelog
vendored
@ -12,6 +12,16 @@ llvm-toolchain-8 (1:8~+rc3-1~exp1) unstable; urgency=medium
|
||||
|
||||
-- Sylvestre Ledru <sylvestre@debian.org> Thu, 28 Feb 2019 12:33:57 +0100
|
||||
|
||||
llvm-toolchain-8 (1:8~+rc2-1~exp3) UNRELEASED; urgency=medium
|
||||
|
||||
[ Gianfranco Costamagna ]
|
||||
* Commit Ubuntu delta to 8 and snapshot branches
|
||||
|
||||
[ Matthias Klose ]
|
||||
* Remove the autopkg test for a genuine LLVM bug.
|
||||
|
||||
-- Gianfranco Costamagna <locutusofborg@debian.org> Wed, 06 Mar 2019 10:16:17 +0100
|
||||
|
||||
llvm-toolchain-8 (1:8~+rc2-1~exp1) unstable; urgency=medium
|
||||
|
||||
* New snapshot release
|
||||
|
37
debian/qualify-clang.sh
vendored
37
debian/qualify-clang.sh
vendored
@ -201,43 +201,6 @@ clang-$VERSION -flto foo.c -o foo
|
||||
clang-$VERSION -fuse-ld=gold foo.c -o foo
|
||||
./foo > /dev/null
|
||||
|
||||
# Segfault https://bugs.llvm.org/show_bug.cgi?id=26580
|
||||
echo '
|
||||
extern int a;
|
||||
extern void bar (void);
|
||||
int main() {
|
||||
bar ();
|
||||
if (a != 30)
|
||||
__builtin_abort();
|
||||
return 0;
|
||||
}' > x.c
|
||||
|
||||
echo 'int a;
|
||||
__attribute__((visibility("protected"))) int a;
|
||||
void bar () {
|
||||
a = 30;
|
||||
}
|
||||
' > bar.c
|
||||
|
||||
# reported in https://bugs.llvm.org/show_bug.cgi?id=26580#c18
|
||||
if [ $DEB_HOST_ARCH != "i386" ]; then
|
||||
clang-$VERSION -O3 -c -o x.o x.c
|
||||
clang-$VERSION -O3 -fpic -c -o bar.o bar.c
|
||||
clang-$VERSION -fuse-ld=bfd -shared -o libfoo.so bar.o
|
||||
clang-$VERSION -fuse-ld=bfd -o y x.o libfoo.so -Wl,-R,.
|
||||
# Still failing, commenting
|
||||
./y || true
|
||||
fi
|
||||
|
||||
clang-$VERSION -O3 -c -o x.o x.c
|
||||
clang-$VERSION -O3 -fpic -c -o bar.o bar.c
|
||||
clang-$VERSION -fuse-ld=gold -shared -o libfoo.so bar.o
|
||||
# Still failing, commenting
|
||||
clang-$VERSION -fuse-ld=gold -o y x.o libfoo.so -Wl,-R,. || true
|
||||
|
||||
rm -f x.c bar.c libfoo.so bar.o y x.o
|
||||
|
||||
|
||||
# test thinlto
|
||||
echo "int foo(void) { return 0; }"> foo.c
|
||||
echo "int foo(void); int main() {foo(); return 0;}">main.c
|
||||
|
Loading…
Reference in New Issue
Block a user