From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/14550 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Jorge Almeida Newsgroups: gmane.linux.lib.musl.general Subject: size of executable Date: Mon, 12 Aug 2019 17:48:24 +0100 Message-ID: Reply-To: musl@lists.openwall.com Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="119842"; mail-complaints-to="usenet@blaine.gmane.org" To: musl@lists.openwall.com Original-X-From: musl-return-14566-gllmg-musl=m.gmane.org@lists.openwall.com Mon Aug 12 18:48:48 2019 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.89) (envelope-from ) id 1hxDV2-000V4E-B4 for gllmg-musl@m.gmane.org; Mon, 12 Aug 2019 18:48:48 +0200 Original-Received: (qmail 26367 invoked by uid 550); 12 Aug 2019 16:48:45 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 26335 invoked from network); 12 Aug 2019 16:48:45 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=7EY85NWcWNMZOzrMNPFuID240ohu41p4Cb83XJqD2FU=; b=az0JB06mOkrYrQeT3FgzGwBjPkxbJuOfafLiiB/hdC6xZFR0lfPwdoQjV9Ce5bNd3t vp5DuEAdhe/GVtRIvDCCb2T5VvtrDhH5bqRwv1fZgUoUCElFD/xolpx1vp6e2UjEVf9g 3kfd8HtB83Y9e7fJErUiQgUVQGh3FY9mJLzh4Vd4x2oKuteq402br+53Z9GmpW558FGr WG5AcdyDYWuZNnEuWgg9gXBrSQn3/Qv6p8E9MNA+YPZVdxxZ3flw11uIdhuChRx0EBo9 xhBqYBWQuoIo9KuoocpmsG6QFwsgwXGLd1Mcrm97J99slGjWPGrHqt4yNq+WHA+cLAMn +T1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=7EY85NWcWNMZOzrMNPFuID240ohu41p4Cb83XJqD2FU=; b=LkhOf5eYjslHt6BK/1Gt3m6Z5VFBomU5NRN7RYFm/jFooUPKCkwv1rBe786DUbboym oFc06J7SasLakWWKxuCVXfXo6d167lA1+HUOQNELF9Qs7XQRVlPLCz+evG2I1J/WDL4V ZHmFy3G0xRRqUTRk5/6vwrttInyy1VVj1CWaWdpOwy2/h303s9Id3I7pxYhyIAT4EWYo +LwvSzsi4mcWQXEXy9aLVI8iTS/jbygRjXE/YBpo1WIHvxUYIx2h0mwJJFu679/2hW+n BR+KvJkSCu/sVnGoobmbFLPlQbXeFKpS1sht+emydgz7xq6QYy4iGgOQ6aUWOpkrcHcc aV8Q== X-Gm-Message-State: APjAAAXJoz2yVJPP9BtpbjluCp6/z6Zv0hW6GLAYFxoipEh4OYrcz90v 1c1Yo3IFhQbdXvciHOOQa28J4/ml2bjpJk5K15jl8dZ7 X-Google-Smtp-Source: APXvYqxhE3y1yhkUeBF68pPQ1QDZ1AtTRTyzSc0G+vAPS8mpF+ZDneumb8Rr4zcw/5tOoviVdsGzEdUhrNtzXnW8G0U= X-Received: by 2002:a2e:9f0f:: with SMTP id u15mr10027229ljk.54.1565628513948; Mon, 12 Aug 2019 09:48:33 -0700 (PDT) Xref: news.gmane.org gmane.linux.lib.musl.general:14550 Archived-At: I think my executables are way too large. They used to be much smaller, not so long ago (e.g. 18 months ago). I'm using musl 1.1.23 with gcc-8.3.0 on x86_64. Could someone check the following hello.c and see what size you get? I get 16768 bytes (not stripped) and 12324 (stripped). Note that I'm not even using printf. Thanks #include int main(int argc, char* argv[]){ write(1, "Hello, bloated world...\n", 24); }