Your message dated Mon, 9 Aug 2004 15:14:10 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#264565: ocaml-mad: FTBFS on amd64: '-fPIC' missing in CFLAGS
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 9 Aug 2004 12:53:32 +0000
>From [EMAIL PROTECTED] Mon Aug 09 05:53:32 2004
Return-path: <[EMAIL PROTECTED]>
Received: from c156167.adsl.hansenet.de (localhost) [213.39.156.167] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1Bu9ee-0002Ax-00; Mon, 09 Aug 2004 05:53:32 -0700
Received: from aj by localhost with local (Exim 4.34)
        id 1Bu9ed-0001eZ-9n; Mon, 09 Aug 2004 14:53:31 +0200
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: ocaml-mad: FTBFS on amd64: '-fPIC' missing in CFLAGS
Message-Id: <[EMAIL PROTECTED]>
Date: Mon, 09 Aug 2004 14:53:31 +0200
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: ocaml-mad
Severity: normal
Tags: patch

When building 'ocaml-mad' on amd64 I get the following error:

cc -shared         \
                        -o dllmad_stubs.so  mad_stubs.o -lmad
/usr/bin/ld: mad_stubs.o: relocation R_X86_64_32 can not be used when making a shared 
object; recompile with -fPIC
mad_stubs.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [dllmad_stubs.so] Error 1
make[3]: Leaving directory `/ocaml-mad-0.1.2/src'

With the attached patch 'ocaml-mad' can be compiled on amd64.

Regards
Andreas Jochens

diff -urN ../tmp-orig/ocaml-mad-0.1.2/src/Makefile.in ./src/Makefile.in
--- ../tmp-orig/ocaml-mad-0.1.2/src/Makefile.in 2004-06-30 01:22:15.000000000 +0200
+++ ./src/Makefile.in   2004-08-09 14:16:37.743296336 +0200
@@ -30,7 +30,7 @@
 OCAMLLDFLAGS =
 LIBS = unix
 CLIBS = mad
-CFLAGS = -g -O2
+CFLAGS = -fPIC -g -O2
 OCAMLBCFLAGS = -g
 OCAMLBLDFLAGS = -g
 

---------------------------------------
Received: (at 264565-done) by bugs.debian.org; 9 Aug 2004 13:14:13 +0000
>From [EMAIL PROTECTED] Mon Aug 09 06:14:13 2004
Return-path: <[EMAIL PROTECTED]>
Received: from babasse.csbnet.se (smimou.is-a-geek.org) [193.11.251.151] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1Bu9ye-0003Ii-00; Mon, 09 Aug 2004 06:14:13 -0700
Received: from babasse (localhost [127.0.0.1])
        by smimou.is-a-geek.org (Postfix) with ESMTP id 3A17BB1499;
        Mon,  9 Aug 2004 15:14:11 +0200 (CEST)
Date: Mon, 9 Aug 2004 15:14:10 +0200
From: Samuel Mimram <[EMAIL PROTECTED]>
To: Andreas Jochens <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: Re: Bug#264565: ocaml-mad: FTBFS on amd64: '-fPIC' missing in
 CFLAGS
Message-Id: <[EMAIL PROTECTED]>
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
X-Mailer: Sylpheed-Claws 0.9.12 (GTK+ 1.2.10; i386-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: multipart/signed; protocol="application/pgp-signature";
 micalg="pgp-sha1";
 boundary="Signature=_Mon__9_Aug_2004_15_14_10_+0200_bnzS=BGGxyVaR6CJ"
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

--Signature=_Mon__9_Aug_2004_15_14_10_+0200_bnzS=BGGxyVaR6CJ
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Hello,

Thanks for reporting this. I had already noticed it and it should be
fixed in the -2 which was already uploaded. Upstream is also aware of
that and it should be corrected in the next release. Therefore I close
this bug.

Cheers,

Samuel.


On Mon, 09 Aug 2004 14:53:31 +0200 Andreas Jochens <[EMAIL PROTECTED]> wrote:

> Package: ocaml-mad
> Severity: normal
> Tags: patch
> 
> When building 'ocaml-mad' on amd64 I get the following error:
> 
> cc -shared         \
>                       -o dllmad_stubs.so  mad_stubs.o -lmad
> /usr/bin/ld: mad_stubs.o: relocation R_X86_64_32 can not be used when
> making a shared object; recompile with -fPIC mad_stubs.o: could not
> read symbols: Bad value collect2: ld returned 1 exit status
> make[3]: *** [dllmad_stubs.so] Error 1
> make[3]: Leaving directory `/ocaml-mad-0.1.2/src'
> 
> With the attached patch 'ocaml-mad' can be compiled on amd64.
> 
> Regards
> Andreas Jochens
> 
> diff -urN ../tmp-orig/ocaml-mad-0.1.2/src/Makefile.in
> ./src/Makefile.in--- ../tmp-orig/ocaml-mad-0.1.2/src/Makefile.in      2004-06-30 
> 01:22:15.000000000 +0200
> +++ ./src/Makefile.in 2004-08-09 14:16:37.743296336 +0200
> @@ -30,7 +30,7 @@
>  OCAMLLDFLAGS =
>  LIBS = unix
>  CLIBS = mad
> -CFLAGS = -g -O2
> +CFLAGS = -fPIC -g -O2
>  OCAMLBCFLAGS = -g
>  OCAMLBLDFLAGS = -g
>  
> 


-- 
Samuel Mimram

[EMAIL PROTECTED]

Collaboration, n.:
        A literary partnership based on the false assumption that the
        other fellow can spell.

--Signature=_Mon__9_Aug_2004_15_14_10_+0200_bnzS=BGGxyVaR6CJ
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBF3iiIae1O4AJae8RAog2AJ9kKKwal9cFL+iYkWzxMH5zonYbDACfchQE
tavCWYEIIeAqY1FMIeb33IE=
=7ayx
-----END PGP SIGNATURE-----

--Signature=_Mon__9_Aug_2004_15_14_10_+0200_bnzS=BGGxyVaR6CJ--


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to