Running MOF_ORSOC_TCHN_v5c_or32-elf.sh failed to build or1ksim-0.4.0 on RHEL-5 uname -a: Linux msp45cnt1 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:39 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux gcc: gcc version 4.1.2 20080704 (Red Hat 4.1.2-48) or32-gcc: or32-elf-gcc (GCC) 4.2.2
Looks like line 2233 in rsp-server.c. The parameter (int *)&type looks bad since type is an enum mp_type in this function. The exact same thing is happening on line 2313. This is just my suspicion after looking at this for a minute or 2.
make2: Entering directory /data/pace/scratch03/tractp1/CrossCompilers/or32-build/or32-build/or1ksim-0.4.0/debug'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port -I../argtable2 -g -O2 -g -Wall -Werror -O2 -DOR32 -MT debug-unit.lo -MD -MP -MF .deps/debug-unit.Tpo -c -o debug-unit.lo debug-unit.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc
-I../port -I../argtable2 -g -O2 -g -Wall -Werror -O2 -DOR32 -MT debug-unit.lo -MD -MP -MF .deps/debug-unit.Tpo -c debug-unit.c -fPIC -DPIC -o .libs/debug-unit.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc
-I../port -I../argtable2 -g -O2 -g -Wall -Werror -O2 -DOR32 -MT debug-unit.lo -MD -MP -MF .deps/debug-unit.Tpo -c debug-unit.c -o debug-unit.o >/dev/null 2>&1
mv -f .deps/debug-unit.Tpo .deps/debug-unit.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port -I../argtable2 -g -O2 -g -Wall -Werror -O2 -DOR32 -MT gdbcomm.lo -MD -MP -MF .deps/gdbcomm.Tpo -c -o gdbcomm.lo gdbcomm.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc
-I../port -I../argtable2 -g -O2 -g -Wall -Werror -O2 -DOR32 -MT gdbcomm.lo -MD -MP -MF .deps/gdbcomm.Tpo -c gdbcomm.c -fPIC -DPIC -o .libs/gdbcomm.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc
-I../port -I../argtable2 -g -O2 -g -Wall -Werror -O2 -DOR32 -MT gdbcomm.lo -MD -MP -MF .deps/gdbcomm.Tpo -c gdbcomm.c -o gdbcomm.o >/dev/null 2>&1
mv -f .deps/gdbcomm.Tpo .deps/gdbcomm.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port -I../argtable2 -g -O2 -g -Wall -Werror -O2 -DOR32 -MT jtag.lo -MD -MP -MF .deps/jtag.Tpo -c -o jtag.lo jtag.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc
-I../port -I../argtable2 -g -O2 -g -Wall -Werror -O2 -DOR32 -MT jtag.lo -MD -MP -MF .deps/jtag.Tpo -c jtag.c -fPIC -DPIC -o .libs/jtag.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc
-I../port -I../argtable2 -g -O2 -g -Wall -Werror -O2 -DOR32 -MT jtag.lo -MD -MP -MF .deps/jtag.Tpo -c jtag.c -o jtag.o >/dev/null 2>&1
mv -f .deps/jtag.Tpo .deps/jtag.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port -I../argtable2 -g -O2 -g -Wall -Werror -O2 -DOR32 -MT rsp-server.lo -MD -MP -MF .deps/rsp-server.Tpo -c -o rsp-server.lo rsp-server.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc
-I../port -I../argtable2 -g -O2 -g -Wall -Werror -O2 -DOR32 -MT rsp-server.lo -MD -MP -MF .deps/rsp-server.Tpo -c rsp-server.c -fPIC -DPIC -o .libs/rsp-server.o
rsp-server.c: In function
rsp_remove_matchpoint':
rsp-server.c:2233: warning: dereferencing type-punned pointer will break strict-aliasing rules
rsp-server.c: In function rsp_insert_matchpoint':
rsp-server.c:2313: warning: dereferencing type-punned pointer will break strict-aliasing rules
make[2]: *** [rsp-server.lo] Error 1
make[2]: Leaving directory
/data/pace/scratch03/tractp1/CrossCompilers/or32-build/or32-build/or1ksim-0.4.0/debug'
make1: all-recursive Error 1
make1: Leaving directory `/data/pace/scratch03/tractp1/CrossCompilers/or32-build/or32-build/or1ksim-0.4.0'
make: all Error 2
Type your text here
Jeremy-
Thanks for taking a look at this. It looks like this bug has been submitted a couple of times already.
I am a little short on time right now. I'll try to find some time to try out 0.5.0rc1 when I can.
Thanks, Phil