cURL / Mailing Lists / curl-library / Single Mail


Re: test suite errors of 7.15.2 on debian

From: Daniel Stenberg <>
Date: Fri, 3 Mar 2006 15:53:47 +0100 (CET)

On Fri, 3 Mar 2006, Domenico Andreoli wrote:

> i made some tests using plain curl. it fails 253 and 255 regularly on my
> up-to-date debian unstable. it does not fail if i try with --disable-shared
> or --enable-debug.

Can you please try to edit lib/Makefile after you've run configure, and remove
-O2 from all over. Then rebuild and retest.

When I do that, it makes the tests pass successfully!

I also tried removing both -g and -O2 and it works too. But if I then add -O2
again the crash comes back!

Now, this is however not as "simple" as a bug in gcc -O2 as it still doesn't
happen if I build a stastic lib and use -O2...

And some info on my tools (for those who aren't tracking the bleeding debian

- gcc (GCC) 4.0.3 20060212 (prerelease) (Debian 4.0.2-9)
- (GNU libtool) 1.5.22 Debian 1.5.22-2 (1.1220.2.365 2005/12/18 22:14:06)
- automake 1.9.6
- autoconf 2.59

Anyone with some further ideas, suggestions or insights?

  Commercial curl and libcurl Technical Support:
Received on 2006-03-03