[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#264561: marked as done (ocaml-shout: FTBFS on amd64: '-fPIC' missing in CFLAGS)



Your message dated Mon, 9 Aug 2004 14:59:47 +0200
with message-id <20040809145947.735741ee@babasse>
and subject line Bug#264561: ocaml-shout: 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:34:33 +0000
>From aj@andaco.de Mon Aug 09 05:34:33 2004
Return-path: <aj@andaco.de>
Received: from c156167.adsl.hansenet.de (localhost) [213.39.156.167] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Bu9MH-0007NP-00; Mon, 09 Aug 2004 05:34:33 -0700
Received: from aj by localhost with local (Exim 4.34)
	id 1Bu9MF-0004yu-1D; Mon, 09 Aug 2004 14:34:32 +0200
To: Debian Bug Tracking System <submit@bugs.debian.org>
From: Andreas Jochens <aj@andaco.de>
Subject: ocaml-shout: FTBFS on amd64: '-fPIC' missing in CFLAGS
Message-Id: <[🔎] E1Bu9MF-0004yu-1D@localhost>
Date: Mon, 09 Aug 2004 14:34:32 +0200
Delivered-To: submit@bugs.debian.org
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-shout
Severity: normal
Tags: patch

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

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

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/ocaml-shout-0.1.1/src/Makefile.in ./src/Makefile.in
--- ../tmp-orig/ocaml-shout-0.1.1/src/Makefile.in	2004-06-30 01:22:16.000000000 +0200
+++ ./src/Makefile.in	2004-08-09 14:13:45.195353861 +0200
@@ -29,7 +29,7 @@
 LIBINSTALL_FILES = $(wildcard *.mli *.cmi *.cma *.cmxa *.a *.so)
 OCAMLLDFLAGS =
 CLIBS = shout
-CFLAGS = -g -O2 -Wall -Wno-unused
+CFLAGS = -fPIC -g -O2 -Wall -Wno-unused
 OCAMLBCFLAGS = -g
 OCAMLBLDFLAGS = -g
 

---------------------------------------
Received: (at 264561-done) by bugs.debian.org; 9 Aug 2004 12:59:48 +0000
>From samuel.mimram@ens-lyon.fr Mon Aug 09 05:59:48 2004
Return-path: <samuel.mimram@ens-lyon.fr>
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 1Bu9ki-0002X7-00; Mon, 09 Aug 2004 05:59:48 -0700
Received: from babasse (localhost [127.0.0.1])
	by smimou.is-a-geek.org (Postfix) with ESMTP id 51E69B1499;
	Mon,  9 Aug 2004 14:59:47 +0200 (CEST)
Date: Mon, 9 Aug 2004 14:59:47 +0200
From: Samuel Mimram <samuel.mimram@ens-lyon.fr>
To: Andreas Jochens <aj@andaco.de>, 264561-done@bugs.debian.org
Cc: Julien Cristau <julien.cristau@ens-lyon.fr>
Subject: Re: Bug#264561: ocaml-shout: FTBFS on amd64: '-fPIC' missing in
 CFLAGS
Message-Id: <20040809145947.735741ee@babasse>
In-Reply-To: <[🔎] E1Bu9MF-0004yu-1D@localhost>
References: <[🔎] E1Bu9MF-0004yu-1D@localhost>
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_14_59_47_+0200_Syf6nYPtlMJzWxsR"
Delivered-To: 264561-done@bugs.debian.org
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_14_59_47_+0200_Syf6nYPtlMJzWxsR
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:34:32 +0200 Andreas Jochens <aj@andaco.de> wrote:

> Package: ocaml-shout
> Severity: normal
> Tags: patch
> 
> When building 'ocaml-shout' on amd64 I get the following error:
> 
> /usr/bin/ld: shout_stubs.o: relocation R_X86_64_32 can not be used
> when making a shared object; recompile with -fPIC shout_stubs.o: could
> not read symbols: Bad value collect2: ld returned 1 exit status
> make[3]: *** [dllshout_stubs.so] Error 1
> make[3]: Leaving directory `/ocaml-shout-0.1.1/src'
> 
> With the attached patch 'ocaml-shout' can be compiled on amd64.
> 
> Regards
> Andreas Jochens
> 
> diff -urN ../tmp-orig/ocaml-shout-0.1.1/src/Makefile.in
> ./src/Makefile.in--- ../tmp-orig/ocaml-shout-0.1.1/src/Makefile.in	2004-06-30 01:22:16.000000000 +0200
> +++ ./src/Makefile.in	2004-08-09 14:13:45.195353861 +0200
> @@ -29,7 +29,7 @@
>  LIBINSTALL_FILES = $(wildcard *.mli *.cmi *.cma *.cmxa *.a *.so)
>  OCAMLLDFLAGS =
>  CLIBS = shout
> -CFLAGS = -g -O2 -Wall -Wno-unused
> +CFLAGS = -fPIC -g -O2 -Wall -Wno-unused
>  OCAMLBCFLAGS = -g
>  OCAMLBLDFLAGS = -g
>  
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-ocaml-maint-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
> 


-- 
Samuel Mimram

samuel.mimram@ens-lyon.fr

As a goatherd learns his trade by goat, so a writer learns his trade by
wrote.

--Signature=_Mon__9_Aug_2004_14_59_47_+0200_Syf6nYPtlMJzWxsR
Content-Type: application/pgp-signature

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

iD8DBQFBF3VDIae1O4AJae8RApmDAJoDJB5CYnZlIJQKzGbTOLdrCc60jgCdHJvQ
k3uv0M2+P0Z0WM2iYOaX1LI=
=uulf
-----END PGP SIGNATURE-----

--Signature=_Mon__9_Aug_2004_14_59_47_+0200_Syf6nYPtlMJzWxsR--



Reply to: