Bug#896012: Regression from gcc-7 7.3.0-16
On 18.04.2018 19:34, Mario.Limonciello@dell.com wrote:
> Package: gcc-7
> Version: 7.3.0-16
>
> The fwupd project as one of the CI tasks runs packaged builds and lintian after the build.
> CI recently started failing with this error:
>
> E: fwupd: library-not-linked-against-libc usr/lib/x86_64-linux-gnu/fwupd-plugins-3/libfu_plugin_upower.so
> E: fwupd-tests: library-not-linked-against-libc usr/lib/x86_64-linux-gnu/fwupd-plugins-3/libfu_plugin_test.so
>
> We narrowed it down to be caused after upgrading to GCC 7.3.0-16 from Debian testing.
> Builds with 7.3.0-15 and no source changes to fwupd are not affected.
>
> We also found that changing compiler optimization (-O2 to -O0) with the new GCC this error
> goes away.
please could you attach the linker command, run with -v, and maybe all linker
scripts?
Reply to: