Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

make: ccache leads to differing binaries #14264

Open
kaspar030 opened this issue Jun 11, 2020 · 0 comments
Open

make: ccache leads to differing binaries #14264

kaspar030 opened this issue Jun 11, 2020 · 0 comments
Assignees
Labels
Area: build system Area: Build system Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)

Comments

@kaspar030
Copy link
Contributor

kaspar030 commented Jun 11, 2020

Description

Currently, modules are built by cd'ing into the module folder, then calling gcc with the absolute path of a source file. ccache strips absolute paths in order to cache properly.

This leads to different binaries depending on whether ccache has a cache hit or miss, or if it is used at all, if a source file uses e.g., __FILE__.

See #14262 for a possible fix.

Steps to reproduce the issue

Expected results

Actual results

Versions

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Area: build system Area: Build system Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)
Projects
None yet
Development

No branches or pull requests

3 participants