[PATCH 2/5] build: resolve link failure in libosmogsm when --disable-talloc is used

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Holger Hans Peter Freyther holger at freyther.de
Fri Oct 3 06:41:33 UTC 2014


On Thu, Oct 02, 2014 at 11:09:07PM +0200, Jan Engelhardt wrote:

Good Morning Jan,


> The link stage fails at some point. libosmogsm.so:lapd-core.c uses
> talloc_free, but does not link to libtalloc.so. Correct this.

my position has not changed. The --disable-talloc is an option for
Embedded Firmware (e.g. OsmocomBB) that do not want to include talloc.
It is not for people that want to use their distributions talloc.

Using the osmocom/core/talloc.h and linking against another/unknown
version of talloc is scraming for problems (API/ABI issues, etc.)

I agree that having a talloc code clone inside libosmocore was not
a good idea from us and that we should fix it in the long run. But
this means _only_ requiring an external talloc, killing the
osmocom/core/talloc.h include file. But that is different to the
patches you propose.

For this reason I am not taking your talloc patches. Sorry.

	holger




More information about the OpenBSC mailing list