[Gc] Re: Desperately needing GC 7.1

Manuel.Serrano at sophia.inria.fr Manuel.Serrano at sophia.inria.fr
Thu Jan 10 21:54:25 PST 2008


Hello Hans,

> In the interest of making available a GC7.1 asap, I generated a
> gc-7.1alpha2.  As far as I know, this is in pretty good shape.
> However, it needs more testing on a variety of platforms.  I'd
> appreciate some more help in doing so.  This is your chance to make
> sure it works on your favorite platform before 7.1 is released!
> 
> You can get the tar file from the usual place, i.e.
I will test this new version today. Currently, I have just downloaded 
the tarball and untar-ed it. I suspect a first small problem.

-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----
$ tar xvfz gc-7.1alpha
...
gc-7.1alpha2/libatomic_ops-1.2/src/libatomic_ops.a
gc-7.1alpha2/libatomic_ops-1.2/src/libatomic_ops_gpl.a
...
$ file gc-7.1alpha2/libatomic_ops-1.2/src/libatomic_ops.a
gc-7.1alpha2/libatomic_ops-1.2/src/libatomic_ops.a: current ar archive
$ ar tv gc-7.1alpha2/libatomic_ops-1.2/src/libatomic_ops.a
rw-r--r-- 11363/100  19200 May 19 02:12 2006 atomic_ops.o
$ ar x libatomic_ops.a 
$ file atomic_ops.o 
atomic_ops.o: ELF 64-bit LSB relocatable, IA-64, version 1 (SYSV), not stripped
-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----

I suspect that these two .a files should be removed from the tarball. 

Yesterday, I have struggled more than two hours with the OSX port because I had
not noticed that gc-7.0.tar.gz contains two .o files compiled for IA64, namely

   gc-7.0/libatomic_ops-1.2/src/atomic_ops_stack.o
   gc-7.0/libatomic_ops-1.2/src/atomic_ops_malloc.o

For a reason that I have not investigated, these two pre-compiled
files ended up added to the .a library built on OSX. In consequence,
of course, the OSX linker complained when linking an executable
against the static version of the GC lib. Removing these two files from
the archive has solved the problem.

-- 
Manuel


More information about the Gc mailing list