Report forwarded to debian-bugs-dist@lists.debian.org, Sam Hocevar (Debian packages) <sam+deb@zoy.org>: Bug#397766; Package libdts-dev.
(full text, mbox, link).
Acknowledgement sent to Jean-Michel Pouré <jmpoure@free.fr>:
New Bug report received and forwarded. Copy sent to Sam Hocevar (Debian packages) <sam+deb@zoy.org>.
(full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Sam Hocevar (Debian packages) <sam+deb@zoy.org>: Bug#397766; Package libdts-dev.
(full text, mbox, link).
Acknowledgement sent to Steve Langasek <vorlon@debian.org>:
Extra info received and forwarded to list. Copy sent to Sam Hocevar (Debian packages) <sam+deb@zoy.org>.
(full text, mbox, link).
To: Jean-Michel Pouré <jmpoure@free.fr>,
397766@bugs.debian.org
Subject: Re: Bug#397766: Under AMD64 plaform, libdts-dev should be compiled with -fPIC option
Date: Thu, 9 Nov 2006 03:39:49 -0800
severity 397766 wishlist
thanks
On Thu, Nov 09, 2006 at 12:04:36PM +0100, Jean-Michel Pouré wrote:
> Package: libdts-dev
> Version: 0.0.2-svn-1
> Severity: grave
> When compiling ffmpeg under Debian AMD64,
> the compiler complains about libdts-dev headers.
> gcc -shared -Wl,-soname,libavcodec.so.51 -Wl,--warn-common -pthread -rdynamic -export-dynamic -Wl,--as-needed -Wl,-rpath-link,"/home/jmpoure/logiciels/ffmpeg/ffmpeg"/libavcodec -Wl,-rpath-link,"/home/jmpoure/logiciels/ffmpeg/ffmpeg"/libavformat -Wl,-rpath-link,"/home/jmpoure/logiciels/ffmpeg/ffmpeg"/libavutil -o libavcodec.so.51 bitstream.o utils.o allcodecs.o mpegvideo.o jrevdct.o jfdctfst.o jfdctint.o mjpeg.o resample.o resample2.o dsputil.o motion_est.o imgconvert.o mpeg12.o mpegaudiodec.o simple_idct.o ratecontrol.o eval.o error_resilience.o fft.o mdct.o raw.o golomb.o cabac.o faandct.o parser.o vp3dsp.o h264idct.o rangecoder.o pnm.o h263.o msmpeg4.o h263dec.o opt.o bitstream_filter.o audioconvert.o imgresample.o i386/fdct_mmx.o i386/cputest.o i386/dsputil_mmx.o i386/mpegvideo_mmx.o i386/motion_est_mmx.o i386/simple_idct_mmx.o i386/idct_mmx_xvid.o i386/fft_sse.o i386/vp3dsp_mmx.o i386/vp3dsp_sse2.o i386/fft_3dn.o i386/fft_3dn2.o i386/snowdsp_mmx.o i386/idct_mmx.o i386/cavsdsp_mmx.o aasc.o ac3enc.o alac.o asv1.o avs.o bmp.o cavs.o cavsdsp.o cinepak.o cljr.o cook.o cscd.o lzo.o cyuv.o dsicinav.o dvbsubdec.o dvbsub.o dvdsubdec.o dvdsubenc.o dv.o 8bps.o ffv1.o huffyuv.o flac.o flacenc.o flashsv.o flicvideo.o 4xm.o fraps.o gifdec.o lzw.o gif.o h261.o h264.o idcinvideo.o imc.o indeo2.o indeo3.o interplayvideo.o dpcm.o kmvc.o loco.o mace.o mmvideo.o mpegaudio.o msrle.o msvideo1.o lcl.o nuv.o rtjpeg.o png.o qdm2.o qdrw.o qpeg.o qtrle.o ra144.o ra288.o roqvideo.o rpza.o rv10.o shorten.o smacker.o smc.o snow.o sonic.o svq1.o targa.o vp3.o tiertexseqv.o tiff.o truemotion1.o truemotion2.o truespeech.o tscc.o tta.o ulti.o vc1.o vc1dsp.o vcr1.o vmdav.o vmnc.o vorbis.o vorbis_data.o vorbis_enc.o vp5.o vp56.o vp56data.o vp6.o vqavideo.o wavpack.o wmadec.o wnv1.o ws-snd1.o xan.o xl.o zmbv.o pcm.o adpcm.o adx.o g726.o faad.o faac.o xvidff.o xvid_rc.o x264.o mp3lameaudio.o oggvorbis.o libgsm.o a52dec.o liba52/bit_allocate.o liba52/bitstream.o liba52/downmix.o liba52/imdct.o liba52/parse.o liba52/crc.o liba52/resample.o dtsdec.o pthread.o -L"/home/jmpoure/logiciels/ffmpeg/ffmpeg"/libavutil -lavutil -lm -lz -ldts -lm -lgsm -lmp3lame -lm -lvorbis -lvorbisenc -logg -logg -lxvidcore -lx264 -lfaac -lfaad -ldl
> /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64/libdts.a(parse.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC
> /usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64/libdts.a: ne peut lire les symboles: Mauvaise valeur
> collect2: ld a retourné 1 code d'état d'exécution
> Under AMD64 plaform, libdts-dev should be compiled with -fPIC option.
libdts-dev contains a static library; static libraries are not required to
be built with -fPIC. The Debian package of ffmpeg does not have this
problem, because it also doesn't build a shared library for libavcodec. The
libdts-dev package is not unusable, it's just not usable for the purpose you
want to put it to, which is not RC.
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
vorlon@debian.org http://www.debian.org/
Severity set to `wishlist' from `grave'
Request was from Steve Langasek <vorlon@debian.org>
to control@bugs.debian.org.
(full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Sam Hocevar (Debian packages) <sam+deb@zoy.org>: Bug#397766; Package libdts-dev.
(full text, mbox, link).
Acknowledgement sent to Sam Hocevar <sam@zoy.org>:
Extra info received and forwarded to list. Copy sent to Sam Hocevar (Debian packages) <sam+deb@zoy.org>.
(full text, mbox, link).
To: Steve Langasek <vorlon@debian.org>, 397766@bugs.debian.org
Cc: Jean-Michel Pouré <jmpoure@free.fr>
Subject: Re: Bug#397766: Under AMD64 plaform, libdts-dev should be compiled with -fPIC option
Date: Thu, 9 Nov 2006 13:51:13 +0100
On Thu, Nov 09, 2006, Steve Langasek wrote:
> libdts-dev contains a static library; static libraries are not required to
> be built with -fPIC. The Debian package of ffmpeg does not have this
> problem, because it also doesn't build a shared library for libavcodec. The
> libdts-dev package is not unusable, it's just not usable for the purpose you
> want to put it to, which is not RC.
As a matter of fact, it /is/ usable in the way Jean-Michel wants to
use it, he just needs to use /usr/lib/libdts_pic.a (-ldts_pic instead of
-ldts). Closing the bug.
Regards,
--
Sam.
Reply sent to Sam Hocevar <sam@zoy.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Jean-Michel Pouré <jmpoure@free.fr>:
Bug acknowledged by developer.
(full text, mbox, link).
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 18 Jun 2007 14:06:19 GMT) (full text, mbox, link).
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.