From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3748 invoked by alias); 16 Apr 2002 18:24:37 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 3668 invoked from network); 16 Apr 2002 18:24:35 -0000 Received: from unknown (HELO MAILHOST.stratalight.com) (206.184.26.51) by sources.redhat.com with SMTP; 16 Apr 2002 18:24:35 -0000 X-Mimeole: Produced By Microsoft Exchange V6.0.4712.0 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Tue, 16 Apr 2002 11:24:00 -0000 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Tracy Jones" To: Subject: [ECOS] no memory region speficifed for section..... followed by .gcc_except_table is not within region rom in making tests X-SW-Source: 2002-04/txt/msg00309.txt.bz2 Hi - I just loaded the latest and greatest ecos from cvs and built it for linux synthetic. I am using binutils 2.12 and gcc 3.0.4. I get the following errors when building the tests. gcc -c -I/home/tracy/ecos/install/include -I/swdev/home/tracy/newecos/ecos/packages/hal/common/current -I/swdev/home/tracy/newecos/ecos/packages/hal/common/current/src -I/swdev/home/tracy/newecos/ecos/packages/hal/common/current/tests -I. -I/swdev/home/tracy/newecos/ecos/packages/hal/common/current/tests/ -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -Wp,-MD,tests/cache.tmp -o tests/cache.o /swdev/home/tracy/newecos/ecos/packages/hal/common/current/tests/cache.c gcc -g -O0 -nostdlib -Wl,--gc-sections -Wl,-static -L/home/tracy/ecos/install/lib -Ttarget.ld -o /home/tracy/ecos/install/tests/hal/common/current/tests/cache tests/cache.o =09 /swdev/tools/ecos-3.0.4/H-i686-pc-linux-gnu/bin/../lib/gcc-lib/i686-pc-l inux-gnu/3.0.4/../../../../i686-pc-linux-gnu/bin/ld: warning: no memory region specified for section `.rel.text' =09 /swdev/tools/ecos-3.0.4/H-i686-pc-linux-gnu/bin/../lib/gcc-lib/i686-pc-l inux-gnu/3.0.4/../../../../i686-pc-linux-gnu/bin/ld: warning: no memory region specified for section `.rel.text.cyg_start' =09 /swdev/tools/ecos-3.0.4/H-i686-pc-linux-gnu/bin/../lib/gcc-lib/i686-pc-l inux-gnu/3.0.4/../../../../i686-pc-linux-gnu/bin/ld: warning: no memory region specified for section `.rel.text._Z41__static_initialization_and_destruction_0ii' .. .. .. .. =09 /swdev/tools/ecos-3.0.4/H-i686-pc-linux-gnu/bin/../lib/gcc-lib/i686-pc-l inux-gnu/3.0.4/../../../../i686-pc-linux-gnu/bin/ld: address 0x0 of /home/tracy/ecos/install/tests/hal/common/current/tests/cache section .gcc_except_table is not within region rom Here is the generated target.ld STARTUP(vectors.o) ENTRY(_start) INPUT(extras.o) GROUP(libtarget.a libgcc.a) MEMORY { rom : ORIGIN =3D 0x1000000, LENGTH =3D 0x800000 ram : ORIGIN =3D 0x2000000, LENGTH =3D 0x800000 } SECTIONS { .vectors 0x1000000 : { . =3D .; KEEP(*(.vectors)) } > rom .text ALIGN (0x4) : { _stext =3D .; *(.text*) *(.gnu.warning) *(.gnu.linkonce*) *(.init) } > rom _etext =3D .; PROVIDE (etext =3D .); .fini ALIGN (0x4) : { . =3D .; *(.fini) } > rom .rodata1 ALIGN (0x8) : { . =3D .; *(.rodata1) } > rom .rodata ALIGN (0x8) : { . =3D .; *(.rodata*) } > rom .fixup ALIGN (0x4) : { _FIXUP_START_ =3D ABSOLUTE(.); *(.fixup) _FIXUP_END_ =3D ABSOLUTE(.);} > rom .rel.got ALIGN (0x1) : { *(.rel.got) } > rom .gcc_except_table ALIGN (0x1) : { _EXCEPT_START_ =3D ABSOLUTE(.); *(.gcc_except_table) _EXCEPT_END_ =3D ABSOLUTE(.);} > rom .data 0x2000000 : { __ram_data_start =3D ABSOLUTE(.); *(.data*) _GOT1_START_ =3D ABSOLUTE(.); *(.got1) _GOT1_END_ =3D ABSOLUTE(.); . =3D ALIGN(8); __CTOR_LIST__ =3D ABSOLUTE(.); KEEP(*(SORT(.ctors*))) __CTOR_END__ =3D ABSOLUTE(.); __DTOR_LIST__ =3D ABSOLUTE(.); KEEP(*(SORT(.dtors*))) __DTOR_END__ =3D ABSOLUTE(.); . =3D ALIGN(32); KEEP(*( SORT (.ecos.table.*))); _GOT2_START_ =3D ABSOLUTE(.); *(.got2) _GOT2_END_ =3D ABSOLUTE(.); _GOT_START_ =3D ABSOLUTE(.); _GLOBAL_OFFSET_TABLE_ =3D ABSOLUTE(. + 32768); _SDA_BASE_ =3D ABSOLUTE(.); *(.got.plt) *(.got) _GOT_END_ =3D ABSOLUTE(.); *(.dynamic) *(.eh_frame) _SDATA_START_ =3D ABSOLUTE(.); *(.sdata*) } > ram __rom_data_start =3D LOADADDR(.data); __ram_data_end =3D .; PROVIDE(__ram_data_end =3D .); _edata =3D .; PROVIDE (edata =3D .); .sbss ALIGN (0x4) : { __bss_start =3D ABSOLUTE (.); _SBSS_START_ =3D ABSOLUTE(.); *(.sbss*) _SBSS_END_ =3D ABSOLUTE(.); *(.scommon*) } > ram .bss ALIGN (0x10) : { . =3D .; *(.dynbss*) *(.bss*) *(COMMON) } > ram __bss_end =3D .; __heap1 =3D ALIGN (0x10); . =3D ALIGN(4); _end =3D .; PROVIDE (end =3D .); } Any hints?? > Tracy Jones > Stratalight Communications > tracy@stratalight.com > 408-961-6278 >=20 -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss