From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 15203 invoked from network); 8 Oct 2021 19:17:36 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 8 Oct 2021 19:17:36 -0000 Received: (qmail 11300 invoked by uid 550); 8 Oct 2021 19:17:34 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 11264 invoked from network); 8 Oct 2021 19:17:33 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=VTtj9px/1NxtR4ysgWDERAryb9rbvaHkfABAZHf99dg=; b=bnDgUXJ+oyZz6282HYRJKgwGzyQT9RjQljAJFa9wqbTmEi8h9MpvFXj+J3KunXsIK5 Jb2vzb8NqXNsQIiZU9XbCMdxp7/k/3QjC0rDNxgMaj3KYNrfqmgGtj5YCMxtmdQHBm8z FliX/Kj+jKoh/kcwQouPejezcX8VUIRyzI2rh7MmMK2MDhy87+CQDILKaS9lphybAGQn o6ZVqmG26j+OaeM+SESkRiFMJX7X91zc0R+jxZuYQIuKDMDTSs5UnB/kq9M/i2nFXvMc Yr/RtO3dQo+i2F02Gy9lkhNRhL3eLrBV+43ulJTNZIQWeQKk1FXhZZUPZsi2Fg3ybibs /BqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=VTtj9px/1NxtR4ysgWDERAryb9rbvaHkfABAZHf99dg=; b=IFYqGJ7an/0wxcBbAEFV8cDtUXE2w7H4IjyVXJ3ONfnwyS8Ck+d5wPbdj/czMIuzUX wWeOjB43eVRvD4JAh+N3VVjPgr8WJpU7EzrI9AV8frrHSblU5HDiRR7WntvmX1IjWN8z aAM/5JTfjlBjDOm7B8HF871jWMnyd6SGZPQdWH9f1JClb6FhfmRUQxh4yton3VPJ01F6 J/OELz1cw32UL0kH/zjoOFOTHTWpoR+lObQAFjY7NYHtV43ihXE9r+6pvHHKoJd+tnD7 4aj8lkFO1vITsMeiWyRTZVB+5yHWxi6ThUUxTlKVY9aGRARHsmU2xaPy5EuHaN8kuWrj /6gA== X-Gm-Message-State: AOAM530Z1jwEz2k6LTdDhe5OcRHpbbtVTWtQ15GwKXb/aJvulULgtp8a eIQrjEwD7Doa3BTLIQHkfFXzA059U8DjX9wqhWCzCKrIDO0= X-Google-Smtp-Source: ABdhPJwLyF2cVLP75SQLZjeFHf3F/kZ/BSn/cOJLfyxZ4qSBLBZ4RdlSUMq32GpLarFl9gUfBqi5hvr/zJdYdIKLAn4= X-Received: by 2002:ac8:1e87:: with SMTP id c7mr138355qtm.408.1633720641347; Fri, 08 Oct 2021 12:17:21 -0700 (PDT) MIME-Version: 1.0 References: <20211008063141.GC2268@voyager> In-Reply-To: From: Parke Date: Fri, 8 Oct 2021 12:16:45 -0700 Message-ID: To: musl@lists.openwall.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [musl] Newbie problem with musl-gcc Nat! wrote: > > > musl-gcc -o foo foo.c > Am 08.10.21 um 08:31 schrieb Markus Wichmann: > > This doesn't say -static in there. Try adding that and see was happens. On Fri, Oct 8, 2021 at 12:01 PM Nat! wrote: > Nice, now it works. > > musl-gcc essentially just adds a different specs file to GCC, and that > > file is not changed based on the choice to have the shared library or > > not. > But why not ? It would make sense, wouldn't it ? I believe the desired default, even with musl, is to use dynamic libraries. So, IMO, the current behavior is expected and desired.