| | 59 | |
| | 60 | === Gold Linker Error === |
| | 61 | {{{ |
| | 62 | /usr/bin/gold: fatal error: out of file descriptors and couldn't close any |
| | 63 | }}} |
| | 64 | |
| | 65 | This is a bug in Gold Linker. See [http://sourceware.org/bugzilla/show_bug.cgi?id=10708 here][[BR]] |
| | 66 | To fix this try the following with root privileges and build: |
| | 67 | {{{ |
| | 68 | ulimit -n 65535 |
| | 69 | }}} |
| | 70 | |
| | 71 | If you don't have root privileges you should add the following in ''/etc/security/limits.conf'' file |
| | 72 | {{{ |
| | 73 | * hard nofile 65535 |
| | 74 | }}} |
| | 75 | |
| | 76 | This might need restarting X11/reboot. |
| | 77 | |
| | 78 | If you wan't a quick temporary workaround, try the following. (Tested in Ubuntu 10.10) |
| | 79 | {{{ |
| | 80 | sudo -s; |
| | 81 | ulimit -n 65535; |
| | 82 | exec su - yourusername |
| | 83 | }}} |