On 2015-07-22 12:44, Bernhard Rosenkraenzer wrote:
Hi,

On 2015-07-21 23:57, Tomasz Paweł Gajc wrote:
With current mass rebuild i see quite a lot of packages failing with errors
like below:

make[2]: Leaving directory '/builddir/build/BUILD/libsvg-cairo-0.1.6/src'
/usr/bin/ld: error: .libs/svg_cairo.o:1:3: invalid character

This means that svg_cairo.o is an LLVM bitcode file but the linker
hasn't loaded the plugin, so it can't parse them.

This is usually a broken Makefile that passes CFLAGS to the compiler
correctly, but calls the linker without passing CFLAGS or LDFLAGS.

Another potential cause is a broken old libtool script, libtool used to not pass flags it doesn't understand to the linker.

This is already automatically fixed for many packages by %config_update calling libtoolize --force to overwrite the libtool mess with the current version (which handles -flto correctly), but this will fail for a few bogus packages (e.g. where the source file for the configure script is still called configure.in instead of configure.ac).

ttyl
bero
_______________________________________________
OM-Cooker mailing list
[email protected]
http://ml.openmandriva.org/listinfo.cgi/om-cooker-openmandriva.org

Reply via email to