Skip to content

ccache misses everything #1159

@bates64

Description

@bates64

This is because ccache doesn't cache when the input comes from stdin. We can fix this by either

  1. calling gcc proper; or
  2. piping cpp output to an intermediary .i file and then using the path of that file for cc1

instead of piping cpp into cc1 into as. We do this because we want to use modern cpp. To solve (1) maybe we can replace cpp in the gcc2.8.1 directory with a symlink to the modern cpp?

I prefer (1) because not invoking bash for every cc task will save build time.

Blocks #1151

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbuild systemRelates to build system internals like configure.py

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions