mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* heads up: Ubuntu Breezy GCC 4.0.2-prerelease miscompiles 2.6.15 with -Os
@ 2006-01-05  8:19 bert hubert
  0 siblings, 0 replies; only message in thread
From: bert hubert @ 2006-01-05  8:19 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-01-05  8:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-05  8:19 heads up: Ubuntu Breezy GCC 4.0.2-prerelease miscompiles 2.6.15 with -Os bert hubert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®