This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Build without .so files
- From: Romain GEISSLER <romain dot geissler at amadeus dot com>
- To: "elfutils-devel at sourceware dot org" <elfutils-devel at sourceware dot org>
- Date: Thu, 27 Feb 2020 11:51:41 +0000
- Subject: Build without .so files
- Accept-language: fr-FR, en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amadeus.com; dmarc=pass action=none header.from=amadeus.com; dkim=pass header.d=amadeus.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YOyge9stEAMB5Lk5ucEiqRHTrFSWVcYk3CxJLhjp6zA=; b=RPNf6T5bMKYlC19Xyf9ey/34tm8rv2wWUC4+8izc9A0ARbVrKmD3snoxRg3UfPWlDHAZNC7Mvi3g+Dx05yqxN5qMzYt+S0ihE40L557xoa+QCruj5j3zbQ9GTRH4MhTULFqVqeOuYwPB2kTL17kQRz+yYMm8klfFwuGJI3sxKKYunwvuvjMXOdS6C7qEFC7ZbStySiZ0Lz6rxMhv6IMN3kYgGTqiuI5nWB2UNggGagLZhb/o+twOpNNm+nD2/4BmwV5j33H2IGplNa/ftqkPs0M680kkItFRNtj+hcxRX2C1FKbhQPolV9+UtCEry9K1RMJs2bNUzVP/LL++yZrqiQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=loHhYiM9RwxfLqwO8olb9v1n7n7/FLTQ7gCmkQYm4sR9ta73kRzOBSA2h0lbNqyeMqZiHZGZy5UP4Zn41QUTQqVKAH485Dz4ZmLjYnX8/4yEWSHlKeB9Rce8vxXKuG3QD/5ir43MoeRJM896Q2NAuoj23oxnBaO67pHfYFyySbpsO5VgaGXbQVRf21OnOc0DG2TMWFR1pcoqHSbLcEkHj1Pc8w/BUmXzbOu7E9W6ixytIjvxWqAbO4dKvruwLUec+259iVDNK7X8tm2er19fdBOeeS2ShpC7tB/MMnpwRGFuQTdvpZ8SpVr04iCXUUB6v5+nhIminyxh9svAFNvyTg==
Hi,
It looks like last year a change was merge removing the need to dlopen the backend libraries [1].
Right now, even if I configure with flags like "—disable-shared --enable-static" it seems that I still endup with .so files and that tools like eu-readelf depend on it. So what is the official way today to have a fully static build ?
I saw BUILD_STATIC in configure.ac, but it seems to be enabled only for gcov/gprof builds. Would it make sense to take —disable-shared here ?
Cheers,
Romain
[1] https://sourceware.org/ml/elfutils-devel/2019-q3/msg00142.html