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

Re: [BUG] 2.6.23-rc3 won't boot on alpha (fwd)



Jay Estabrook wrote:
> If you can't wait for that, you can always use BOOTP, which bypasses
> aboot entirely... :-)

Unfortunately, that may be the only way to get past this problem in
the near term :-(.  Just for grins and giggles, I retrieved the source
package for aboot-0.9b-3 and tried to build the current version, i.e.,
I wanted to verify I could build what I've got before messing with
something as critical as a bootloader.

To make a long story short, the build is broken, probably because the
tool chain has changed significantly since the last time anyone looked
at this program.

The somewhat longer version of the story...  Had to modify debian/rules
to look for DEB_HOST_GNU_TYPE "alpha-linux-gnu" instead of "alpha-linux"
just to get out of the starting blocks.  The build is currently incredibly
noisy: lots of warnings, most of which I have to assume are safe to ignore,
but disconcerting nevertheless.  The fatal error looks like this:

(Basic environment is Debian Etch on a PWS 433au with gcc-4.1.2 (Debian 4.1.1-21),
binutils 2.17.50.20070804, libc6.1_2.6-2, and linux-libc-dev_2.6.21-6).

$ dpkg-buildpackage -rfakeroot
(...)
make[2]: Entering directory `/opt/downloads/aboot/aboot-0.9b/sdisklabel'
gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 "-g"  -I/opt/downloads/aboot/aboot-0.9b/include -I/usr/src/linux/include -fno-builtin-printf -D__KERNEL__ -mcpu=ev4 -Os -Wall -fno-builtin -Wcast-align -mno-fp-regs -g -O2 -I../include -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g  -I/opt/downloads/aboot/aboot-0.9b/include -I/usr/src/linux/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g  -I/opt/downloads/aboot/aboot-0.9b/include -I/usr/src/linux/include  -c -o swriteboot.o swriteboot.c
In file included from /usr/src/linux/include/linux/compiler-gcc4.h:4,
		 from /usr/src/linux/include/linux/compiler.h:40,
		 from /usr/src/linux/include/asm-generic/page.h:7,
		 from /usr/src/linux/include/asm/page.h:97,
		 from /usr/src/linux/include/asm/system.h:5,
		 from swriteboot.c:9:
/usr/src/linux/include/linux/compiler-gcc.h:41:1: warning: "__attribute_pure__" redefined
In file included from /usr/include/features.h:322,
		 from /usr/include/stdio.h:28,
		 from swriteboot.c:1:
/usr/include/sys/cdefs.h:206:1: warning: this is the location of the previous definition
In file included from /usr/src/linux/include/linux/compiler.h:40,
		 from /usr/src/linux/include/asm-generic/page.h:7,
		 from /usr/src/linux/include/asm/page.h:97,
		 from /usr/src/linux/include/asm/system.h:5,
		 from swriteboot.c:9:
/usr/src/linux/include/linux/compiler-gcc4.h:16:1: warning: "__attribute_used__" redefined
In file included from /usr/include/features.h:322,
		 from /usr/include/stdio.h:28,
		 from swriteboot.c:1:
/usr/include/sys/cdefs.h:215:1: warning: this is the location of the previous definition
In file included from /usr/src/linux/include/linux/compiler.h:40,
		 from /usr/src/linux/include/asm-generic/page.h:7,
		 from /usr/src/linux/include/asm/page.h:97,
		 from /usr/src/linux/include/asm/system.h:5,
		 from swriteboot.c:9:
/usr/src/linux/include/linux/compiler-gcc4.h:19:1: warning: "__always_inline" redefined
In file included from /usr/include/features.h:322,
		 from /usr/include/stdio.h:28,
		 from swriteboot.c:1:
/usr/include/sys/cdefs.h:277:1: warning: this is the location of the previous definition
In file included from /usr/src/linux/include/linux/kernel.h:16,
		 from /usr/src/linux/include/asm/system.h:50,
		 from swriteboot.c:9:
/usr/src/linux/include/linux/log2.h:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'is_power_of_2'
In file included from /usr/src/linux/include/asm/system.h:50,
		 from swriteboot.c:9:
/usr/src/linux/include/linux/kernel.h:172: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'printk_timed_ratelimit'
/usr/src/linux/include/linux/kernel.h:223: error: expected declaration specifiers or '...' before 'bool'
/usr/src/linux/include/linux/kernel.h:226: error: expected declaration specifiers or '...' before 'bool'
swriteboot.c: In function 'read_configured_partition':
swriteboot.c:20: warning: cast increases required alignment of target type
swriteboot.c: In function 'main':
swriteboot.c:206: warning: cast increases required alignment of target type
make[2]: *** [swriteboot.o] Error 1
make[2]: Leaving directory `/opt/downloads/aboot/aboot-0.9b/sdisklabel'
make[1]: *** [sdisklabel/swriteboot] Error 2
make[1]: Leaving directory `/opt/downloads/aboot/aboot-0.9b'
make: *** [build-aboot-stamp] Error 2

-- 
-----------------------------------------------------------------------
Bob Tracy               | "Eagles may soar, but weasels don't get
rct@frus.com            |  sucked into jet engines."       --Anon
-----------------------------------------------------------------------



Reply to: