In depends the qt package ignores CC,CXX variables #22184

issue hebasto opened this issue on June 8, 2021
  1. hebasto commented at 12:01 AM on June 8, 2021: member

    System - Hirsute 21.04 with GCC 10.3.0.

    Also, GCC 11.1.0 was installed:

    $ g++-11 --version
    g++-11 (Ubuntu 11.1.0-1ubuntu1~21.04) 11.1.0
    Copyright (C) 2021 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    
    

    Running make -C depends qt_configured CC=gcc-11 CXX=g++-11, I got:

    ...
    Configure summary:
    
    Building on: linux-g++ (x86_64, CPU features: mmx sse sse2)
    Building for: linux-g++-64 (x86_64, CPU features: mmx sse sse2)
    Target compiler: gcc 10.3.0
    ...
    
  2. hebasto added the label Bug on Jun 8, 2021
  3. hebasto added the label Build system on Jun 8, 2021
  4. hebasto commented at 12:02 AM on June 8, 2021: member
  5. dongcarl commented at 5:10 PM on June 8, 2021: contributor

    Sort of related to #21412, we need to recognize {CC,{C,CPP,LD}FLAGS}_FOR_BUILD vars in depends

  6. hebasto commented at 6:41 PM on June 8, 2021: member

    Also related to #18820.

  7. hebasto commented at 7:17 AM on August 27, 2021: member

    QMAKE_CC and QMAKE_CXX are hardcoded in mkspecs/common/g++-base.conf :disappointed:

  8. hebasto cross-referenced this on Sep 8, 2021 from issue test: Switch multiprocess to clang i686 build by MarcoFalke
  9. hebasto cross-referenced this on Sep 25, 2021 from issue release: increase minimum compiler and lib(std)c++ requirements by fanquake
  10. fanquake referenced this in commit 155efaefee on Aug 11, 2022
  11. fanquake referenced this in commit f033fb6656 on Aug 11, 2022
  12. fanquake referenced this in commit 397a644197 on Aug 11, 2022
  13. fanquake cross-referenced this on Aug 11, 2022 from issue build: use package_cc for linux qt build by fanquake
  14. fanquake referenced this in commit a051495a90 on Aug 12, 2022
  15. fanquake referenced this in commit 11d1fec3ae on Aug 12, 2022
  16. hebasto referenced this in commit 94dfad50d1 on Aug 13, 2022
  17. hebasto referenced this in commit 3671ba8514 on Aug 13, 2022
  18. hebasto cross-referenced this on Aug 13, 2022 from issue build, qt: Use `mkspecs/bitcoin-linux-g++` for all Linux hosts by hebasto
  19. fanquake closed this on Aug 15, 2022

  20. bitcoin locked this on Aug 15, 2023

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-20 06:54 UTC