Source: liblpsolve55-dev
Version: 5.5.0.15-4
Severity: important
User: [email protected]
Usertags: pie-bindnow-20160906
Justification: makes mccs FTBFS with extra hardening
Affects: mccs libreoffice

Dear Maintainers,

During a rebuild of all packages in sid, mccs
failed to build on amd64 with patched GCC and dpkg. The root
cause seems to be that liblpsolve55.a is shipped as a non-PIC library.

The rebuild tested if packages are ready for a transition
enabling PIE and bindnow for amd64 (and selected architectures).

For more information about the changes to sid's dpkg and GCC please
visit:
 https://wiki.debian.org/Hardening/PIEByDefaultTransition

Relevant part of mccs's build log:
...
g++ -Wall -O6 -Wl,-z,relro -Wl,-z,now  -DUSELPSOLVE -o mccs objs/cudf.o
objs/constraint_generation.o objs/lp_solver.o objs/pblib_solver.o
objs/removed_criteria.o objs/changed_criteria.o objs/new_criteria.o
objs/notuptodate_criteria.o objs/nunsat_criteria.o objs/count_criteria.o
objs/unaligned_criteria.o objs/lexicographic_combiner.o
objs/lexagregate_combiner.o objs/agregate_combiner.o
objs/lexsemiagregate_combiner.o objs/leximin_combiner.o
objs/leximax_combiner.o objs/lexleximin_combiner.o
objs/lexleximax_combiner.o objs/cudf_reductions.o objs/lpsolve_solver.o
-lfl -L. -lccudf \
         \
         \
        -L/usr/lib -llpsolve55 -ldl -lcolamd \
        /usr/bin/ld: /usr/lib/liblpsolve55.a(lp_lib.o): relocation
R_X86_64_32 against `.rodata.str1.1' can not be used when making a
shared object; recompile with -fPIC
...

The full build log is available from:
 
https://people.debian.org/~rbalint/build-logs/pie-bindnow-20160906/mccs_1.1-3_amd64.build.gz

Thanks,
Balint

Reply via email to