[llvm-dev] apt.llvm.org has the wrong binaries/headers for llvm-toolchain-xenial-7
Andrew Kelley via llvm-dev
llvm-dev at lists.llvm.org
Wed Nov 28 07:42:55 PST 2018
Here's further proof:
wget
http://apt.llvm.org/xenial/pool/main/l/llvm-toolchain-7/llvm-7-dev_7.0.1~svn347285-1~exp1~20181124105320.40_amd64.deb
ar vx llvm-7-dev_7.0.1~svn347285-1~exp1~20181124105320.40_amd64.deb
tar xvf data.tar.xz
grep Hurd usr/include/llvm-7/llvm/ADT/Triple.h
Hurd, // GNU/Hurd
LastOSType = Hurd
/// Tests whether the OS is Hurd.
bool isOSHurd() const {
return getOS() == Triple::Hurd;
getOS() == Triple::Hurd) &&
grep Hurd ~/downloads/llvm_release_70/include/llvm/ADT/Triple.h
(nothing)
>> From: Andrew Kelley <superjoe30 at gmail.com>
>> Date: Mon, Nov 26, 2018 at 10:38 AM
>> Subject: apt.llvm.org has the wrong binaries/headers for llvm-toolchain-xenial-7
>> To: LLVM Dev <llvm-dev at lists.llvm.org>
>>
>>
>> This build worked on Nov 24 and stopped working Nov 25.
>>
>> 2018-11-25T16:48:47.6020966Z + sudo sh -c echo "deb
>> http://apt.llvm.org/xenial/ llvm-toolchain-xenial-7 main" >>
>> /etc/apt/sources.list
>> ...
>> 2018-11-25T16:53:30.7836235Z
>> /home/vsts/work/1/s/src/zig_llvm.cpp:686:1: error: static assertion
>> failed
>> 2018-11-25T16:53:30.7837134Z
>> static_assert((Triple::OSType)ZigLLVM_LastOSType ==
>> Triple::LastOSType, "");
>> 2018-11-25T16:53:30.7837409Z ^~~~~~~~~~~~~
>> full logs https://dev.azure.com/ziglang/zig/_build/results?buildId=229&view=logs
>>
>> The version on apt.llvm.org has
>> HermitCore, // HermitCore Unikernel/Multikernel
>> LastOSType = HermitCore
>>
>> But llvm 7.0.0 and 7.0.1 have
>> AMDPAL, // AMD PAL Runtime
>> LastOSType = AMDPAL
>>
>> Downstream issue https://github.com/ziglang/zig/issues/1788
>>
>> Is anyone working on this?
>>
>> Regards,
>> Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181128/2d23fe9b/attachment.sig>
More information about the llvm-dev
mailing list