Gentoo Archives: gentoo-bsd

From: Joe Peterson <joe@×××××××.com>
To: gentoo-bsd@l.g.o
Subject: Re: [gentoo-bsd] TCP (FTP) problem - some sites - while emerging
Date: Wed, 25 Apr 2007 03:30:32
Message-Id: 462ECB3B.2000205@skyrush.com
In Reply to: Re: [gentoo-bsd] TCP (FTP) problem - some sites - while emerging by Nathan Smith
1 No go. I recompiled with -O0 & gcc-4.1.2, and now I cannot successfully
2 do any network communication. Even "ping localhost" gives:
3
4 PING localhost (127.0.0.1): 56 data bytes
5 ^C
6 --- localhost ping statistics ---
7 4 packets transmitted, 0 packets received, 100% packet loss
8
9
10 -Joe
11
12
13 Nathan Smith wrote:
14 > On 4/22/07, Joe Peterson <joe@×××××××.com> wrote:
15 >> BTW, I have recompiled the kernel (did not remove any patches - left the
16 >> source as-is) under gcc-3, and my TCP problem is gone.
17 >
18 > That is good to know. We now know that over-optimization in gcc-4 is
19 > the source of the problem (somewhere between -O0 and -O2). So if you
20 > build the kernel with gcc-4 and
21 >
22 > # COPTFLAGS=-O0 make
23 >
24 > it should also work. Joe, if you have time, let me know about how
25 > that works. Thanks.
26 >
27 --
28 gentoo-bsd@g.o mailing list