Bug 1309535

Summary: clang -print-file-name=include fails
Product: [Fedora] Fedora Reporter: Mattias Ellert <mattias.ellert>
Component: clangAssignee: Dave Airlie <airlied>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: rawhideCC: airlied, ajax, bos, davejohansen, dmalcolm, jv+fedora, petersen, ppisar, scottt.tw
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-18 07:34:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1309295    

Description Mattias Ellert 2016-02-18 04:18:39 UTC
Description of problem:

$ clang -print-file-name=include
: CommandLine Error: Option 'track-memory' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options

Version-Release number of selected component (if applicable):

$ rpm -q clang
clang-3.7.1-4.fc24.x86_64

How reproducible:

Always

Steps to Reproduce:
1. clang -print-file-name=include

Actual results:

Error

Expected results:

Similar to what clang returns on F23 (but with slightly diffrent paths obviously):

$ clang -print-file-name=include
/usr/bin/../lib/clang/3.7.0/include
$ rpm -q clang
clang-3.7.0-4.fc23.x86_64

Additional info:

This is a recent regression - llvm.x86_64 3.7.1-1.fc24 did work - so it was working on F24 before. Something happened since then.

Comment 1 Mattias Ellert 2016-02-18 04:46:35 UTC
clang has its own component in F24. Reassigning.

Comment 2 Petr Pisar 2016-02-18 07:34:33 UTC

*** This bug has been marked as a duplicate of bug 1309055 ***