Skip to content

Conversation

ken2812221
Copy link
Contributor

@ken2812221 ken2812221 commented Jul 12, 2018

After #12686 merged, ccache store huge size of .o files, simply get rid of those useless debug info.

Fixes #13748

@ken2812221
Copy link
Contributor Author

ping @theuni

@laanwj laanwj added Bug Tests and removed Bug labels Jul 12, 2018
@laanwj
Copy link
Member

laanwj commented Jul 12, 2018

Doesn't this override the flags completely, so also change optimization etc? (not that it probably matters)

@sipa
Copy link
Member

sipa commented Jul 12, 2018

From the Travis log:

CXXFLAGS      =  -Og -g3 -ftrapv  -Wstack-protector -fstack-protector-all     -pipe -O1 -g0

So it seems it isn't being overridden.

@laanwj
Copy link
Member

laanwj commented Jul 12, 2018

That's weird. It even still passes in -g3. So I'd hope the last-passed option is effective?

@ken2812221
Copy link
Contributor Author

ken2812221 commented Jul 13, 2018

Yes, the latter option can override the previous one.
Restarted that job, and you can se the effect.

@laanwj laanwj requested a review from theuni July 13, 2018 17:28
@DrahtBot
Copy link
Contributor

DrahtBot commented Jul 13, 2018

Note to reviewers: This pull request conflicts with the following ones:

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

@maflcko
Copy link
Member

maflcko commented Jul 23, 2018

On travis the time is back to 10 minutes and the flags are appended

https://travis-ci.org/bitcoin/bitcoin/jobs/405944009#L2388

ACK from me

@maflcko
Copy link
Member

maflcko commented Jul 23, 2018

@theuni Any objections to merge 14788fb?

@maflcko maflcko merged commit 14788fb into bitcoin:master Jul 24, 2018
maflcko pushed a commit that referenced this pull request Jul 24, 2018
14788fb [travis] Don't store debug info if --enable-debug is set (Chun Kuan Lee)

Pull request description:

  After #12686 merged, ccache store huge size of .o files, simply get rid of those useless debug info.

  Fixes #13748

Tree-SHA512: fb404e2c7d52cd8266548433955c41683ede062f97c8fb7098a887f164bcde48b60e5e533a0a27c7e095fdd9ef88db018b8689adebb2c0e32c8957828629e346
@ken2812221 ken2812221 deleted the travis-debug-fix branch July 25, 2018 00:06
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

travis job x86_64 Linux with qt5 dev packages takes always 40 minutes (missing cache?)
5 participants