cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: test suite errors of 7.15.2 on debian

From: Domenico Andreoli <cavok_at_tiscali.it>
Date: Fri, 3 Mar 2006 16:38:20 +0100

On Fri, Mar 03, 2006 at 03:53:47PM +0100, Daniel Stenberg wrote:
> 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 unstable)
>
> - 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?

i tried with gcc 3.3 and 3.4 from debian unstable. no problem here.

gcc-3.3 (GCC) 3.3.6 (Debian 1:3.3.6-12)
gcc-3.4 (GCC) 3.4.6 20060302 (prerelease) (Debian 3.4.5-3)

i also tried curl 7.15.1 with gcc 4.0. same problem on tests 253 and 255.

i'm starting to think at a toolchain bug. i should try with a previous
version of gcc 4.0 package, but i can't go through tha pain of
hand-download/install all those packages...

cheers
domenico

-----[ Domenico Andreoli, aka cavok
 --[ http://people.debian.org/~cavok/gpgkey.asc
   ---[ 3A0F 2F80 F79C 678A 8936 4FEE 0677 9033 A20E BC50
Received on 2006-03-03