lkml.org 
[lkml]   [2006]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectheads up: Ubuntu Breezy GCC 4.0.2-prerelease miscompiles 2.6.15 with -Os
Hi,

For Ubuntu and perhaps other pre-release shipping distribution users:

If you get errors like:
# ip route add default via 10.0.0.12
RTNETLINK answers: Network is unreachable

for no good reason, and you can't delete any routes either, you may be
compiling your kernel optimized for size (CONFIG_CC_OPTIMIZE_FOR_SIZE),
which is triggering a bug in your gcc 4.0.2 pre-release, or at a stretch, a
bug in the kernel.

The fix is to either turn off optimization for size ("-Os"), or to compile
with a real gcc 4.0.2 release and not a pre-release.

For more details see
http://marc.theaimsgroup.com/?l=linux-netdev&m=113641427215320&w=2 and
http://marc.theaimsgroup.com/?l=linux-netdev&m=113641859718902&w=2 and
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=322723

I'll be heading to the ubuntu bug tracker to see if this problem is there
already.

Good luck!

--
http://www.PowerDNS.com Open source, database driven DNS Software
http://netherlabs.nl Open and Closed source services
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-01-05 09:21    [W:0.041 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site