I have a nightly build that builds a source tree with several compilers/options. I'm using buildbot on centos 6, though I doubt that buildbot has any relation to the problem.
Sometimes the build fails with a bunch of messages like:
Assembler messages: Error: can't open /tmp/ccqjY5HV.s for reading: No such file or directory
My first guess is that something is deleting these files behind the compiler's back. I've looked at the tmpwatch cron job but the setup doesn't seem like a culprit.
The failures seem to happen around 10pm when several builds launch. The actual compiles are locked so that only one compile happens at a time.
Any thoughts welcome.
I found that adding -pipe
to my gcc command resolved these issues.
-pipe
Use pipes rather than temporary files for communication between the various stages of compilation. This fails to work on some systems where the assembler is unable to read from a pipe; but the GNU assembler has no trouble.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With