[SERVER-1578] Compilation failed on Gentoo GCC-4.4 Created: 06/Aug/10 Updated: 12/Jul/16 Resolved: 11/Aug/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build |
| Affects Version/s: | 1.6.0 |
| Fix Version/s: | 1.6.1, 1.7.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Maxim Penzin | Assignee: | Mathias Stearn |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Gentoo Linux, gcc (Gentoo 4.4.3-r2 p1.2) 4.4.3, glibc 2.11.2 |
||
| Attachments: |
|
| Operating System: | Linux |
| Participants: |
| Description |
|
/mongodb-src-r1.6.0: scons . scons: Reading SConscript files ... |
| Comments |
| Comment by auto [ 11/Aug/10 ] |
|
Author: {'login': 'RedBeard0531', 'name': 'Mathias Stearn', 'email': 'mathias@10gen.com'}Message: check return from fwrite |
| Comment by auto [ 11/Aug/10 ] |
|
Author: {'login': 'RedBeard0531', 'name': 'Mathias Stearn', 'email': 'mathias@10gen.com'}Message: check return from fwrite |
| Comment by Benoit Larroque [ 11/Aug/10 ] |
|
Here is a diff file that corrected the issue on my computer (affects only util/log.h) |
| Comment by Benoit Larroque [ 11/Aug/10 ] |
|
The exact same error happens with gcc 4.3.4 $ g++ -v g++ -o client/examples/authTest.o -c -Wnon-virtual-dtor -fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -Werror -O3 -D_SCONS -DMONGO_EXPOSE_MACROS -DXP_UNIX -I. -I/versatile client/examples/authTest.cpp |