From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from second.openwall.net (second.openwall.net [193.110.157.125]) by inbox.vuxu.org (Postfix) with SMTP id EAE2F23064 for ; Sat, 3 Feb 2024 09:21:25 +0100 (CET) Received: (qmail 3734 invoked by uid 550); 3 Feb 2024 08:18:50 -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 3702 invoked from network); 3 Feb 2024 08:18:49 -0000 Date: Sat, 3 Feb 2024 08:20:28 +0000 (UTC) From: Thorsten Glaser X-X-Sender: tg@herc.mirbsd.org To: 1050429@bugs.debian.org cc: Bastian Blank , musl@lists.openwall.com Message-ID: Content-Language: de-Zsym-DE-1901-u-em-text-rg-denw-tz-utc, en-Zsym-GB-u-cu-eur-em-text-fw-mon-hc-h23-ms-metric-mu-celsius-rg-denw-tz-utc-va-posix MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Subject: [musl] musl: unusable on mipsel, mips64el: mipsel-linux-gnu-gcc: unrecognised command-line option '-EL' Hi musl maintainers, waldi indeed provided a fix for this bug forgot to Cc me, so I missed it until now. I tested this: (sid_mips64el-dchroot)tg@eberlin:~$ sh -x $(which musl-gcc) hello.c + exec mips64el-linux-gnuabi64-gcc hello.c -specs /usr/lib/mips64el-linux-m= usl/musl-gcc.specs mips64el-linux-gnuabi64-gcc: error: unrecognized command-line option '-EL' (sid_mips64el-dchroot)tg@eberlin:~$ mips64el-linux-gnuabi64-gcc hello.c -sp= ecs ~/musl-gcc.specs (sid_mips64el-dchroot)tg@eberlin:~$ ./a.out hi (sid_mips64el-dchroot)tg@eberlin:~$ diff -u /usr/lib/mips64el-linux-musl/mu= sl-gcc.specs musl-gcc.specs --- /usr/lib/mips64el-linux-musl/musl-gcc.specs 2023-11-10 19:30:40.0000000= 00 +0000 +++ musl-gcc.specs 2024-02-03 08:07:01.309465472 +0000 @@ -1,10 +1,11 @@ %rename cpp_options old_cpp_options +%rename cc1 old_cc1 *cpp_options: -nostdinc -isystem /usr/include/mips64el-linux-musl -isystem include%s %(o= ld_cpp_options) *cc1: -%(cc1_cpu) -nostdinc -isystem /usr/include/mips64el-linux-musl -isystem in= clude%s +%(cc1_cpu) -nostdinc -isystem /usr/include/mips64el-linux-musl -isystem in= clude%s %(old_cc1) *link_libgcc: -L/usr/lib/mips64el-linux-musl -L .%s This change (to tools/musl-gcc.specs.sh in the source tree) probably makes sense on all architectures, so perhaps do that even. Upstream should also consider including this and check which of the original specs need not be removed and can be kept like this. bye, //mirabilos --=20 22:20=E2=8E=9C The crazy that persists in his craziness becomes a m= aster 22:21=E2=8E=9C And the distance between the craziness and geniality= is only measured by the success 18:35=E2=8E=9C "Psychotics are consist= ently inconsistent. The essence of sanity is to be inconsistently inconsistent