Bug#631679: racket: mzc doesn't work with CGC option

2011-08-10 Thread Rafael Cunha de Almeida
On Tue, Aug 09, 2011 at 07:31:46PM -0400, James Vega wrote:
 On Sun, Jun 26, 2011 at 02:02:52AM -0300, Rafael Cunha de Almeida wrote:
  If I try to compile an extension using CGC (instead of 3m), I get the
  following error:
  
  $mzc --cgc --ld example.so example.o example_wrap.o 
  link-extension: (/usr/bin/gcc -fPIC -shared example.o example_wrap.o 
  /usr/lib/racket/mzdyn.o -o example.so)
  link-extension: 
  gcc-4.4.real: /usr/lib/racket/mzdyn.o: No such file or directory
  
  I think it'll just be a matter of setting the correct compilation flags.
 
 Actually, it's a matter of the amd64 packages using the 3m garbage
 collector instead of CGC.  Our packages, like upstreams, only provide
 the binaries/libraries for one GC which means you have
 /usr/lib/racket/mzdyn3m.o installed, not /usr/lib/racket/mzdyn.o.  The
 description of the racket package specifies which GC was built.
 
 I consider this reasonable behavior and will close the bug unless you
 have any objections.

I think that, ideally, both would be added. However, I understand that it might
be technically complicated. So I suggest that mzc returns a small explanation of
the error. Something in the lines:

  CGC garbage collector not supported.

what do you think? The current error makes it look like there's something wrong
with the package or the system.

[]'s
Rafael



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#631679: racket: mzc doesn't work with CGC option

2011-08-09 Thread James Vega
On Sun, Jun 26, 2011 at 02:02:52AM -0300, Rafael Cunha de Almeida wrote:
 If I try to compile an extension using CGC (instead of 3m), I get the
 following error:
 
 $mzc --cgc --ld example.so example.o example_wrap.o 
 link-extension: (/usr/bin/gcc -fPIC -shared example.o example_wrap.o 
 /usr/lib/racket/mzdyn.o -o example.so)
 link-extension: 
 gcc-4.4.real: /usr/lib/racket/mzdyn.o: No such file or directory
 
 I think it'll just be a matter of setting the correct compilation flags.

Actually, it's a matter of the amd64 packages using the 3m garbage
collector instead of CGC.  Our packages, like upstreams, only provide
the binaries/libraries for one GC which means you have
/usr/lib/racket/mzdyn3m.o installed, not /usr/lib/racket/mzdyn.o.  The
description of the racket package specifies which GC was built.

I consider this reasonable behavior and will close the bug unless you
have any objections.

-- 
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega james...@debian.org


signature.asc
Description: Digital signature


Bug#631679: racket: mzc doesn't work with CGC option

2011-06-25 Thread Rafael Cunha de Almeida
Package: racket
Version: 5.1.1+dfsg1-2~bpo60+1
Severity: important

If I try to compile an extension using CGC (instead of 3m), I get the
following error:

$mzc --cgc --ld example.so example.o example_wrap.o 
link-extension: (/usr/bin/gcc -fPIC -shared example.o example_wrap.o 
/usr/lib/racket/mzdyn.o -o example.so)
link-extension: 
gcc-4.4.real: /usr/lib/racket/mzdyn.o: No such file or directory

I think it'll just be a matter of setting the correct compilation flags.

Cheers,
Rafael

-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages racket depends on:
ii  libc6  2.11.2-10 Embedded GNU C Library: Shared lib
ii  racket-common  5.1.1+dfsg1-2~bpo60+1 extensible programming language in

Versions of packages racket recommends:
ii  racket-doc 5.1.1+dfsg1-2~bpo60+1 extensible programming language in

racket suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org