True... current build is broken. Lets use 3.2 release. ~d
On Wed, 18 Sep 2002 11:55:15 +1000 Steven Johnson <[email protected]> wrote: > Hi, > > I am having problems building using the 3.3 snapshot, I can huild V3.0 > OK. The problem seems to be in compiling msp430.c. I am using the > 09/09/2002 snapshot of GCC, and CVS of MSPGCC as checked out this > morning. Following is the error, as reported during the compile: > > gcc -c -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings > -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic > -Wno-long-long -fno-common -DHAVE_CONFIG_H -I. -I. -I. -I./. > -I./config -I./../include \ > ./config/msp430/msp430.c -o msp430.o > In file included from ./config/msp430/msp430.c:27: > real.h:131:1: warning: "REAL_ARITHMETIC" redefined > config/msp430/msp430.h:3081:1: warning: this is the location of the > previous definition > ./config/msp430/msp430.c:3053:17: warning: C++ style comments are not > allowed in ISO C89 > ./config/msp430/msp430.c:3053:17: warning: (this will be reported only > once per input file) > ./config/msp430/msp430.c:218: `default_assemble_visibility' undeclared > here (not in a function) > ./config/msp430/msp430.c:218: initializer element is not constant > ./config/msp430/msp430.c:218: (near initialization for > `targetm.asm_out.visibility') > ./config/msp430/msp430.c: In function `function_prologue': > ./config/msp430/msp430.c:687: `current_function_varargs' undeclared > (first use in this function) > ./config/msp430/msp430.c:687: (Each undeclared identifier is reported > only once > ./config/msp430/msp430.c:687: for each function it appears in.) > ./config/msp430/msp430.c: In function `asm_output_float': > ./config/msp430/msp430.c:1829: warning: passing arg 2 of > `ereal_to_decimal' discards qualifiers from pointer target type > ./config/msp430/msp430.c:1829: warning: passing arg 3 of > `ereal_to_decimal' makes integer from pointer without a cast > ./config/msp430/msp430.c: In function `asm_file_start': > ./config/msp430/msp430.c:1998: warning: traditional C rejects string > concatenation > ./config/msp430/msp430.c:1999: warning: traditional C rejects string > concatenation > ./config/msp430/msp430.c:2000: warning: traditional C rejects string > concatenation > ./config/msp430/msp430.c:2001: warning: traditional C rejects string > concatenation > ./config/msp430/msp430.c:2002: warning: traditional C rejects string > concatenation > ./config/msp430/msp430.c:2003: warning: traditional C rejects string > concatenation > ./config/msp430/msp430.c:2004: warning: traditional C rejects string > concatenation > ./config/msp430/msp430.c:2005: warning: traditional C rejects string > concatenation > ./config/msp430/msp430.c:2006: warning: traditional C rejects string > concatenation > ./config/msp430/msp430.c: In function `asm_file_end': > ./config/msp430/msp430.c:2024: warning: traditional C rejects string > concatenation > ./config/msp430/msp430.c:2025: warning: traditional C rejects string > concatenation > ./config/msp430/msp430.c:2026: warning: traditional C rejects string > concatenation > ./config/msp430/msp430.c: In function `frame_pointer_required_p': > ./config/msp430/msp430.c:2047: `current_function_varargs' undeclared > (first use in this function) > ./config/msp430/msp430.c:2050: warning: control reaches end of non-void > function > ./config/msp430/msp430.c: In function `machine_dependent_reorg': > ./config/msp430/msp430.c:2607: warning: traditional C rejects automatic > aggregate initialization > ./config/msp430/msp430.c:2608: warning: traditional C rejects automatic > aggregate initialization > ./config/msp430/msp430.c:2609: warning: traditional C rejects automatic > aggregate initialization > ./config/msp430/msp430.c: In function `msp430_emit_cmphi': > ./config/msp430/msp430.c:6011: warning: `cval' might be used > uninitialized in this function > ./config/msp430/msp430.c: In function `msp430_emit_cmpqi': > ./config/msp430/msp430.c:6125: warning: `cval' might be used > uninitialized in this function > ./config/msp430/msp430.c: In function `msp430_trampoline_template': > ./config/msp430/msp430.c:9125: warning: traditional C rejects string > concatenation > ./config/msp430/msp430.c:9126: warning: traditional C rejects string > concatenation > make[1]: *** [msp430.o] Error 1 > make[1]: Leaving directory > `/home/steven/dev/tools/msp430/build/gcc-20020909/gcc' > make: *** [all-gcc] Error 2 > > My build script follows: > > rm -rf /opt/msp430-3.3 > mkdir /opt/msp430-3.3 > > rm -rf build > mkdir build > cd build > tar -xvjf ../archives/binutils-2.11.tar.bz2 > cd binutils-2.11 > cp -r ../../cvs/binutils/binutils-2.11/* . > #patch -p 1 -i ../../archives/IAR-objdump.diff > ./configure --target=msp430 --prefix=/opt/msp430-3.3 > make > make install > cd ../.. > > export PATH=$PATH:/opt/msp430-3.3/bin > > rm -rf build > mkdir build > cd build > tar -xvjf ../archives/gcc-core-20020909.tar.bz2 > cd gcc-20020909 > cp -r ../../cvs/gcc/gcc-3.3/* . > ./configure --target=msp430 --prefix=/opt/msp430-3.3 > make > make install > cd ../.. > > rm -rf build > mkdir build > cd build > cp -r ../cvs/msp430-libc/* . > cd src > mkdir msp1 > mkdir msp2 > make prefix=/opt/msp430-3.3 > make prefix=/opt/msp430-3.3 install > cd ../.. > > rm -rf build > > I can't see that i've done anything wrong here, any help would be > appreciated. > > Regards, > Steven Johnson > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: AMD - Your access to the experts > on Hammer Technology! Open Source & Linux Developers, register now > for the AMD Developer Symposium. Code: EX8664 > http://www.developwithamd.com/developerlab > _______________________________________________ > Mspgcc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mspgcc-users > > /******************************************************************** ("`-''-/").___..--''"`-._ (\ Dimmy the Wild UA1ACZ `6_ 6 ) `-. ( ).`-.__.`) Enterprise Information Sys (_Y_.)' ._ ) `._ `. ``-..-' Nevsky prospekt, 20 / 44 _..`--'_..-_/ /--'_.' ,' Saint Petersburg, Russia (il),-'' (li),' ((!.-' +7 (812) 3468202, 5585314 ********************************************************************/
