[Debichem-devel] Bug#837686: psicode: FTBFS with bindnow and PIE enabled
Balint Reczey
balint at balintreczey.hu
Tue Sep 13 14:02:37 UTC 2016
Source: psicode
Version: 3.4.0-6
Severity: important
User: balint at balintreczey.hu
Usertags: pie-bindnow-20160906
Justification: FTBFS on amd64 with extra hardening
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64 with patched GCC and dpkg.
The rebuild tested if packages are ready for a transition
enabling PIE and bindnow for amd64.
For more information about the changes to sid's dpkg and GCC please
visit:
https://wiki.debian.org/Hardening/PIEByDefaultTransition
Relevant part (hopefully):
...
g++ -O3 -m64 -DHAVE_CMATH=1 -DHAVE_CSTDIO=1 -DHAVE_CSTDLIB=1
-DHAVE_CSTRING=1 -DHAVE_CSTDDEF=1 -DHAVE_DECL_PUTENV=1 -DHAVE_PUTENV=1
-DHAVE_DECL_SETENV=1 -DHAVE_SETENV=1 -DHAVE_FUNC_ISINF=1 -DLinux
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUSE_LIBCHKPT
-DINCLUDE_Default_Ints -DINCLUDE_OEProp_Ints -DINCLUDE_Fock
-DINCLUDE_MP2 -DINCLUDE_Default_Deriv1 -DINCLUDE_Default_Deriv2
-DINCLUDE_CC -DINCLUDE_MP2R12 -DINCLUDE_GIAO_Deriv -DINCLUDE_MkPT2
-DINCLUDE_DFT -I. -I../../../include -I/<<PKGBUILDDIR>>/include
-I/<<PKGBUILDDIR>>/src/lib -I../../../src/lib
-I/<<PKGBUILDDIR>>/src/bin/cints -I/<<PKGBUILDDIR>>/src/bin/cints/Tools
-I/<<PKGBUILDDIR>>/src/bin/cints/Default_Ints
-I/<<PKGBUILDDIR>>/src/bin/cints/OEProp_Ints
-I/<<PKGBUILDDIR>>/src/bin/cints/Fock
-I/<<PKGBUILDDIR>>/src/bin/cints/MP2
-I/<<PKGBUILDDIR>>/src/bin/cints/Default_Deriv1
-I/<<PKGBUILDDIR>>/src/bin/cints/Default_Deriv2
-I/<<PKGBUILDDIR>>/src/bin/cints/CC
-I/<<PKGBUILDDIR>>/src/bin/cints/MP2R12
-I/<<PKGBUILDDIR>>/src/bin/cints/GIAO_Deriv
-I/<<PKGBUILDDIR>>/src/bin/cints/MkPT2
-I/<<PKGBUILDDIR>>/src/bin/cints/DFT -c parsing.cc -o parsing.o
/<<PKGBUILDDIR>>/bin/mkdirs.sh `dirname ../../../bin/cints`
g++ -o ../../../bin/cints cc_bt2.o cc_bt2_thread.o cc_bt2_thread_symm.o
direct_cc.o bas_comp_functions.o calc_close_basis.o calc_close_basis_u.o
calc_den.o calc_den_fast.o calc_den_new.o calc_den_u.o calc_grad_fast.o
dft_init.o free_grid_structs.o functional.o functional_u.o grid_init.o
init_close_shell_info.o init_prun_conc_grid.o
init_prun_prim_atomic_grid.o init_unf_conc_grid.o
init_unf_prim_atomic_grid.o lebedev_init.o pade.o weighting.o xc_fock.o
xc_fock_u.o xc_grad_fock.o deriv1.o deriv1_quartet_data.o enuc_deriv1.o
file11.o oe_deriv1.o oe_deriv1_darwin1.o oe_deriv1_darwin1_test.o
oe_deriv1_ints.o oe_deriv1_mvc.o oe_deriv1_mvc_test.o oe_deriv1_osrr.o
rot_inv.o symmetrize_deriv1.o te_deriv1_corr.o te_deriv1_ints.o
te_deriv1_print.o te_deriv1_scf.o te_deriv1_scf_thread.o
te_deriv1_scf_thread_symm.o deriv2.o enuc_deriv2.o oe_deriv2.o
oe_deriv2_osrr.o symmetrize.o te_deriv2_scf.o te_deriv2_scf_symm.o
oe_ints.o oe_osrr.o te_ints.o fock.o hash.o hf_fock.o hf_fock_thread.o
scf_parsing.o giao_deriv.o giao_oe_deriv.o giao_te_deriv.o mp2.o
rmp2_energy.o rmp2_energy_thread.o mp2r12.o r12_quartet_data.o
rmp2r12_energy.o rmp2r12_energy_thread.o ump2r12_energy_aa.o
ump2r12_energy_bb.o ump2r12_energy_thread_aa.o
ump2r12_energy_thread_bb.o mkpt2.o mkpt2_ints.o mkpt2_ints_thread.o
read_mo_spaces.o angmom_ints.o moment_deriv1.o moment_ints.o
oeprop_ints.o basisset.o ccinfo.o cdsalc.o compute_eri.o
compute_scf_opdm.o dcr.o fjt.o gto.o int_fjt.o iwl_tebuf.o moinfo.o
moinfo_corr.o molecule.o norm_quartet.o prints.o quartet_data.o
quartet_permutations.o rad_extent.o read_gen_opdm.o read_scf_occ_evec.o
read_scf_opdm.o schwartz.o shell_block_matrix.o shell_pairs.o
small_fns.o symm.o taylor_fm_eval.o transform.o transmat.o
check_max_am.o gprgid.o init_globals.o main.o parsing.o
../../../lib/libPSI_dpd.a ../../../lib/libPSI_qt.a
../../../lib/libPSI_chkpt.a /usr/lib/libderiv.a /usr/lib/libr12.a
/usr/lib/libint.a ../../../lib/libPSI_iwl.a ../../../lib/libPSI_psio.a
../../../lib/libPSI_ciomr.a ../../../lib/libPSI_ipv1.a -lblas
-L/usr/lib/gcc/x86_64-linux-gnu/6
-L/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu
-L/usr/lib/gcc/x86_64-linux-gnu/6/../../../../lib
-L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu
-L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/6/../../.. -lgfortran
-lm -lgcc_s -lquadmath -lpthread
/usr/bin/ld: /usr/lib/libderiv.a(init_libderiv.o): relocation
R_X86_64_32S against symbol `_Z16d1hrr_order_0000P10Libderiv_ti' can not
be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/libr12.a(init_libr12.o): relocation R_X86_64_32S
against symbol `_Z18hrr_grt_order_0000P8Libr12_ti' 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/psicode_3.4.0-6_amd64.build.gz
Linking with libint dynamically would probably fix the problem.
Thanks,
Balint
More information about the Debichem-devel
mailing list