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

Re: libbaz testset package broken?



"Adam D. Barratt" <adam@adam-barratt.org.uk> writes:

> Whilst looking at #452216 and #461575 (both related to dpkg symbols
> files), I tried to build the libbaz testset package; the build fails
> with:
>
> =======================
> gcc -o libbaz1.so.1.0.3b -shared baz.o extra.o -lc
> /usr/bin/ld: baz.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
> baz.o: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> =======================
>
> Am I missing something obvious (entirely possible) or does libbaz need
> fixing?

The Lintian test suite currently can't be run on non-i386 architectures
(well, on architectures that don't allow PIC code in shared libraries)
because libbaz builds a shared library with non-PIC code to test the
corresponding lintian tag.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>


Reply to: