Out of memory when compiling libQtWebKit on X1000... WTF??

1 post / 0 new
alfkil
alfkil's picture
Offline
Last seen: 2 years 8 months ago
Joined: 2011-05-10 22:02
Out of memory when compiling libQtWebKit on X1000... WTF??

This is very strange: libQtWebKit.so compiles perfectly well on my faithful old SAM440 with 1 GB ram. When compiling the exact same sourcebase on my shiny new X1000 with 2 gigs, I get the following error:

ld: Warning: gc-sections option ignored
ld: final link failed: Memory exhausted

When I do it (the compiling) whilst watching the memory counter in the workbench title, I see oozes of memory just floating away, and when it reaches a little above 550.000, it suddenly stops, and a few moments later the error pops up. (After the error, the memory seems to be returned to the system, but with a few 100 MB cut off, so I suspect there is a memory leak also.)

What the...??