New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ccache fails test suite with clang #22836
Comments
comment:1
Is it with both clang and gcc? |
comment:2
Yes, both clang and gcc. If I start with a Sage tarball and I set On the other hand, if I build Sage first and then do
|
comment:3
I can confirm both of these (with |
comment:4
OK the message for clang when starting from a sage build is caused by
the test is written with the results of a linux install in mind. It would fare better if things were identified from configure using ax_compiler_vendor.m4. It is really curious it fails the way it does if you build it as part of the toolchain. I think we may have a case where testing on OS X is just not currently supported. |
comment:5
Hum... So the test suite doesn't pass on OS X with either compilers but for me it is with slightly different errors. I didn't try to do it as part of a sage install. One thing that the test suite doesn't deal with properly is xcode's installed The latest version of ccache (3.3.4) still has the detection issue but I haven't checked yet if the test suite passes when configured properly. |
comment:6
ccache 3.3.4 passes its test suite on OS X sierra with clang and gcc-7.1.0. Gives up gracefully with /usr/bin/gcc
Still to be tested from a spkg but I think we should upgrade if we want the test suite to pass. |
Author: François Bissey |
Commit: |
comment:7
This branch upgrade to New commits:
|
Branch: u/fbissey/ccache-3.3.4 |
This comment has been minimized.
This comment has been minimized.
comment:8
Can you provide a link to a tarball, please? |
This comment has been minimized.
This comment has been minimized.
comment:9
Thanks for reminding me of that important requirement. |
comment:10
On OS X 10.13.2, passes tests with clang but not with Sage's gcc:
|
comment:11
That's new, I hadn't tested sage's gcc on OS X, only a pre-built binary of gcc-7.1.0. I am not submitting my laptop to build gcc again. I'll see if I can reproduce it with a pre made binary of 7.2.0. When you say it pass with |
comment:13
Replying to @jhpalmieri:
OK, that's one positive out of that. I'll have to figure out what is happening with gcc from sage. Any chance of you checking things on linux to see if it is OS X only? |
comment:14
I don't have easy access to any linux machine, unfortunately, nor do I have a virtual linux box on this one. |
comment:15
That's OK I have linux machines, I should eat my own dog food a little bit. |
comment:16
Replying to @kiwifb:
All right passes its tests here with sage's own gcc on Gentoo linux. So it is a OS X only issue. I note that it looks like the original report. I haven't tested sage's own gcc during this ticket because I don't like building it on my laptop. But pre-built gcc binaries have been fine. So I am starting to think that the root cause of this particular report is the way sage builds gcc on OS X. |
comment:17
Now that building sage on OS X uses clang by default, do we care so much about the problem with sage's own gcc? |
comment:18
Replying to @kcrisman:
Note that |
Reviewer: Ralf Stephan |
comment:19
LGTM. Sage builds and, after I touched the Cython files under |
Changed branch from u/fbissey/ccache-3.3.4 to |
Error:
This can be fixed by upgrading to ccache 3.3.4.
Upstream tarball:
https://www.samba.org/ftp/ccache/ccache-3.3.4.tar.bz2
Component: packages: optional
Author: François Bissey
Branch/Commit:
01c714a
Reviewer: Ralf Stephan
Issue created by migration from https://trac.sagemath.org/ticket/22836
The text was updated successfully, but these errors were encountered: