On September 11, 2016 6:59:58 AM EDT, Balint Reczey <[email protected]> 
wrote:
>Source: connectome-workbench
>Version: 1.2.3-1
>Severity: important
>User: [email protected]
>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):
>...
>/usr/bin/c++   -fopenmp -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=.
>-fstack-protector-strong -Wformat
> -Werror=format-security -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2
>-Wl,-z,relro -Wl,-z,now -Wl,--as
>-needed CMakeFiles/wb_command.dir/wb_command.cxx.o
>CMakeFiles/wb_command.dir/qrc_resources.cxx.o  -o w
>b_command -rdynamic ../Commands/libCommands.a
>../Operations/libOperations.a ../Algorithms/libAlgorithm
>s.a ../OperationsBase/libOperationsBase.a ../Brain/libBrain.a -lftgl
>../Files/libFiles.a ../Annotation
>s/libAnnotations.a ../Palette/libPalette.a ../Gifti/libGifti.a
>../Cifti/libCifti.a ../Nifti/libNifti.a
> ../Charting/libCharting.a ../FilesBase/libFilesBase.a
>../Scenes/libScenes.a ../Xml/libXml.a ../Common/libCommon.a
>../Quazip/libQuazip.a -lfreetype -lQtGui -lQtXml -lQtNetwork -lQtCore
>-lOSMesa -lGL -Wl,-Bstatic -lGLU -Wl,-Bdynamic -lz
>/usr/bin/ld:
>/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libGLU.a(error.o):
>relocation R_X86_64_32 against `.rodata' can not be used when making a
>shared object; recompile with -fPIC
>/usr/bin/ld:
>/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libGLU.a(glue.o):
>relocation R_X86_64_32S against `.rodata' can not be used when making a
>shared object; recompile with -fPIC
>/usr/bin/ld:
>/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libGLU.a(mipmap.o):
>relocation R_X86_64_32 against `.text' can not be used when making a
>shared object; recompile with -fPIC
>/usr/bin/ld:
>/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libGLU.a(tess.o):
>relocation R_X86_64_32S against `.text' can not be used when making a
>shared object; recompile with -fPIC
>/usr/bin/ld:
>/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libGLU.a(render.o):
>relocation R_X86_64_32S against `.text' can not be used when making a
>shared object; recompile with -fPIC
>/usr/bin/ld:
>/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libGLU.a(sweep.o):
>relocation R_X86_64_32S against hidden symbol `__gl_noCombineData' can
>not be used when making a shared object
>/usr/bin/ld: final link failed: Nonrepresentable section on output
>collect2: error: ld returned 1 exit status
>CommandLine/CMakeFiles/wb_command.dir/build.make:419: recipe for target
>'CommandLine/wb_command' failed
>
>...
>
>The full build log is available from:
>https://people.debian.org/~rbalint/build-logs/pie-bindnow-20160906/connectome-workbench_1.2.3-1_amd64.build.gz
>
>Dynamically linking to libGLU would probably fix the problem.
>
>Thanks,
>Balint

So the actual issue is within libGLU.a which needs to be rebuilt with -fPIC, ie 
nothing to do on my end?
-- 
Sent from a phone which beats iPhone.

Reply via email to