Public bug reported:

Shortly:

    $ clang -dumpversion
    4.2.1
    $ clang -v 2>&1 | head -1
    clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)

one of those is wrong. Looks like the former as I have
1:6.0-41~exp5~ubuntu1 clang package installed.

That's problematic as I use dumpversion to script compiler capability
detection.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: clang 1:6.0-41~exp5~ubuntu1
ProcVersionSignature: Ubuntu 4.15.0-42.45-generic 4.15.18
Uname: Linux 4.15.0-42-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
CurrentDesktop: KDE
Date: Mon Jan  7 23:08:33 2019
EcryptfsInUse: Yes
InstallationDate: Installed on 2017-01-25 (712 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
SourcePackage: llvm-defaults
UpgradeStatus: Upgraded to bionic on 2018-05-14 (238 days ago)

** Affects: llvm-defaults (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1810860

Title:
  clang -dumpversion reports invalid version

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/llvm-defaults/+bug/1810860/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to