Re: [PATCH] hashmap: add API to disable item counting when threaded
- From
- Jeff Hostetler <git@jeffhostetler.com>
- Date
- Sep 6, 2017, 15:33 UTC
- Message-ID
- <495c2fde-5592-e878-347f-dc7be7517724@jeffhostetler.com>
- In-Reply-To
- <xmqqo9qoaab4.fsf@gitster.mtv.corp.google.com>
On 9/5/2017 9:24 PM, Junio C Hamano wrote:
Show 19 quoted lines
> Jeff Hostetler <git@jeffhostetler.com> writes: > >> From: Jeff Hostetler <jeffhost@microsoft.com> >> > > I feel somewhat stupid to say this, especially after seeing many > people applaud this patch, but I do not seem to be able to even > build Git with this patch. I am getting: > > common-main.o: In function `hashmap_get_size': > /home/gitster/w/git.git/hashmap.h:260: multiple definition of `hashmap_get_size' > fast-import.o:/home/gitster/w/git.git/hashmap.h:260: first defined here > libgit.a(argv-array.o): In function `hashmap_get_size': > /home/gitster/w/git.git/hashmap.h:260: multiple definition of `hashmap_get_size' > fast-import.o:/home/gitster/w/git.git/hashmap.h:260: first defined here > libgit.a(attr.o): In function `hashmap_get_size': > ... > > and wonder if others are building with different options or something..
That's odd. I'm not seeing that. My Ubuntu VM is reporting:
$ gcc --version
gcc (Ubuntu 6.2.0-5ubuntu12) 6.2.0 20161005I'll change it to static in the next version. Hopefully that will take care of it.
Thanks, Jeff