Hi,
I have a problem with installing the GNU toolchain with the following error:
Decompressing source
Patching gdb-6.8 with or32-gdb-6.8-patch-2.4.bz2
Configuring gdb-6.8: --target=or32-elf --prefix=/home/user/Downloads/or32-elf
Making and installing gdb-6.8
############################ERROR#############################
Error during toolchain installation.
I need help, thanks!
Hi Jeremy,
Thanks for your response. I've a Sony Vaio Laptop, Running Ubuntu 9.10 in Windows XP using VMware Player and gcc version is 4.4.1.
Hi Jeremy,
Thanks for your response. I've a Sony Vaio Laptop, Running Ubuntu 9.10 in Windows XP using VMware Player and gcc version is 4.4.1.
On a plain Ubuntu 9.10 install I got the following error during the make all install step of gdb-6.8, which has been posted before:
gcc -c -g -O2 -I. -I.././gdb -I.././gdb/config -DLOCALEDIR="\"/opt/or32-elf/share/locale\"" -DHAVE_CONFIG_H -I.././gdb/../include/opcode -I.././gdb/../readline/.. -I../bfd -I.././gdb/../bfd -I.././gdb/../include -I../libdecnumber -I.././gdb/../libdecnumber -DMI_OUT=1 -DTUI=1 -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wno-switch -Wno-char-subscripts -Werror or1k-jtag.c cc1: warnings being treated as errors or1k-jtag.c: In function ‘jp1_ll_read_jp1’: or1k-jtag.c:372: error: ‘data’ may be used uninitialized in this function make2: or1k-jtag.o Error 1 make2: Leaving directory `/home/orsoc1/Documents/or32-toolchain/or32-build/gdb-6.8/gdb' make1: all-gdb Error 2 make1: Leaving directory `/home/orsoc1/Documents/or32-toolchain/or32-build/gdb-6.8' make: *** all Error 2
Filipe, can you confirm this is the error you have by checking the end of file or32-build/gdb-6.8/gdb-6.8-make.log which should be under where you ran the script.
Jeremy, I'll do up a new patch and put it up on the server to stop this problem.
On a plain Ubuntu 9.10 install I got the following error during the make all install step of gdb-6.8, which has been posted before:
gcc -c -g -O2 -I. -I.././gdb -I.././gdb/config -DLOCALEDIR="\"/opt/or32-elf/share/locale\"" -DHAVE_CONFIG_H -I.././gdb/../include/opcode -I.././gdb/../readline/.. -I../bfd -I.././gdb/../bfd -I.././gdb/../include -I../libdecnumber -I.././gdb/../libdecnumber -DMI_OUT=1 -DTUI=1 -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wno-switch -Wno-char-subscripts -Werror or1k-jtag.c cc1: warnings being treated as errors or1k-jtag.c: In function ‘jp1_ll_read_jp1’: or1k-jtag.c:372: error: ‘data’ may be used uninitialized in this function make2: or1k-jtag.o Error 1 make2: Leaving directory `/home/orsoc1/Documents/or32-toolchain/or32-build/gdb-6.8/gdb' make1: all-gdb Error 2 make1: Leaving directory `/home/orsoc1/Documents/or32-toolchain/or32-build/gdb-6.8' make: *** all Error 2
Filipe, can you confirm this is the error you have by checking the end of file or32-build/gdb-6.8/gdb-6.8-make.log which should be under where you ran the script.
Jeremy, I'll do up a new patch and put it up on the server to stop this problem.
Great, thanks Jeremy.
But for now I've added the --disable-werror flag to gdb-6.8's configure. Toolchain script. Will mark this as closed.