Messages in this thread | | | From | Michael Buesch <> | Subject | Re: [2.6 patch] add a config option for -Os compilation | Date | Sun, 19 Oct 2003 16:09:27 +0200 |
| |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Sunday 19 October 2003 15:56, Ingo Oeser wrote: > Hi all,
Hi Ingo
> Simple implementation today: > > optimize_for_speed := CFLAGS_$1 += -O3 > optimize_for_size := CFLAGS_$1 += -Os
I experienced many problems while using -O3, because it may randomly inline functions, that are not marked inline. For example -O3 made ide-scsi on 2.4 nonworking for me. The book "Linux Device Drivers" has a longer explanation for _not_ using -O3 on kernels.
> > Regards > > Ingo Oeser
- -- Regards Michael Buesch [ http://www.tuxsoft.de.vu ] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/kpsfoxoigfggmSgRAgKEAJ9VwoVGyaP3qIm+RT0o3Q9pAhxMYgCeMz9f vLJH6H+xM1yXfKXaXg2IPF8= =oQIW -----END PGP SIGNATURE-----
- 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/
| |