Commit 3db067f0 authored by Sylvestre Ledru's avatar Sylvestre Ledru

Remove the autopkg test for a genuine LLVM bug.

parent 5e5a5e62
llvm-toolchain-7 (1:7.1.0~svn353565-1~exp1) UNRELEASED; urgency=medium
llvm-toolchain-7 (1:7.1.0~svn354203-1~exp1) experimental; urgency=medium
* New stable release.
To be clear, this is the same as release 7.0.1
......@@ -15,7 +15,10 @@ llvm-toolchain-7 (1:7.1.0~svn353565-1~exp1) UNRELEASED; urgency=medium
More info on https://bugs.llvm.org/show_bug.cgi?id=39427
and https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=913271
-- Sylvestre Ledru <sylvestre@debian.org> Sat, 09 Feb 2019 16:34:12 +0100
[ Matthias Klose ]
* Remove the autopkg test for a genuine LLVM bug.
-- Sylvestre Ledru <sylvestre@debian.org> Sat, 16 Feb 2019 17:16:16 +0100
llvm-toolchain-7 (1:7.0.1-7) unstable; urgency=medium
......
......@@ -193,43 +193,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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment