[SERVER-19595] Inconsistent build failures Created: 24/Jul/15  Updated: 27/Jul/15  Resolved: 27/Jul/15

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Nathaniel Kofalt Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu 64-bit


Operating System: ALL
Participants:

 Description   

We're seeing inconsistent build failures. Our build process:

```
wget https://github.com/mongodb/mongo/archive/r2.6.9.tar.gz -O download.tar.gz
tar -xf download.tar.gz --strip-components 1

nice scons mongod mongo \
--disable-warnings-as-errors \
-j8 \
--prefix=some/dir
```

( This is with scons 2.3.5, also compiled from source. )

We frequently see problems such as:

standard input}: Assembler messages:
{standard input}:3946: Warning: end of file not at end of a line; newline inserted
{standard input}:5496: Error: unknown pseudo-op: `.lfe19552'
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
scons: *** [build/linux2/normal/mongo/s/d_migrate.o] Error 4
scons: building terminated because of errors.
travis_time:end:0f950ce8:start=1437756652159370075,finish=1437757098978616856,duration=446819246781

or:

g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
scons: *** [build/linux2/normal/mongo/db/client.o] Error 4
scons: building terminated because of errors.

For full build logs, you can have a look at CI results on this PR: https://github.com/scitran/scitran/pull/44

Notably, the only success was "Update travis note", which was a comment-only change.

Any idea what's causing repeatability failures in our build?



 Comments   
Comment by Ramon Fernandez Marina [ 27/Jul/15 ]

NathanielKofalt, the error messages you're seeing are coming from the compiler, which is asking you to submit a bug report for the compiler. If you're using a version of gcc or binutils that's too new or too old there could be some issues. I'd suggest you try with gcc 4.8, which is what we're currently using.

Since we keep the SERVER project for reporting bugs or feature suggestions for the MongoDB server I'm going to close this ticket. For MongoDB-related support discussion please post on the mongodb-user group or Stack Overflow with the mongodb tag, where your question will reach a larger audience. A question like this involving more discussion would be best posted on the mongodb-user group.

Regards,
Ramón.

Comment by Nathaniel Kofalt [ 24/Jul/15 ]

Apologies - I did not see the project field. This ticket should be moved to the correct project.

Generated at Thu Feb 08 03:51:29 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.