From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) by sourceware.org (Postfix) with ESMTPS id 1BFBB3858403 for ; Sat, 15 Jan 2022 21:50:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 1BFBB3858403 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rtems.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lf1-f46.google.com with SMTP id e3so39857659lfc.9 for ; Sat, 15 Jan 2022 13:50:24 -0800 (PST) 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:reply-to :from:date:message-id:subject:to; bh=wUXz+MJnebLEn23IjzDnJlV1b3y4QwmXldn+knH8qW0=; b=2Csavev/uFr1oluqNacoKXX+I3hTa1fi2PU4oNtP72WOsgCOu+ztUqaV9k5BpIBK/u cm+UCCE8xs0hTPaXuFccWNN+nKRYc5ARIFK4i1KIHmXAl+k+rff5jp2758xySQKSl1aG FJrVXhCBW2Z8r0biCRFoPo32TtIjqAKT+3UtaEFrLbEw5/b7efPS+zfc0JlXRbuaOdWt JeiJdDFwianJ4LEyXYR8pjLbJYf/FNNSYvmkLUW99NtPpg+jpL0mTyxAvzo/IFuHcCa8 HFIok965yDozFuCXP0DkyAtkwYOJnUVYX4S4Hm3vJesYDm2lxXIADqQrsSfcJfXJkRSr hv2A== X-Gm-Message-State: AOAM5313UwOsY9P11Y5WMc/siF9ctP1RPcFZck8juNF/yDfSdMAYhp4z rmI94+obxLoLF6ZQ9t8Q5NsCv2B/DXus7g== X-Google-Smtp-Source: ABdhPJykufK4/ULx48fQQfiYzq+YE2BP1p3guwTw3RJkpH0LCfaWOUveEHLfd9U2I9OdgBY04c97Bw== X-Received: by 2002:a2e:a4a7:: with SMTP id g7mr5515445ljm.93.1642283422635; Sat, 15 Jan 2022 13:50:22 -0800 (PST) Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com. [209.85.167.41]) by smtp.gmail.com with ESMTPSA id k8sm488353ljk.5.2022.01.15.13.50.22 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 15 Jan 2022 13:50:22 -0800 (PST) Received: by mail-lf1-f41.google.com with SMTP id o12so25934118lfu.12 for ; Sat, 15 Jan 2022 13:50:22 -0800 (PST) X-Received: by 2002:a05:6512:104c:: with SMTP id c12mr3359181lfb.2.1642283421815; Sat, 15 Jan 2022 13:50:21 -0800 (PST) MIME-Version: 1.0 References: <3c8f49af-2e7c-73e4-6d14-c8dff5a78e04@embedded-brains.de> In-Reply-To: <3c8f49af-2e7c-73e4-6d14-c8dff5a78e04@embedded-brains.de> Reply-To: joel@rtems.org From: Joel Sherrill Date: Sat, 15 Jan 2022 15:50:09 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Fwd: All mips BSPs cannot link psxfenv01 To: Newlib X-Spam-Status: No, score=-3031.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, HTML_MESSAGE, KAM_DMARC_STATUS, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jan 2022 21:50:30 -0000 I'm forwarding a discussion between Sebastian Huber and myself. Looks like the mips fenv.h support was broken recently. Any ideas? ---------- Forwarded message --------- From: Sebastian Huber Date: Sat, Jan 15, 2022, 1:01 PM Subject: Re: All mips BSPs cannot link psxfenv01 To: Cc: RTEMS On 14/01/2022 17:51, Joel Sherrill wrote: >> Is this due to the recent Newlib build system changes? > I guess so although I don't see anything obvious when I > looked at the machine/configure.ac in both versions. > > I confirmed jmr3904 could build all tests with this gcc/newlib: > > $ ~/rtems-work/tools/6/bin/mips-rtems6-gcc --version > mips-rtems6-gcc (GCC) 10.3.1 20211214 (RTEMS 6, RSB > bb9e049b103f3a47019a6cfad18e2b59c9e9ea97, Newlib eb03ac1) > > That should have been the immediately previous version. It is probably this change: commit 8fa73a9f8414a4926365324c2fe32a237c2eb91d Author: Jeff Johnston Date: Mon Nov 29 17:33:52 2021 -0500 Modifying patch from: marian.buschsieweke@ovgu.de The code accessing the floating point control/status register, namely #define __cfc1(__fcsr) __asm __volatile("cfc1 %0, $31" : "=3Dr" (__fcsr) does not compile with mips16. This changed the makefile to pass -mno-mips16 to avoid the following compiler error: mips-mti-elf fails with "Error: unrecognized opcode `cfc1 $3,$31'" I have no time to dig into the Newlib build system. --=20 embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.huber@embedded-brains.de phone: +49-89-18 94 741 - 16 fax: +49-89-18 94 741 - 08 Registergericht: Amtsgericht M=C3=BCnchen Registernummer: HRB 157899 Vertretungsberechtigte Gesch=C3=A4ftsf=C3=BChrer: Peter Rasmussen, Thomas D= =C3=B6rfler Unsere Datenschutzerkl=C3=A4rung finden Sie hier: https://embedded-brains.de/datenschutzerklaerung/