[U-Boot] u-boot target coreboot: error: impossible constraint in 'asm'

Altunbas Sabri (DC-IA/EAH2) sabri.altunbas at boschrexroth.de
Mon Feb 11 08:38:36 CET 2013


Hi,

I get following error if I compile without optimization (-Os ). I want to compile without optimization because I can debug better with my jtag debugger.

....
....
gcc  -g    -ffunction-sections -fvisibility=hidden -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x01008000 -I/home/tux/aaa/myprj/u-boot-2013.01/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.7/include -pipe  -fno-strict-aliasing -Wstrict-prototypes -mregparm=3 -fomit-frame-pointer -ffreestanding -fno-toplevel-reorder -fno-stack-protector -mpreferred-stack-boundary=2 -fno-dwarf2-cfi-asm -DREALMODE_BASE=0x7c0 -DCONFIG_X86 -D__I386__ -march=i386  -Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral -Wno-format-security -fstack-usage     -o cpu.o cpu.c -c
cpu.c: In function 'x86_cpu_init_f':
cpu.c:130:2: warning: asm operand 0 probably doesn't match constraints [enabled by default]
cpu.c:130:2: warning: asm operand 1 probably doesn't match constraints [enabled by default]
cpu.c:130:2: error: impossible constraint in 'asm'
make[1]: *** [cpu.o] Error 1
make[1]: Leaving directory `/home/tux/aaa/myprj/u-boot-2013.01/arch/x86/cpu'
make: *** [arch/x86/cpu/libx86.o] Error 2


Thanx in advance for some hints

Mit freundlichen Grüßen / Best regards 

Sabri Altunbas 

Entwicklung Basisfirmware DC-IA/EAH2
Bosch Rexroth. The Drive & Control Company

Tel. +49 (0) 6062/78-526
Fax +49 (0) 6062/78-771
sabri.altunbas at boschrexroth.de
www.boschrexroth.com

Bosch Rexroth AG
Berliner Straße
64711 Erbach
GERMANY

Firmensitz: Stuttgart, Registrierung: Amtsgericht Stuttgart HRB 23192
Vorstand: Dr. Karl Tragl (Vorsitzender), Dr. Georg Hanen; Dr. Bertram Hoffmann; Dr. Stefan Spindler
Vorsitzender des Aufsichtsrats: Dr. Siegfried Dais



More information about the U-Boot mailing list