[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#488768: Build unbootable linux kernel with march=pentium-m option



Package: gcc-4.3
Version: 4.3.1-3
Distribution: lenny/testing

Since long time i use to build my own kernel with option "march=pentium-m" 
changing in Makefile_32.cpu file of kernel source the following line:
from
"cflags-$(CONFIG_MPENTIUMM)	+= -march=i686 $(call tune,pentium3)"
to
"cflags-$(CONFIG_MPENTIUMM)	+= -march=pentium-m"

then build with "make-kpkg --initrd ......" with the following kernel config 
option:

CONFIG_MPENTIUMM=y

After upgrade gcc from 4.2.3 to 4.3.1 the kernel builds fine (..without error) 
but the system fail to reboot hanging on the screen message "Uncompressing 
Linux... OK, booting the kernel." the i have to use the powerbutton to 
unblock.

If i use the default "-march=i686 $(call tune,pentium3)" option instead 
of "-march=pentium-m" then i obtain a good bootable kernel.

I run lenny but taken gcc 4.3.1-3 from sid due to bug #487115.

Relevant package version:

ii  cpp                                    4.3.1-1 
ii  cpp-4.3                             4.3.1-3   
ii  g++                                  4.3.1-1 
ii  g++-4.3                            4.3.1-3   
ii  gcc                                    4.3.1-1 
ii  gcc-4.3                              4.3.1-3   
ii  gcc-4.3-base                     4.3.1-3   
ii  libgcc1                               4.3.1-3 
ii  libgfortran3                        4.3.1-3   
ii  libgomp1                            4.3.1-3   
ii  libstdc++6                         4.3.1-3   
ii  libstdc++6-4.3-dev            4.3.1-3 
ii  libc6                                   2.7-10    
ii  libc6-dev                            2.7-10    
ii  libc6-i686                           2.7-10
ii  linux-source-2.6.24            2.6.24-7



Best regards,
Andrea.






Reply to: