Bug#369411: [Pkg-alsa-devel] Bug#369411: alsa-lib: FTBFS on AMD64
(32-bit link problems)
Ray Kohler
ataraxia at cmu.edu
Mon May 29 19:51:40 UTC 2006
Still does not fix it. I noticed that configure is being called with a
64-bit target in configure_biarch_stamp, is this a problem?
cd bibuild && CC="gcc -m32" LDFLAGS="-L/lib32" \
../configure --prefix=/usr \
--mandir=\${prefix}/share/man \
--infodir=\${prefix}/share/info \
--host=x86_64-linux-gnu \
--enable-static --disable-maintainer-mode
I then tried adding -rpath and/or -rpath-link in LDBIFLAGS. This caused
configure to fail, since the test binaries weren't executable on the
build host (Fails with "exec format error"). Configure really should
using cross-compiler mode.
Next I tried creating a BI_DEB_HOST_GNU_TYPE (in this case,
i486-pc-gnu-linux) and using that as the --host type. Configure still
did not enter cross-compiler mode.
I'm out of ideas at this point.
Elimar Riesebieter wrote:
> On Mon, 29 May 2006 the mental interface of
> Ray Kohler told:
>
>> Not effective, no change at all. I also tried this variation, which was not any
>> better:
>
> Hmm, these where for installing. I introduced LDFLAGS and have no
> amd64 handy. Could you please one more try then?
>
> --- rules.orig 2006-05-29 19:26:19.000000000 +0200
> +++ rules 2006-05-29 20:52:19.000000000 +0200
> @@ -33,6 +33,7 @@
> configure_biarch_stamp = configure-biarch-stamp
> build_biarch_stamp = build-biarch-stamp
> BIARCH_CC = gcc -m$(bi)
> + LDBIFLAGS = -L/lib32
> dpkg_ctrl_args = -- '-Vbilib:depends=libc6-$(biarch_cpu)' \
> '-Vbidev:depends=libc6-dev-$(biarch_cpu)'
> endif
> @@ -66,7 +67,8 @@
> rm -rf bibuild
> mkdir bibuild
> mkdir bibuild/include
> - cd bibuild && CC="$(BIARCH_CC)" ../configure --prefix=/usr \
> + cd bibuild && CC="$(BIARCH_CC)" LDFLAGS="$(LDBIFLAGS)" \
> + ../configure --prefix=/usr \
> --mandir=\$${prefix}/share/man \
> --infodir=\$${prefix}/share/info \
> --datadir=\$${prefix}/share \
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3166 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.alioth.debian.org/pipermail/pkg-alsa-devel/attachments/20060529/150ba7e4/smime-0001.bin
More information about the Pkg-alsa-devel
mailing list