|
|
Message-ID: <20120824110153.GA23569@port70.net>
Date: Fri, 24 Aug 2012 13:01:53 +0200
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: Re: build musl with clang
* agent <agentprog@...il.com> [2012-08-24 16:37:32 +0600]:
> i have built clang from trunk and tried the calloc test. when test
> program is linked dynamically to libc.so it fails it. if it linked
> statically -- it passes ok.
>
so the bug is still present
try to make a minimal testcase
eg.
void *f()
{
char *p;
p = malloc(100);
if (p && p[0])
p[0] = 0;
return p;
}
and compile with -O3 -ffreestanding -S
if the check is eliminated then it's a bug
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.