public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] synth linux tests: address 0x0 of cache section .fixup is not within region rom
@ 2002-04-07 23:15 programmer
  2002-04-08  0:11 ` Andrew Lunn
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: programmer @ 2002-04-07 23:15 UTC (permalink / raw)
  To: ecos-discuss

Hello!

This problem drives me nuts. The person solving this will be eternally
remembered in the comments of the source code.

Building on (SuSE7.3) linux.

Using latest cvs (ecosconfig 1.3.net)
Doing
# ecosconfig new linux all
U CYGBLD_ISO_POSIX_CLOCKS_HEADER, new inferred value <cyg/posix/time.h>
U CYGDBG_KERNEL_DEBUG_GDB_THREAD_SUPPORT, new inferred value 0
U CYGBLD_ISO_DIRENT_HEADER, new inferred value <cyg/fileio/dirent.h>
U CYGBLD_ISO_POSIX_CLOCK_TYPES_HEADER, new inferred value
<cyg/posix/time.h>
U CYGNUM_LIBC_MAIN_DEFAULT_STACK_SIZE, new inferred value 16384
U CYGBLD_ISO_BSDTYPES_HEADER, new inferred value <sys/bsdtypes.h>
U CYGBLD_ISO_OPEN_MAX_HEADER, new inferred value <cyg/fileio/limits.h>
U CYGBLD_ISO_PTHREAD_MUTEX_HEADER, new inferred value <cyg/posix/mutex.h>
U CYGBLD_ISO_NETDB_PROTO_HEADER, new inferred value <net/netdb.h>
U CYGBLD_ISO_NETDB_SERV_HEADER, new inferred value <net/netdb.h>
# ecosconfig tree
# make build
[snip]
# make tests
[snip]
/usr/i486-suse-linux/bin/ld: warning: no memory region specified for
section `.rel.data.inetsw'
/usr/i486-suse-linux/bin/ld: address 0x0 of
/home/bjorn/ecos-work/install/tests/hal/common/current/tests/cache section
..fixup is not within region rom
/usr/i486-suse-linux/bin/ld: address 0x0 of
/home/bjorn/ecos-work/install/tests/hal/common/current/tests/cache section
..gcc_except_table is not within region rom
collect2: ld returned 1 exit status



Has anybody built recently on linux for synthetical linux target?
What steps not outlined in the docs are necessary to get this working?


Regards,

Bjorn Runaker






-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ECOS] synth linux tests: address 0x0 of cache section .fixup is not within region rom
  2002-04-07 23:15 [ECOS] synth linux tests: address 0x0 of cache section .fixup is not within region rom programmer
@ 2002-04-08  0:11 ` Andrew Lunn
  2002-04-08  0:36 ` Robin Farine
  2002-04-10 14:22 ` Jonathan Larmour
  2 siblings, 0 replies; 6+ messages in thread
From: Andrew Lunn @ 2002-04-08  0:11 UTC (permalink / raw)
  To: programmer; +Cc: ecos-discuss

On Mon, Apr 08, 2002 at 08:06:25AM +0200, programmer@mail.eblueweb.com wrote:
> /usr/i486-suse-linux/bin/ld: warning: no memory region specified for
> section `.rel.data.inetsw'
> /usr/i486-suse-linux/bin/ld: address 0x0 of
> /home/bjorn/ecos-work/install/tests/hal/common/current/tests/cache section
> ..fixup is not within region rom
> /usr/i486-suse-linux/bin/ld: address 0x0 of
> /home/bjorn/ecos-work/install/tests/hal/common/current/tests/cache section
> ..gcc_except_table is not within region rom
> collect2: ld returned 1 exit status

What version of gcc are you using? Most people use gcc 2.x. It could
be you have gcc 3.x which is causing you problems.

   Andrew

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ECOS] synth linux tests: address 0x0 of cache section .fixup is not within region rom
  2002-04-07 23:15 [ECOS] synth linux tests: address 0x0 of cache section .fixup is not within region rom programmer
  2002-04-08  0:11 ` Andrew Lunn
@ 2002-04-08  0:36 ` Robin Farine
  2002-04-10 14:22 ` Jonathan Larmour
  2 siblings, 0 replies; 6+ messages in thread
From: Robin Farine @ 2002-04-08  0:36 UTC (permalink / raw)
  To: programmer; +Cc: ecos-discuss

[-- Attachment #1: Type: text/plain, Size: 360 bytes --]

On Mon, 2002-04-08 at 08:06, programmer@mail.eblueweb.com wrote:

[...]

> 
> Has anybody built recently on linux for synthetical linux target?
> What steps not outlined in the docs are necessary to get this working?
> 

I'm working with an ARM target but the attached diffs to linker script
templates may help you modify the linux synthetic target's.

Robin


[-- Attachment #2: ecos-arm-ld.diff --]
[-- Type: text/x-patch, Size: 8010 bytes --]

Index: packages/hal/arm/arch/current/src/arm.ld
===================================================================
RCS file: /home/cvs/eCos/base/packages/hal/arm/arch/current/src/arm.ld,v
retrieving revision 1.1.1.2
retrieving revision 1.3
diff -u -p -r1.1.1.2 -r1.3
--- packages/hal/arm/arch/current/src/arm.ld	9 Apr 2001 13:49:06 -0000	1.1.1.2
+++ packages/hal/arm/arch/current/src/arm.ld	10 Aug 2001 17:25:13 -0000	1.3
@@ -93,8 +93,8 @@ OUTPUT_FORMAT(elf32-bigarm)
     .text _vma_ : _lma_ \
     { _stext = ABSOLUTE(.); \
     PROVIDE (__stext = ABSOLUTE(.)); \
-    *(.text*) *(.gnu.warning) *(.gnu.linkonce*) *(.init) \
-    *(.glue_7) *(.glue_7t)  \
+    *(.text) *(.text.*) *(.gnu.warning) *(.gnu.linkonce.t.*) \
+    *(.init) *(.glue_7) *(.glue_7t)  \
     } > _region_ \
     _etext = .; PROVIDE (__etext = .);
 
@@ -109,7 +109,7 @@ OUTPUT_FORMAT(elf32-bigarm)
 #else
 #define SECTION_rodata(_region_, _vma_, _lma_) \
     .rodata _vma_ : _lma_ \
-    { FORCE_OUTPUT; *(.rodata*) } \
+    { FORCE_OUTPUT; *(.rodata) *(.rodata.*) *(.gnu.linkonce.r.*) } \
     > _region_
 
 #define SECTION_rodata1(_region_, _vma_, _lma_) \
@@ -128,6 +128,74 @@ OUTPUT_FORMAT(elf32-bigarm)
     { FORCE_OUTPUT; *(.gcc_except_table) } \
     > _region_
 
+#define SECTION_eh_frame(_region_, _vma_, _lma_)      \
+  .eh_frame _vma_ : _lma_                             \
+    {                                                 \
+       FORCE_OUTPUT;  __EH_FRAME_BEGIN__ = .;         \
+       KEEP(*(.eh_frame))                             \
+       __FRAME_END__ = .;                             \
+       . = . + 8;                                     \
+    } > _region_ = 0
+
+#define SECTION_RELOCS(_region_, _vma_, _lma_)                              \
+  .rel.text      :                                                          \
+    {                                                                       \
+      *(.rel.text)                                                          \
+      *(.rel.text.*)                                                        \
+      *(.rel.gnu.linkonce.t.*)                                              \
+    } > _region_                                                            \
+  .rela.text     :                                                          \
+    {                                                                       \
+      *(.rela.text)                                                         \
+      *(.rela.text.*)                                                       \
+      *(.rela.gnu.linkonce.t.*)                                             \
+    } > _region_                                                            \
+  .rel.data      :                                                          \
+    {                                                                       \
+      *(.rel.data)                                                          \
+      *(.rel.data.*)                                                        \
+      *(.rel.gnu.linkonce.d.*)                                              \
+    } > _region_                                                            \
+  .rela.data     :                                                          \
+    {                                                                       \
+      *(.rela.data)                                                         \
+      *(.rela.data.*)                                                       \
+      *(.rela.gnu.linkonce.d.*)                                             \
+    } > _region_                                                            \
+  .rel.rodata    :                                                          \
+    {                                                                       \
+      *(.rel.rodata)                                                        \
+      *(.rel.rodata.*)                                                      \
+      *(.rel.gnu.linkonce.r.*)                                              \
+    } > _region_                                                            \
+  .rela.rodata   :                                                          \
+    {                                                                       \
+      *(.rela.rodata)                                                       \
+      *(.rela.rodata.*)                                                     \
+      *(.rela.gnu.linkonce.r.*)                                             \
+    } > _region_                                                            \
+  .rel.got       :   { *(.rel.got)    } > _region_                          \
+  .rela.got      :   { *(.rela.got)   } > _region_                          \
+  .rel.ctors     :   { *(.rel.ctors)  } > _region_                          \
+  .rela.ctors    :   { *(.rela.ctors) } > _region_                          \
+  .rel.dtors     :   { *(.rel.dtors)  } > _region_                          \
+  .rela.dtors    :   { *(.rela.dtors) } > _region_                          \
+  .rel.init      :   { *(.rel.init)   } > _region_                          \
+  .rela.init     :   { *(.rela.init)  } > _region_                          \
+  .rel.fini      :   { *(.rel.fini)   } > _region_                          \
+  .rela.fini     :   { *(.rela.fini)  } > _region_                          \
+  .rel.bss       :   { *(.rel.bss)    } > _region_                          \
+  .rela.bss      :   { *(.rela.bss)   } > _region_                          \
+  .rel.plt       :   { *(.rel.plt)    } > _region_                          \
+  .rela.plt      :   { *(.rela.plt)   } > _region_                          \
+  .rel.dyn       :   { *(.rel.dyn)    } > _region_
+
+#define SECTION_got(_region_, _vma_, _lma_)     \
+  .got _vma_ : _lma_                            \
+    {                                           \
+      FORCE_OUTPUT; *(.got.plt) *(.got)         \
+    } > _region_
+
 #define SECTION_mmu_tables(_region_, _vma_, _lma_) \
     .mmu_tables _vma_ : _lma_ \
     { FORCE_OUTPUT; *(.mmu_tables) } \
@@ -140,25 +208,28 @@ OUTPUT_FORMAT(elf32-bigarm)
 
 #define SECTION_data(_region_,  _vma_, _lma_) \
     .data _vma_ : _lma_ \
-    { __ram_data_start = ABSOLUTE (.); *(.data*) *(.data1) MERGE_IN_RODATA \
-    _GOT1_START_ = ABSOLUTE (.); *(.got1) _GOT1_END_ = ABSOLUTE (.); \
-    _GOT2_START_ = ABSOLUTE (.); *(.got2) _GOT2_END_ = ABSOLUTE (.); \
+    { __ram_data_start = ABSOLUTE (.); \
+    *(.data) *(.data.*) *(.data1) *(.gnu.linkonce.d.*) \
     . = ALIGN (4); \
     KEEP(*( SORT (.ecos.table.*))) ;            \
     . = ALIGN (4); \
-    __CTOR_LIST__ = ABSOLUTE (.); KEEP (*(SORT (.ctors*))) __CTOR_END__ = ABSOLUTE (.); \
-    __DTOR_LIST__ = ABSOLUTE (.); KEEP (*(SORT (.dtors*))) __DTOR_END__ = ABSOLUTE (.); \
-    *(.dynamic) *(.sdata*) *(.sbss*) \
+    __CTOR_LIST__ = ABSOLUTE (.); \
+    KEEP (*(.ctors)) KEEP (*(SORT (.ctors.*))) __CTOR_END__ = ABSOLUTE (.); \
+    __DTOR_LIST__ = ABSOLUTE (.); \
+    KEEP (*(.dtors)) KEEP (*(SORT (.dtors.*))) __DTOR_END__ = ABSOLUTE (.); \
+    *(.dynamic) *(.sdata) *(.sdata.*) *(.gnu.linkonce.s.*) \
     . = ALIGN (4); *(.2ram.*) } \
     > _region_ \
     __rom_data_start = LOADADDR (.data); \
-    __ram_data_end = .; PROVIDE (__ram_data_end = .); _edata = .; PROVIDE (edata = .); \
+    __ram_data_end = .; PROVIDE (__ram_data_end = .); \
+    _edata = .; PROVIDE (edata = .); \
     PROVIDE (__rom_data_end = LOADADDR (.data) + SIZEOF(.data));
 
 #define SECTION_bss(_region_,  _vma_, _lma_) \
     .bss _vma_ : _lma_ \
     { __bss_start = ABSOLUTE (.); \
-    *(.scommon) *(.dynbss) *(.bss*) *(COMMON) \
+    *(.dynsbss) *(.sbss) *(.sbss.*) *(.gnu.linkonce.sb.*) *(.scommon) \
+    *(.dynbss) *(.bss) *(.bss.*) *(.gnu.linkonce.b.*) *(COMMON) \
     __bss_end = ABSOLUTE (.); } \
     > _region_
 

[-- Attachment #3: ecos-pform-ldi.diff --]
[-- Type: text/x-patch, Size: 1600 bytes --]

Index: packages/hal/arm/sa11x0/plc2/current/include/pkgconf/mlt_arm_sa11x0_plc2_ram.ldi
===================================================================
RCS file: /home/cvs/eCos/base/packages/hal/arm/sa11x0/plc2/current/include/pkgconf/mlt_arm_sa11x0_plc2_ram.ldi,v
retrieving revision 1.1.1.1
retrieving revision 1.4
diff -u -p -r1.1.1.1 -r1.4
--- packages/hal/arm/sa11x0/plc2/current/include/pkgconf/mlt_arm_sa11x0_plc2_ram.ldi	8 Mar 2001 08:57:08 -0000	1.1.1.1
+++ packages/hal/arm/sa11x0/plc2/current/include/pkgconf/mlt_arm_sa11x0_plc2_ram.ldi	13 Jul 2001 08:43:21 -0000	1.4
@@ -1,6 +1,6 @@
 // eCos memory layout - Fri Oct 20 05:56:24 2000
 
-// This is a generated file - do not edit
+// This is an edited generated file - do not regenerate
 
 #include <cyg/infra/cyg_type.inc>
 
@@ -14,13 +14,16 @@ SECTIONS
     SECTIONS_BEGIN
     SECTION_fixed_vectors (ram, 0x20, LMA_EQ_VMA)
     SECTION_rom_vectors (ram, 0x20000, LMA_EQ_VMA)
+    SECTION_RELOCS (ram, ALIGN (0x4), LMA_EQ_VMA)
     SECTION_text (ram, ALIGN (0x4), LMA_EQ_VMA)
     SECTION_fini (ram, ALIGN (0x4), LMA_EQ_VMA)
     SECTION_rodata (ram, ALIGN (0x4), LMA_EQ_VMA)
     SECTION_rodata1 (ram, ALIGN (0x4), LMA_EQ_VMA)
     SECTION_fixup (ram, ALIGN (0x4), LMA_EQ_VMA)
     SECTION_gcc_except_table (ram, ALIGN (0x4), LMA_EQ_VMA)
+    SECTION_eh_frame (ram, ALIGN (0x4), LMA_EQ_VMA)
     SECTION_data (ram, ALIGN (0x4), LMA_EQ_VMA)
+    SECTION_got (ram, ALIGN (0x4), LMA_EQ_VMA)
     SECTION_bss (ram, ALIGN (0x4), LMA_EQ_VMA)
     CYG_LABEL_DEFN(__heap1) = ALIGN (0x8);
     SECTIONS_END


[-- Attachment #4: Type: text/plain, Size: 146 bytes --]

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ECOS] synth linux tests: address 0x0 of cache section .fixup is not  within region rom
  2002-04-07 23:15 [ECOS] synth linux tests: address 0x0 of cache section .fixup is not within region rom programmer
  2002-04-08  0:11 ` Andrew Lunn
  2002-04-08  0:36 ` Robin Farine
@ 2002-04-10 14:22 ` Jonathan Larmour
  2002-04-10 18:06   ` Joel Hansen
  2 siblings, 1 reply; 6+ messages in thread
From: Jonathan Larmour @ 2002-04-10 14:22 UTC (permalink / raw)
  To: programmer; +Cc: ecos-discuss

programmer@mail.eblueweb.com wrote:
> 
> Hello!
> 
> This problem drives me nuts. The person solving this will be eternally
> remembered in the comments of the source code.
> 
> Building on (SuSE7.3) linux.
> 
> Using latest cvs (ecosconfig 1.3.net)
> Doing
> # ecosconfig new linux all
> U CYGBLD_ISO_POSIX_CLOCKS_HEADER, new inferred value <cyg/posix/time.h>
> U CYGDBG_KERNEL_DEBUG_GDB_THREAD_SUPPORT, new inferred value 0
> U CYGBLD_ISO_DIRENT_HEADER, new inferred value <cyg/fileio/dirent.h>
> U CYGBLD_ISO_POSIX_CLOCK_TYPES_HEADER, new inferred value
> <cyg/posix/time.h>
> U CYGNUM_LIBC_MAIN_DEFAULT_STACK_SIZE, new inferred value 16384
> U CYGBLD_ISO_BSDTYPES_HEADER, new inferred value <sys/bsdtypes.h>
> U CYGBLD_ISO_OPEN_MAX_HEADER, new inferred value <cyg/fileio/limits.h>
> U CYGBLD_ISO_PTHREAD_MUTEX_HEADER, new inferred value <cyg/posix/mutex.h>
> U CYGBLD_ISO_NETDB_PROTO_HEADER, new inferred value <net/netdb.h>
> U CYGBLD_ISO_NETDB_SERV_HEADER, new inferred value <net/netdb.h>
> # ecosconfig tree
> # make build
> [snip]
> # make tests
> [snip]
> /usr/i486-suse-linux/bin/ld: warning: no memory region specified for
> section `.rel.data.inetsw'
> /usr/i486-suse-linux/bin/ld: address 0x0 of
> /home/bjorn/ecos-work/install/tests/hal/common/current/tests/cache section
> ..fixup is not within region rom
> /usr/i486-suse-linux/bin/ld: address 0x0 of
> /home/bjorn/ecos-work/install/tests/hal/common/current/tests/cache section
> ..gcc_except_table is not within region rom
> collect2: ld returned 1 exit status

Are you sure this is latest CVS? I ask because the current
hal/synth/i386linux/current/include/pkgconf/mlt_synth_i386_rom.ldi does
include:

    SECTION_fixup (rom, ALIGN (0x4), LMA_EQ_VMA)
and
    SECTION_gcc_except_table (rom, ALIGN (0x1), LMA_EQ_VMA)

which should provide mappings for those sections, although not
.rel.data.inetse admittedly. I'll fix that internally.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ECOS] synth linux tests: address 0x0 of cache section .fixup is not  within region rom
  2002-04-10 14:22 ` Jonathan Larmour
@ 2002-04-10 18:06   ` Joel Hansen
  2002-04-12 16:25     ` Jonathan Larmour
  0 siblings, 1 reply; 6+ messages in thread
From: Joel Hansen @ 2002-04-10 18:06 UTC (permalink / raw)
  To: ecos-discuss

I haven't solved your problem but I think I've isolated it.

I'm having the same problem when creating the tests (or any program) for a
Linux synthetic target.  I've loaded the current (as of mid-March) CVS ecos
and configtool. I relooked at the ecos build and I have an error (just an
error statement in the output stream with the build continuing as if
everything's ok).  The error encountered is that the build process
(makefile) couldn't find the init.tcl file and comes up with the error
message that TCL may not have been installed correctly.  This error occurs
after the heaps.cxx file is made. The build is looking for a TCL8.0
directory under the tools/share, tools/H-i686-pc-linux-gnu/usr/share or
tools/H-i686-pc-linux-gnu/share directories.  I added to the search path the
TCL installed at usr/lib/tcl8.3 but get the same error.  My next step is to
install TCL under one of the above listed directories (probably tools/share)
but am not real confident since the makefile seems to be looking for a
static tcl8.0 directory name where the init.tcl file is located. I just
haven't had the chance to try that or trace the makefile command path to
find the location where the TCL directory is defined  (I'm working on
porting a program to ecos under the linux synthetic target and i386 target,
part-time). Since the error occurs where the heap is defined I believe
that's why the gnu linker can't find the specified memory regions for the
Linux synthetic target and errors on a cache overlap.

The following is my build error listing:

make -r -C services/memalloc/common/current heapgeninc.tcl
make[1]: Entering directory
`/home/joel/project-docs/ebtide_build/services/memalloc/common/current'
gcc -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-
virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions
 -fvtable-gc -finit-priority  -I/home/joel/project-docs/ebtide_install/inclu
de -I/opt/ecos/packages/services/memalloc/common/current -I/opt/ecos/package
s/services/memalloc/common/current/src -I/opt/ecos/packages/services/memallo
c/common/current/tests -I. -Wp,-MD,heapgen.tmp -E
/opt/ecos/packages/services/memalloc/common/current/src/heapgen.cpp -o
heapgeninc.tcl
make[1]: Leaving directory
`/home/joel/project-docs/ebtide_build/services/memalloc/common/current'
make -r -C services/memalloc/common/current heaps.cxx
make[1]: Entering directory
`/home/joel/project-docs/ebtide_build/services/memalloc/common/current'
XPWD=`pwd` ; cd /opt/ecos/packages/services/memalloc/common/current/src ; sh
heapgen.tcl "/home/joel/project-docs/ebtide_install" "$XPWD"
make[1]: Leaving directory
`/home/joel/project-docs/ebtide_build/services/memalloc/common/current'
application-specific initialization failed: Can't find a usable init.tcl in
the following directories:
make -r -C hal/synth/arch/current build
    /tools/H-i686-pc-linux-gnu/share/tcl8.0
/tools/H-i686-pc-linux-gnu/usr/share/tcl8.0 /tools/share/tcl8.0
tools/share/tcl8.0
make[1]: Entering directory
`/home/joel/project-docs/ebtide_build/hal/synth/arch/current'

gcc -c  -I/home/joel/project-docs/ebtide_install/include -I/opt/ecos/package
s/hal/synth/arch/current -I/opt/ecos/packages/hal/synth/arch/current/src -I/
opt/ecos/packages/hal/synth/arch/current/tests -I. -I/opt/ecos/packages/hal/
synth/arch/current/src/ -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/synth_entry.tmp
 -o src/hal_synth_arch_synth_entry.o
/opt/ecos/packages/hal/synth/arch/current/src/synth_entry.c


This probably means that Tcl wasn't installed properly.



Hope this helps.  If you solve it before me, please let me know what
corrected the problem.

Thanks
Joel Hansen

----- Original Message -----
From: "Jonathan Larmour" <jlarmour@redhat.com>
To: <programmer@mail.eblueweb.com>
Cc: <ecos-discuss@sources.redhat.com>
Sent: Wednesday, April 10, 2002 05:22 PM
Subject: Re: [ECOS] synth linux tests: address 0x0 of cache section .fixup
is not within region rom


> programmer@mail.eblueweb.com wrote:
> >
> > Hello!
> >
> > This problem drives me nuts. The person solving this will be eternally
> > remembered in the comments of the source code.
> >
> > Building on (SuSE7.3) linux.
> >
> > Using latest cvs (ecosconfig 1.3.net)
> > Doing
> > # ecosconfig new linux all
> > U CYGBLD_ISO_POSIX_CLOCKS_HEADER, new inferred value <cyg/posix/time.h>
> > U CYGDBG_KERNEL_DEBUG_GDB_THREAD_SUPPORT, new inferred value 0
> > U CYGBLD_ISO_DIRENT_HEADER, new inferred value <cyg/fileio/dirent.h>
> > U CYGBLD_ISO_POSIX_CLOCK_TYPES_HEADER, new inferred value
> > <cyg/posix/time.h>
> > U CYGNUM_LIBC_MAIN_DEFAULT_STACK_SIZE, new inferred value 16384
> > U CYGBLD_ISO_BSDTYPES_HEADER, new inferred value <sys/bsdtypes.h>
> > U CYGBLD_ISO_OPEN_MAX_HEADER, new inferred value <cyg/fileio/limits.h>
> > U CYGBLD_ISO_PTHREAD_MUTEX_HEADER, new inferred value
<cyg/posix/mutex.h>
> > U CYGBLD_ISO_NETDB_PROTO_HEADER, new inferred value <net/netdb.h>
> > U CYGBLD_ISO_NETDB_SERV_HEADER, new inferred value <net/netdb.h>
> > # ecosconfig tree
> > # make build
> > [snip]
> > # make tests
> > [snip]
> > /usr/i486-suse-linux/bin/ld: warning: no memory region specified for
> > section `.rel.data.inetsw'
> > /usr/i486-suse-linux/bin/ld: address 0x0 of
> > /home/bjorn/ecos-work/install/tests/hal/common/current/tests/cache
section
> > ..fixup is not within region rom
> > /usr/i486-suse-linux/bin/ld: address 0x0 of
> > /home/bjorn/ecos-work/install/tests/hal/common/current/tests/cache
section
> > ..gcc_except_table is not within region rom
> > collect2: ld returned 1 exit status
>
> Are you sure this is latest CVS? I ask because the current
> hal/synth/i386linux/current/include/pkgconf/mlt_synth_i386_rom.ldi does
> include:
>
>     SECTION_fixup (rom, ALIGN (0x4), LMA_EQ_VMA)
> and
>     SECTION_gcc_except_table (rom, ALIGN (0x1), LMA_EQ_VMA)
>
> which should provide mappings for those sections, although not
> .rel.data.inetse admittedly. I'll fix that internally.
>
> Jifl
> --
> Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
> Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
>
> --
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss
>


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ECOS] synth linux tests: address 0x0 of cache section .fixup is  not  within region rom
  2002-04-10 18:06   ` Joel Hansen
@ 2002-04-12 16:25     ` Jonathan Larmour
  0 siblings, 0 replies; 6+ messages in thread
From: Jonathan Larmour @ 2002-04-12 16:25 UTC (permalink / raw)
  To: Joel Hansen; +Cc: ecos-discuss

Joel Hansen wrote:
> [snip]The error encountered is that the build process
> (makefile) couldn't find the init.tcl file and comes up with the error
> message that TCL may not have been installed correctly.  This error occurs
> after the heaps.cxx file is made. [snip]
> Since the error occurs where the heap is defined I believe
> that's why the gnu linker can't find the specified memory regions for the
> Linux synthetic target and errors on a cache overlap.

I confess to being very sceptical that this would be the reason.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-04-12 23:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-07 23:15 [ECOS] synth linux tests: address 0x0 of cache section .fixup is not within region rom programmer
2002-04-08  0:11 ` Andrew Lunn
2002-04-08  0:36 ` Robin Farine
2002-04-10 14:22 ` Jonathan Larmour
2002-04-10 18:06   ` Joel Hansen
2002-04-12 16:25     ` Jonathan Larmour

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).