I've found the problem, it has nothing to do with cross-gcc. The issue lies
with the native gcc 6.2 which has been configured with
--enable-default-pie, which (at least on arm) breaks its ability to link
any code produced by earlier compilers.
Package: gcc-6-arm-linux-gnueabihf
Version: 6.1.1-9cross1
Severity: important
Dear Maintainer,
If I cross-compile any code (even a basic hello-world) and then attempt
to link the resulting objects on the target system (stretch, armhf)
using the native gcc-6 toolchain (which is 6.2.0 in testing an
2 matches
Mail list logo