[LLVMdev] [cfe-dev] -fsanitize=address on centos 6.4

Sharma, Yogesh Yogesh.Sharma at saabsensis.com
Mon Aug 19 09:26:40 PDT 2013


GNU ld version 2.20.51.0.2-5.36.el6 20100205
Copyright 2009 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.

From: Kostya Serebryany [mailto:kcc at google.com]
Sent: Monday, August 19, 2013 5:36 AM
To: Sergey Matveev
Cc: Sharma, Yogesh; llvmdev at cs.uiuc.edu
Subject: Re: [cfe-dev] -fsanitize=address on centos 6.4

+llvmdev (llvm-dev does not exist)

On Mon, Aug 19, 2013 at 12:58 PM, Sergey Matveev <earthdok at google.com<mailto:earthdok at google.com>> wrote:
> First, could you please run the test with env.var. ASAN_OPTIONS=verbosity=1

No need for that, actually, since this is a familiar issue. Sharma, could you please paste the output of "ldd --version" here?

Sergey

On Mon, Aug 19, 2013 at 12:53 PM, Kostya Serebryany <kcc at google.com<mailto:kcc at google.com>> wrote:
+llvm-dev, earthdok at google.com<mailto:earthdok at google.com>
bcc:cfe-dev

Hi Sharma,
We don't have centos, so we'd ask you for some assistance.
First, could you please run the test with env.var. ASAN_OPTIONS=verbosity=1

Sergey, this CHECK is yours, please take a look.

--kcc

On Fri, Aug 16, 2013 at 7:57 PM, Sharma, Yogesh <Yogesh.Sharma at saabsensis.com<mailto:Yogesh.Sharma at saabsensis.com>> wrote:
Hi,

I noticed that the SVN version of clang+llvm does not like -fsanitize=address on centos 6.4.  By "like" I mean it asserts anytime a thread is created.  With errors like:

==18015==AddressSanitizer CHECK failed: clang/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:251 "((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0xf2f7d030, 0xf2f7d000)

If I use the llvm+clang 3.3 version it works properly.
-
This message is intended only for the addressee and may contain information that is company confidential or privileged.  Any technical data in this message may be exported only in accordance with the U.S. International Traffic in Arms Regulations (22 CFR Parts 120-130) or the Export Administration Regulations (15 CFR Parts 730-774). Unauthorized use is strictly prohibited and may be unlawful. If you are not the intended recipient, or the person responsible for delivering to the intended recipient, you should not read, copy, disclose or otherwise use this message. If you have received this email in error, please delete it, and advise the sender immediately.
-
_______________________________________________
cfe-dev mailing list
cfe-dev at cs.uiuc.edu<mailto:cfe-dev at cs.uiuc.edu>
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev




This message is intended only for the addressee and may contain information that is company confidential or privileged. Any technical data in this message may be exported only in accordance with the U.S. International Traffic in Arms Regulations (22 CFR Parts 120-130) or the Export Administration Regulations (15 CFR Parts 730-774). Unauthorized use is strictly prohibited and may be unlawful. If you are not the intended recipient, or the person responsible for delivering to the intended recipient, you should not read, copy, disclose or otherwise use this message. If you have received this email in error, please delete it, and advise the sender immediately.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130819/8a68e552/attachment.html>


More information about the llvm-dev mailing list