I was trying to set up Ninja for building Chromium on Linux, and I'm
hitting that problem mentioned in the wiki page:
http://code.google.com/p/chromium/wiki/NinjaBuild#Troubleshooting
I've tried updating my version of gold, but that didn't fix it.
$ ld -v
GNU ld (GNU Binutils for Ubuntu) 2.20.1-system.20100303
Any ideas?
Thanks,
Jorge
See http://code.google.com/p/chromium/wiki/NinjaBuild and search for "threads".
So, the section that mentions "threads" in that wiki is the one I linked below:
>> http://code.google.com/p/chromium/wiki/NinjaBuild#Troubleshooting
>>
>> I've tried updating my version of gold, but that didn't fix it.
>>
>> $ ld -v
>> GNU ld (GNU Binutils for Ubuntu) 2.20.1-system.20100303
The solution from the wiki is to run ./build/install-build-deps.sh
(which I ran). That resulted in the gold version I show above, which
does not fix the problem.
Any ideas?
Thanks,
Jorge
Sorry for my poor reading comprehension!
>>> I've tried updating my version of gold, but that didn't fix it.
>>>
>>> $ ld -v
>>> GNU ld (GNU Binutils for Ubuntu) 2.20.1-system.20100303
>
> The solution from the wiki is to run ./build/install-build-deps.sh
> (which I ran). That resulted in the gold version I show above, which
> does not fix the problem.
Ah, you'll need to adjust your path such that the install-build-deps
build of gold is what you get when you run "ld". The instructions are
broken due to that script changing; you might bring it up on
chromium-dev.
To be clear, the version output you pasted is *not* gold, it's the system ld.
Yes, Craig Schlenter mentioned that in a private email. I ended up
installing binutils-gold with apt and that configured gold as 'ld'.
Thanks for the help!
Jorge
Be careful -- if you have nvidia drivers, when they upgrade they
attempt to recompile themselves and using gold to do so makes your
system unbootable. (Also, the Lucid version of gold doesn't work;
people filed bugs against Ubuntu but they don't seem interested in
fixing them...)
OK, thanks for the heads-up =).