Re: [PATCH 3/3] libsanitizer: add LFS guards

2013-04-05 Thread Jakub Jelinek
On Fri, Apr 05, 2013 at 11:46:44AM +0200, Bernhard Reutner-Fischer wrote: > > >> --- a/libsanitizer/sanitizer_common/sanitizer_allocator.cc > > >> +++ b/libsanitizer/sanitizer_common/sanitizer_allocator.cc > > >> @@ -9,11 +9,13 @@ > > >> // run-time libraries. > > >> // This allocator that is use

Re: [PATCH 3/3] libsanitizer: add LFS guards

2013-04-05 Thread Bernhard Reutner-Fischer
On 5 April 2013 08:42, Konstantin Serebryany wrote: > > On Fri, Apr 5, 2013 at 10:37 AM, Jakub Jelinek wrote: > > On Thu, Apr 04, 2013 at 09:53:30PM +0200, Bernhard Reutner-Fischer wrote: > >> uClibc can be built without Largefile support, add the corresponding > >> guards. uClibc does not have _

Re: [PATCH 3/3] libsanitizer: add LFS guards

2013-04-04 Thread Konstantin Serebryany
On Fri, Apr 5, 2013 at 10:37 AM, Jakub Jelinek wrote: > On Thu, Apr 04, 2013 at 09:53:30PM +0200, Bernhard Reutner-Fischer wrote: >> uClibc can be built without Largefile support, add the corresponding >> guards. uClibc does not have __libc_malloc()/__libc_free(), add guard. > > Ugh, this is very

Re: [PATCH 3/3] libsanitizer: add LFS guards

2013-04-04 Thread Jakub Jelinek
On Thu, Apr 04, 2013 at 09:53:30PM +0200, Bernhard Reutner-Fischer wrote: > uClibc can be built without Largefile support, add the corresponding > guards. uClibc does not have __libc_malloc()/__libc_free(), add guard. Ugh, this is very ugly. In addition to the stuff mentioned by Konstantin that t

Re: [PATCH 3/3] libsanitizer: add LFS guards

2013-04-04 Thread Konstantin Serebryany
[resending in plain text] On Fri, Apr 5, 2013 at 10:24 AM, Konstantin Serebryany wrote: > Hi Bernhard, > > The libsanitizer code is the exact copy of some revision of the upstream > code in LLVM repo. > libsanitizer/README.gcc: > Trivial and urgent fixes (portability, build fixes, etc.) may go

[PATCH 3/3] libsanitizer: add LFS guards

2013-04-04 Thread Bernhard Reutner-Fischer
uClibc can be built without Largefile support, add the corresponding guards. uClibc does not have __libc_malloc()/__libc_free(), add guard. libsanitizer/ChangeLog 2013-03-24 Bernhard Reutner-Fischer * sanitizer_common/sanitizer_allocator.cc (libc_malloc, libc_free): Guard with