[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Axiom-developer] Re: address@hidden: Axiom on FC3]
From: |
Camm Maguire |
Subject: |
[Axiom-developer] Re: address@hidden: Axiom on FC3] |
Date: |
24 Nov 2004 15:07:29 -0500 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Greetings!
Gérard Milmeister <address@hidden> writes:
> On Mon, 2004-11-22 at 10:46 -0500, Camm Maguire wrote:
> > Greetings!
> >
> > Tim Daly <address@hidden> writes:
> >
> > > Camm,
> > >
> > > Have you tried FC3 builds yet? I know GCL runs on FC1 and FC2 but
> > > I don't yet have a machine running FC3.
> > >
> >
> > My suggestion is to configure with --disable-statsysbfd
> > --enable-locbfd for now, and see if this fixes things. If so, we can
> > chase down any potentially new bfd problems thereafter.
>
> Can you let me know, when there is a snapshot in CVS that will work with
> FC3?
>
> A question: I have SBCL running well on FC3. Is it possible to switch? I
> had some bad experience with GCL in the past.
>
You should be ready to go right now under FC3 with two options:
1) source as is, configure with --disable-statsysbfd --enable-locbfd
or
2) Apply the patch below, then use any bfd you want.
Please let me know if this does not work for you.
Take care,
=============================================================================
=============================================================================
Index: o/sfaslbfd.c
===================================================================
RCS file: /cvsroot/gcl/gcl/o/sfaslbfd.c,v
retrieving revision 1.18
diff -u -r1.18 sfaslbfd.c
--- o/sfaslbfd.c 23 Aug 2004 23:09:23 -0000 1.18
+++ o/sfaslbfd.c 24 Nov 2004 16:00:09 -0000
@@ -256,7 +256,7 @@
current=round_up(current,1<<s->alignment_power);
- current+=s->_raw_size;
+ current+=bfd_section_size(b,s);
}
curr_size=(unsigned long)current;
@@ -281,7 +281,7 @@
m=round_up(m,1<<s->alignment_power);
s->output_section->vma=(unsigned long)m;
- m+=s->_raw_size;
+ m+=bfd_section_size(b,s);
}
@@ -346,7 +346,7 @@
v,0,q))
FEerror("Cannot get relocated section contents\n",0);
- memcpy((void *)(unsigned long)s->output_section->vma,v,s->_raw_size);
+ memcpy((void *)(unsigned
long)s->output_section->vma,v,bfd_section_size(b,s));
}
}
Index: binutils/bfd/bfd-in.h
===================================================================
RCS file: /cvsroot/gcl/gcl/binutils/bfd/bfd-in.h,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 bfd-in.h
--- binutils/bfd/bfd-in.h 9 Aug 2002 05:34:46 -0000 1.1.1.1
+++ binutils/bfd/bfd-in.h 24 Nov 2004 18:45:08 -0000
@@ -337,7 +337,8 @@
#define bfd_get_section_lma(bfd, ptr) ((ptr)->lma + 0)
#define bfd_get_section_alignment(bfd, ptr) ((ptr)->alignment_power + 0)
#define bfd_section_name(bfd, ptr) ((ptr)->name)
-#define bfd_section_size(bfd, ptr) (bfd_get_section_size_before_reloc(ptr))
+#define bfd_section_size(bfd, ptr) ((ptr)->_raw_size)
+/* #define bfd_section_size(bfd, ptr) (bfd_get_section_size_before_reloc(ptr))
*/
#define bfd_section_vma(bfd, ptr) ((ptr)->vma)
#define bfd_section_lma(bfd, ptr) ((ptr)->lma)
#define bfd_section_alignment(bfd, ptr) ((ptr)->alignment_power)
Index: binutils/bfd/bfd-in2.h
===================================================================
RCS file: /cvsroot/gcl/gcl/binutils/bfd/bfd-in2.h,v
retrieving revision 1.3
diff -u -r1.3 bfd-in2.h
--- binutils/bfd/bfd-in2.h 22 Feb 2004 11:05:18 -0000 1.3
+++ binutils/bfd/bfd-in2.h 24 Nov 2004 18:45:08 -0000
@@ -342,7 +342,8 @@
#define bfd_get_section_lma(bfd, ptr) ((ptr)->lma + 0)
#define bfd_get_section_alignment(bfd, ptr) ((ptr)->alignment_power + 0)
#define bfd_section_name(bfd, ptr) ((ptr)->name)
-#define bfd_section_size(bfd, ptr) (bfd_get_section_size_before_reloc(ptr))
+#define bfd_section_size(bfd, ptr) ((ptr)->_raw_size)
+/*#define bfd_section_size(bfd, ptr) (bfd_get_section_size_before_reloc(ptr))*/
#define bfd_section_vma(bfd, ptr) ((ptr)->vma)
#define bfd_section_lma(bfd, ptr) ((ptr)->lma)
#define bfd_section_alignment(bfd, ptr) ((ptr)->alignment_power)
=============================================================================
=============================================================================
> Gemi
>
>
>
>
--
Camm Maguire address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah