This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Trouble trying to test GCC on a simulator


Hello,

I would like to test a GCC patch on the platform it is supposed to affect (PowerPC). In order to to this, I'm using the following documentation:

    https://gcc.gnu.org/simtest-howto.html

However, after fresh CVS checkouts (even without my changes on the GCC tree) and the corresponding combined tree creation, I cannot manage to get a build:

$ ../combined/configure --prefix=$TOP/install --enable-languages=c,c++ --target=powerpc-eabisim --build=i686-pc-linux-gnu --enable-checking
[runs fine]
$ make
[...]
make[4]: Entering directory `/.../build/binutils'
gcc -DHAVE_CONFIG_H -I. -I../../combined/binutils -I. -I../../combined/binutils -I../bfd -I../../combined/binutils/../bfd -I../../combined/binutils/../include -DLOCALEDIR="\"/.../install/share/locale\"" -Dbin_dummy_emulation=bin_vanilla_emulation -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT bucomm.o -MD -MP -MF .deps/bucomm.Tpo -c -o bucomm.o ../../combined/binutils/bucomm.c ../../combined/binutils/bucomm.c:130:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'VPARAMS' ../../combined/binutils/bucomm.c:141:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'VPARAMS'
make[4]: *** [bucomm.o] Error 1

The use of an undefined macro (VPARAMS) looks quite strange to me: is it a known issue? Or maybe is the documentation obsolete?

Thanks in advance!

--
Pierre-Marie de Rodat


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]