internal compiler error during U-Boot compilation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc-4.5-armel-cross (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
I wanted to compile "Das Uboot", the boot loader for many embedded devices and got:
vsprintf.c: In function ‘number’:
vsprintf.c:183:1: error: insn does not satisfy its constraints:
(insn 528 250 530 43 vsprintf.c:175 (set (reg:SI 1 r1)
(reg/f:SI 13 sp)) 167 {*thumb1_
vsprintf.c:183:1: internal compiler error: in reload_
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:/
make[1]: *** [vsprintf.o] Fehler 1
make: *** [lib_generic/
norbert@
How to reproduce:
Download
http://
http://
and follow the instructions at
http://
In brief:
unzip SheevaPlug_
mv SheevaPlug_
tar xvfj u-boot-
mv u-boot-1.1.4 u-boot-3.4.27 # rename the directory to easily bring the content of u-boot-3.4.27.zip in.
unzip u-boot-3.4.27.zip and answer with Overwrite all.
cd u-boot-3.4.27
make mrproper
make rd88f6281Sheeva
!! The next command seems to have problems with /bin/dash, which is linked to /bin/sh!!
!! Therefore I removed the /bin/dash link to /bin/sh and replaced it by /bin/bash to /bin/sh before running it:
make -s CROSS_COMPILE=
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: gcc-4.5-
ProcVersionSign
Uname: Linux 2.6.35-22-generic i686
Architecture: i386
Date: Mon Oct 18 21:31:36 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, no user)
LANG=de_DE.utf8
SourcePackage: gcc-4.5-armel-cross
Changed in gcc-4.5-armel-cross (Ubuntu): | |
status: | New → Won't Fix |
/tmp/u/ u-boot- 3.4.27/ board/mv_ feroceon/ USP/jump. S: Assembler messages: u-boot- 3.4.27/ board/mv_ feroceon/ USP/jump. S:62: Error: symbol .text is in a different section u-boot- 3.4.27/ board/mv_ feroceon/ USP/jump. o] Error 1 mv_feroceon/ config_ kw/libconfig_ kw.a] Error 2
/tmp/u/
make[1]: *** [/tmp/u/
make: *** [board/
That's under natty - how it failed under maverick?
I would also suggest switching to mainline U-Boot for Sheevaplug - works fine and boots faster.