From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-f48.google.com (mail-ed1-f48.google.com [209.85.208.48]) by sourceware.org (Postfix) with ESMTPS id 1AE223861028 for ; Wed, 8 Jul 2020 13:19:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 1AE223861028 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rtems.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=joel.sherrill@gmail.com Received: by mail-ed1-f48.google.com with SMTP id b15so41772718edy.7 for ; Wed, 08 Jul 2020 06:19:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=T2rALQzUuHSjcGwMWjARafRZYhf0TMizcJLmkiQsM04=; b=Koa2/H9TGN78WX28wiJ3GKjjmuPvsoUumaBDNzzxK/IksE551WtGWx4VCh0K3p/0p0 H+lta3SYgxZts92eaNn/1LaW84qdmCszIuWvh6/pUM2ENtZ+6qns87UYWiRUG1b+Z5Gw YXEdPAHnN+r2r2gUI2pdmLIVV5uF7ozNPKB5NqpdVOjVt7DEniRxkpRoLmo9N5HJ/Ill 6UgnoIfyDmwGbIhRpAJkDcyAxnPwCe7y3OU9bKVFX2NYgJw/uLXggzYVkAwet+U67/nN tZSJBbtNWiohOO5jU9FUbNPKTQOLdewWd7nq/VHdracjmfhHKOAzQ+Ojy/sStqcL3d0U 4eJA== X-Gm-Message-State: AOAM533vYtqggZ5Rgf5+VXOM66iNSx7ARrEHHVO/UN4ssegZh2QMGZ9m Jx/3fCnaEC/piqM0ITFMTSryU76R X-Google-Smtp-Source: ABdhPJxWKHrBP/DSKvO+ugXnInx0zaKUvmVdLMuhNWnR8/oFbIiFi1deF5BOGyjLNAoef2e5OeL6mA== X-Received: by 2002:a05:6402:174e:: with SMTP id v14mr52370283edx.153.1594214395874; Wed, 08 Jul 2020 06:19:55 -0700 (PDT) Received: from mail-ed1-f48.google.com (mail-ed1-f48.google.com. [209.85.208.48]) by smtp.gmail.com with ESMTPSA id w12sm27604063edx.19.2020.07.08.06.19.55 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 08 Jul 2020 06:19:55 -0700 (PDT) Received: by mail-ed1-f48.google.com with SMTP id b15so41772680edy.7 for ; Wed, 08 Jul 2020 06:19:55 -0700 (PDT) X-Received: by 2002:a05:6402:796:: with SMTP id d22mr70238316edy.78.1594214395334; Wed, 08 Jul 2020 06:19:55 -0700 (PDT) MIME-Version: 1.0 References: <43f454a5-b427-bdcf-b58e-698917f1c290@embedded-brains.de> In-Reply-To: <43f454a5-b427-bdcf-b58e-698917f1c290@embedded-brains.de> Reply-To: joel@rtems.org From: Joel Sherrill Date: Wed, 8 Jul 2020 08:19:44 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: fenv() support broken with GCC 10 on ARM To: Sebastian Huber Cc: Newlib X-Spam-Status: No, score=-3032.1 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, HTML_MESSAGE, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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: Wed, 08 Jul 2020 13:19:58 -0000 Have some of the CPU CPP flags from GCC for soft float vs VFP changed? What part of the build did this happen in? Is this just with the RSB or did you have to build more? Eshan isn't online yet and I will try to duplicate it. My grep doesn't even find a variable with "rounding" in thenewlib arm fenv source so I will need to do more to figure this one out. --joel On Wed, Jul 8, 2020 at 8:00 AM Sebastian Huber < sebastian.huber@embedded-brains.de> wrote: > Hello, > > I get the following linker errors with GCC and the latest Newlib on ARM: > > /build/rtems/6/lib/gcc/arm-rtems6/10.1.1/../../../../arm-rtems6/bin/ld: > /build/rtems/6/lib/gcc/arm-rtems6/10.1.1/../../../../arm-rtems6/lib/thumb= /cortex-m3/libm.a(lib_a-fenv-vfp.o):/scratch/git-rtems-source-builder/rtems= /build/arm-rtems6-gcc-50666d2-newlib-f095752-x86_64-linux-gnu-1/build/arm-r= tems6/thumb/cortex-m3/newlib/targ-include/machine/fenv-softfloat.h:61: > > multiple definition of `__softfloat_float_rounding_mode'; > /build/rtems/6/lib/gcc/arm-rtems6/10.1.1/../../../../arm-rtems6/lib/thumb= /cortex-m3/libm.a(lib_a-fenv-softfp.o):/scratch/git-rtems-source-builder/rt= ems/build/arm-rtems6-gcc-50666d2-newlib-f095752-x86_64-linux-gnu-1/build/ar= m-rtems6/thumb/cortex-m3/newlib/targ-include/machine/fenv-softfloat.h:61: > > first defined here > /build/rtems/6/lib/gcc/arm-rtems6/10.1.1/../../../../arm-rtems6/bin/ld: > /build/rtems/6/lib/gcc/arm-rtems6/10.1.1/../../../../arm-rtems6/lib/thumb= /cortex-m3/libm.a(lib_a-fenv-vfp.o):/scratch/git-rtems-source-builder/rtems= /build/arm-rtems6-gcc-50666d2-newlib-f095752-x86_64-linux-gnu-1/build/arm-r= tems6/thumb/cortex-m3/newlib/targ-include/machine/fenv-softfloat.h:60: > > multiple definition of `__softfloat_float_exception_mask'; > /build/rtems/6/lib/gcc/arm-rtems6/10.1.1/../../../../arm-rtems6/lib/thumb= /cortex-m3/libm.a(lib_a-fenv-softfp.o):/scratch/git-rtems-source-builder/rt= ems/build/arm-rtems6-gcc-50666d2-newlib-f095752-x86_64-linux-gnu-1/build/ar= m-rtems6/thumb/cortex-m3/newlib/targ-include/machine/fenv-softfloat.h:60: > > first defined here > /build/rtems/6/lib/gcc/arm-rtems6/10.1.1/../../../../arm-rtems6/bin/ld: > /build/rtems/6/lib/gcc/arm-rtems6/10.1.1/../../../../arm-rtems6/lib/thumb= /cortex-m3/libm.a(lib_a-fenv-vfp.o):/scratch/git-rtems-source-builder/rtems= /build/arm-rtems6-gcc-50666d2-newlib-f095752-x86_64-linux-gnu-1/build/arm-r= tems6/thumb/cortex-m3/newlib/targ-include/machine/fenv-softfloat.h:59: > > multiple definition of `__softfloat_float_exception_flags'; > /build/rtems/6/lib/gcc/arm-rtems6/10.1.1/../../../../arm-rtems6/lib/thumb= /cortex-m3/libm.a(lib_a-fenv-softfp.o):/scratch/git-rtems-source-builder/rt= ems/build/arm-rtems6-gcc-50666d2-newlib-f095752-x86_64-linux-gnu-1/build/ar= m-rtems6/thumb/cortex-m3/newlib/targ-include/machine/fenv-softfloat.h:59: > > first defined here > >