Announcement

Collapse
No announcement yet.

Why doesn't PTS system-info see GCC?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Why doesn't PTS system-info see GCC?

    With phoronix test suite v7.8.0 and v8.0.1, system-info shows:
    Code:
    OPERATING SYSTEM:   Fedora 28
        Kernel:           4.17.18-200.fc28.x86_64 (x86_64)
        Desktop:          MATE 1.20.2
        Display Server:   X Server 1.19.6
        Compiler:         Clang 6.0.1 + LLVM 6.0.1 + CUDA 9.1
        Security:         SELinux + __user pointer sanitization + Full AMD retpoline IBPB + SSB disabled via prctl and seccomp Protection
    But GCC is installed:
    Code:
    $ gcc --version
    gcc (GCC) 8.1.1 20180712 (Red Hat 8.1.1-5)

  • #2
    No issues here on Fedora 28 with the same GCC build... Did you change your PATH with anything odd or anything of that like?
    Michael Larabel
    https://www.michaellarabel.com/

    Comment


    • #3
      Not to my knowledge.

      Code:
      $ $PATH
      bash: /usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/home/[USER]/.local/bin:/home/[USER]/bin: No such file or directory
      I noticed the lack of GCC when I ran a benchmark from an article and noticed the difference in compiler info between my system and the reference.

      Comment


      • #4
        I uninstalled Clang to see if that would remove some conflict. Still no GCC:
        Code:
          OPERATING SYSTEM:   Fedora 28
            Kernel:           4.17.18-200.fc28.x86_64 (x86_64)
            Desktop:          MATE 1.20.2
            Compiler:         LLVM 6.0.1 + CUDA 9.1
            Security:         SELinux + __user pointer sanitization + Full AMD retpoline IBPB Protection

        Comment


        • #5
          If you drop the ccache dir from the path does it work?
          Michael Larabel
          https://www.michaellarabel.com/

          Comment


          • #6
            Removing ccache from the PATH works! Isn't ccache installed by default? What could be messing up my system?

            Maybe unrelated, but I also noticed that some benchmarks are way off from the reference results for the same CPU. Eg. on my 2700X smallpt takes ~45 seconds while the reference is ~12s. But if I run PTS in docker it's 13s.

            Comment


            • #7
              Michael Could you perhaps test installing ccache on Fedora 28 to confirm the compiler reporting behavior with PTS?

              I believe ccache was installed when I installed the "C Development Tools and Libraries" group of packages. (dnf group install "C Development Tools and Libraries")

              Comment

              Working...
              X