This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, I am getting the following errors for the file ' main.c' which is under '/redboot/current/src' directory... m68k-coff-gcc -c -I/home/surya/linux360/install/include -I/home/surya/ecos/packages/redboot/current -I/home/surya/ecos/packages/redboot/current/src -I/home/surya/ecos/packages/redboot/current/tests -I. -I/home/surya/ecos/packages/redboot/current/src/ -msoft-float -mcpu32 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -Wp,-MD,src/main.tmp -o src/redboot_main.o /home/surya/ecos/packages/redboot/current/src/main.c /home/surya/ecos/packages/redboot/current/src/main.c:0: warning: -ffunction-sections may affect debugging on some targets. /home/surya/ecos/packages/redboot/current/src/main.c:76: warning: alignment of `_cmd_tab_do_version' is greater than maximum object file alignment. Using 2. /home/surya/ecos/packages/redboot/current/src/main.c:81: warning: alignment of `_cmd_tab_do_help' is greater than maximum object file alignment. Using 2. /home/surya/ecos/packages/redboot/current/src/main.c:86: warning: alignment of `_cmd_tab_do_go' is greater than maximum object file alignment. Using 2. /home/surya/ecos/packages/redboot/current/src/main.c:91: warning: alignment of `_cmd_tab_do_dump' is greater than maximum object file alignment. Using 2. /home/surya/ecos/packages/redboot/current/src/main.c:96: warning: alignment of `_cmd_tab_do_x' is greater than maximum object file alignment. Using 2. /home/surya/ecos/packages/redboot/current/src/main.c:101: warning: alignment of `_cmd_tab_do_cksum' is greater than maximum object file alignment. Using 2. /home/surya/ecos/packages/redboot/current/src/main.c:106: warning: alignment of `_cmd_tab_do_caches' is greater than maximum object file alignment. Using 2. /home/surya/ecos/packages/redboot/current/src/main.c:112: warning: alignment of `_cmd_tab_do_reset' is greater than maximum object file alignment. Using 2. /home/surya/ecos/packages/redboot/current/src/main.c: In function `do_go': /home/surya/ecos/packages/redboot/current/src/main.c:510: warning: `oldints' might be used uninitialized in this function /tmp/ccACOzCg.s: Assembler messages: /tmp/ccACOzCg.s:341: Error: Rest of line ignored. First ignored character is `"'. /tmp/ccACOzCg.s:343: Warning: .type pseudo-op used outside of .def/.endef ignored. /tmp/ccACOzCg.s:343: Error: Rest of line ignored. First ignored character is `_'. m68k-coff-gcc: Internal compiler error: program as got fatal signal 11 make[1]: *** [src/main.o.d] Error 1 make[1]: Leaving directory `/home/surya/linux360/redboot/current' make: *** [build] Error 2 These errors I am getting for the following part of the code 'main.c' . The Macro Definitions are also given below.. CYG_HAL_TABLE_BEGIN( __RedBoot_INIT_TAB__, RedBoot_inits ); CYG_HAL_TABLE_END( __RedBoot_INIT_TAB_END__, RedBoot_inits ); extern struct init_tab_entry __RedBoot_INIT_TAB__[], __RedBoot_INIT_TAB_END__; CYG_HAL_TABLE_BEGIN( __RedBoot_CMD_TAB__, RedBoot_commands ); CYG_HAL_TABLE_END( __RedBoot_CMD_TAB_END__, RedBoot_commands ); extern struct cmd __RedBoot_CMD_TAB__[], __RedBoot_CMD_TAB_END__; CYG_HAL_TABLE_BEGIN( __RedBoot_IDLE_TAB__, RedBoot_idle ); CYG_HAL_TABLE_END( __RedBoot_IDLE_TAB_END__, RedBoot_idle ); extern struct idle_tab_entry __RedBoot_IDLE_TAB__[], __RedBoot_IDLE_TAB_END__; #ifndef CYG_HAL_TABLE_BEGIN #define CYG_HAL_TABLE_BEGIN( _label, _name ) \ __asm__(".section \".ecos.table." __xstring(_name) ".begin\",\"aw\"\n" \ ".globl " __xstring(CYG_LABEL_DEFN(_label)) "\n" \ ".type " __xstring(CYG_LABEL_DEFN(_label)) ",object\n" \ ".p2align " __xstring(CYGARC_P2ALIGNMENT) "\n" \ __xstring(CYG_LABEL_DEFN(_label)) ":\n" \ ".previous\n" \ ) #endif #ifndef CYG_HAL_TABLE_END #define CYG_HAL_TABLE_END( _label, _name ) \ __asm__(".section \".ecos.table." __xstring(_name) ".finish\",\"aw\"\n" \ ".globl " __xstring(CYG_LABEL_DEFN(_label)) "\n" \ ".type " __xstring(CYG_LABEL_DEFN(_label)) ",object\n" \ ".p2align " __xstring(CYGARC_P2ALIGNMENT) "\n" \ __xstring(CYG_LABEL_DEFN(_label)) ":\n" \ ".previous\n" \ ) #endif I have installed my croos compiler for MC68360 target using the following. 1. Binutils 2.11.2 2. gcc 2.95.3 When I installed earlier my cross compiler using 'binutils 2.10.1' I have got even more similar errors at the same place... Please help me out to solve this problem... Thanks and Regards SURYA ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |