﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	field_blocks	field_dependson	field_seealso
862	export.sh produces broken archives with Meson 0.60.0+	Jiri Svoboda		"Currently trying to build a coastline package or XCW demo fails for me with a message like:

{{{
/usr/local/cross/lib/gcc/amd64-helenos/8.2.0/../../../../amd64-helenos/bin/ld: /data/helenos/harbours/build/helenos/lib/libclui.a: error adding symbols: malformed archive
}}}

With the updated toolchain the problems stays the same, but the message changes:

{{{
/usr/local/cross-2023/lib/gcc/amd64-helenos/13.1.1/../../../../amd64-helenos/bin/ld: /data/helenos/branch/pr226-toolchain_update/build/export/lib/libui.a(/data/helenos/branch/pr226-toolchain_update/build/export/lib/libui.a.p/ui_src_image.c.o): error opening thin archive member: No such file or directory
}}}

The archive is a thin archive and the referred file does not exist.

I assume this was caused by the feature introduced in Meson 0.60.0 where thin archives (xxx-ar T) are used automatically, if available. Because during export.sh the .a files are kept, but the .o files are not, we get thin archives with content missing.
"	defect	closed	major	0.14.1	helenos/unspecified	mainline	fixed					
