| Summary: | dev-util/lcov-1.9-r1 crashed with "Out of memory" error together with gcc-4.7.1 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | poletti.marco |
| Component: | [OLD] Development | Assignee: | Olivier Crete (RETIRED) <tester> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | CC: | dev-tools |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
Please post your `emerge --info' output in a comment. Sorry, I can't reproduce this anymore with 4.7.2, so I am closing this. If someone else has a similar problem, try running: lcov -c -d . --gcov-tool /usr/bin/gcov-4.7.1 This fixes the issue with gcc-4.7.2, and I have no system with gcc-4.7.1 where I can test this. |
When using lcov-1.9-r1 with gcc-4.7.1, an out of memory error is reported: > lcov -c -d . Capturing coverage data from . Found gcov version: 4.5.4 Scanning . for .gcda files ... Found 1 data files in . Processing main.gcda Out of memory! > This is the problem that the patch already in portage is supposed to fix, but it still happens. It happens even just with the following code: int main() { return 0; } I tried both gcc and g++, and it happens in both.