This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
GCC 3.1 produces a larger 2.5.15 Linux kernel than 3.0.4
- From: Alessandro Suardi <alessandro dot suardi at oracle dot com>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 17 May 2002 00:20:25 +0200
- Subject: GCC 3.1 produces a larger 2.5.15 Linux kernel than 3.0.4
- Organization: Oracle Support Services
Like this:
[root@dolphin boot]# ls -l vmlinuz*15 vmlinuz*304
-rw-r--r-- 1 root root 1070877 May 16 22:30 vmlinuz-2.5.15
-rw-r--r-- 1 root root 1058393 May 10 23:40 vmlinuz-2.5.15-gcc304
Haven't tried with other kernels... System.map seems to
show a fairly large number of these:
[root@dolphin /]# grep __constant /boot/System.map | awk '{print $3}' | sort -u
__constant_c_and_count_memset
__constant_copy_from_user
__constant_copy_from_user_nocheck
__constant_copy_to_user
__constant_copy_to_user_nocheck
__constant_memcpy
[root@dolphin /]# grep __constant /boot/System.map | wc -l
315
which aren't present in the GCC 3.0.4 output.
For completeness of info, I built both compilers with the
same options on a i686-pc-linux-gnu, such as:
--enable-shared
--with-gnu-as
--with-gnu-ld
--enable-threads
--enable-languages=c,c++
If you wish me to provide more info, I'd be happy to do so,
please CC: me in replies since I'm not on the list.
Thanks and keep up the good work,
--alessandro
"the hands that build / can also pull down
even the hands of love"
(U2, "Exit")