Bug 2351394

Summary: FTBFS: fex-emu in rawhide and f42
Product: [Fedora] Fedora Reporter: Davide Cavalca <davide>
Component: fex-emuAssignee: Davide Cavalca <davide>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: asahi-sig, davide, suraj.ghimire7
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: fex-emu-2502-3.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-03-16 04:41:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2350194    

Description Davide Cavalca 2025-03-11 15:28:37 UTC
/builddir/build/BUILD/fex-emu-2502-build/FEX-FEX-2502/ThunkLibs/Generator/gen.cpp:810:12: error: no matching member function for call to 'createDiagnostics'
  810 |   Compiler.createDiagnostics(DiagConsumer, false);
      |   ~~~~~~~~~^~~~~~~~~~~~~~~~~
/usr/lib64/llvm20/include/clang/Frontend/CompilerInstance.h:687:8: note: candidate function not viable: no known conversion from 'clang::DiagnosticConsumer *' to 'llvm::vfs::FileSystem &' for 1st argument  687 |   void createDiagnostics(llvm::vfs::FileSystem &VFS,   
      |        ^                 ~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib64/llvm20/include/clang/Frontend/CompilerInstance.h:710:3: note: candidate function not viable: no known conversion from 'clang::DiagnosticConsumer *' to 'llvm::vfs::FileSystem &' for 1st argument  710 |   createDiagnostics(llvm::vfs::FileSystem &VFS, DiagnosticOptions *Opts,
      |   ^                 ~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.


Reproducible: Always

Comment 1 Davide Cavalca 2025-03-14 18:36:22 UTC
This is LLVM 20, verified it builds fine with LLVM 19

Comment 2 Fedora Update System 2025-03-16 03:46:01 UTC
FEDORA-2025-34a18c0916 (fex-emu-2502-3.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-34a18c0916

Comment 3 Fedora Update System 2025-03-16 04:41:54 UTC
FEDORA-2025-34a18c0916 (fex-emu-2502-3.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.