From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dedi548.your-server.de (dedi548.your-server.de [85.10.215.148]) by sourceware.org (Postfix) with ESMTPS id 025973858D1E for ; Thu, 28 Apr 2022 08:16:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 025973858D1E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=embedded-brains.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=embedded-brains.de Received: from sslproxy05.your-server.de ([78.46.172.2]) by dedi548.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1njzKB-000AXB-KF for gcc@gcc.gnu.org; Thu, 28 Apr 2022 10:16:31 +0200 Received: from [82.100.198.138] (helo=mail.embedded-brains.de) by sslproxy05.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1njzKB-000DAY-HQ for gcc@gcc.gnu.org; Thu, 28 Apr 2022 10:16:31 +0200 Received: from localhost (localhost [127.0.0.1]) by mail.embedded-brains.de (Postfix) with ESMTP id 36F0748005A for ; Thu, 28 Apr 2022 10:16:31 +0200 (CEST) Received: from mail.embedded-brains.de ([127.0.0.1]) by localhost (zimbra.eb.localhost [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id q5i82Rse43JL for ; Thu, 28 Apr 2022 10:16:30 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.embedded-brains.de (Postfix) with ESMTP id B8AE2480113 for ; Thu, 28 Apr 2022 10:16:30 +0200 (CEST) X-Virus-Scanned: amavisd-new at zimbra.eb.localhost Received: from mail.embedded-brains.de ([127.0.0.1]) by localhost (zimbra.eb.localhost [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id mJibwl1QanIm for ; Thu, 28 Apr 2022 10:16:30 +0200 (CEST) Received: from [10.10.171.14] (unknown [10.10.171.14]) by mail.embedded-brains.de (Postfix) with ESMTPSA id 9274B48005A for ; Thu, 28 Apr 2022 10:16:30 +0200 (CEST) Message-ID: <34bf050f-eaf9-3209-a2de-857a149dd8d3@embedded-brains.de> Date: Thu, 28 Apr 2022 10:16:30 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 To: gcc@gcc.gnu.org Content-Language: en-US From: Sebastian Huber Subject: gnatlink vs. -mthumb -march=armv7-a+simd -mfloat-abi=hard Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Authenticated-Sender: smtp-embedded@poldinet.de X-Virus-Scanned: Clear (ClamAV 0.103.5/26525/Wed Apr 27 10:19:41 2022) X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2022 08:16:36 -0000 Hello, I test currently the Ada support for RTEMS in GCC 12. We have a -mthumb=20 -march=3Darmv7-a+simd -mfloat-abi=3Dhard multilib for which the Ada RTS i= s=20 built like this: make[4]: Entering directory=20 '/tmp/sh/b-gcc-arm-rtems6/arm-rtems6/thumb/armv7-a+simd/hard/libada' make -C ../../../../.././gcc/ada "MAKEOVERRIDES=3D" "LDFLAGS=3D-mthumb=20 -march=3Darmv7-a+simd -mfloat-abi=3Dhard" "LN_S=3Dln -s" "SHELL=3D/bin/sh= "=20 "GNATLIBFLAGS=3D-W -Wall -gnatpg -nostdinc -mthumb -march=3Darmv7-a+simd=20 -mfloat-abi=3Dhard" "GNATLIBCFLAGS=3D-g -O2 -mthumb -march=3Darmv7-a+simd= =20 -mfloat-abi=3Dhard" "GNATLIBCFLAGS_FOR_C=3D-W -Wall -g -O2 -g -O2=20 -fexceptions -DIN_RTS -DHAVE_GETIPINFO -mthumb -march=3Darmv7-a+simd=20 -mfloat-abi=3Dhard" "PICFLAG_FOR_TARGET=3D-fPIC" "THREAD_KIND=3Dnative"=20 "TRACE=3Dno" "MULTISUBDIR=3D/thumb/armv7-a+simd/hard"=20 "libsubdir=3D/tmp/sh/i-arm-rtems6/lib64/gcc/arm-rtems6/12.0.1/thumb/armv7= -a+simd/hard"=20 "toolexeclibdir=3D/tmp/sh/i-arm-rtems6/lib64/gcc/arm-rtems6/12.0.1/thumb/= armv7-a+simd/hard/adalib"=20 "objext=3D.o" "prefix=3D/tmp/sh/i-arm-rtems6"=20 "exeext=3D.exeext.should.not.be.used "=20 'CC=3Dthe.host.compiler.should.not.be.needed'=20 "GCC_FOR_TARGET=3D/tmp/sh/b-gcc-arm-rtems6/./gcc/xgcc=20 -B/tmp/sh/b-gcc-arm-rtems6/./gcc/ -nostdinc=20 -B/tmp/sh/b-gcc-arm-rtems6/arm-rtems6/newlib/ -isystem=20 /tmp/sh/b-gcc-arm-rtems6/arm-rtems6/newlib/targ-include -isystem=20 /home/EB/sebastian_h/src/gcc/newlib/libc/include=20 -B/tmp/sh/i-arm-rtems6/arm-rtems6/bin/=20 -B/tmp/sh/i-arm-rtems6/arm-rtems6/lib/ -isystem=20 /tmp/sh/i-arm-rtems6/arm-rtems6/include -isystem=20 /tmp/sh/i-arm-rtems6/arm-rtems6/sys-include " "CFLAGS=3D-g -O2 -mthumb= =20 -march=3Darmv7-a+simd -mfloat-abi=3Dhard" ./bldtools/oscons/xoscons When I try to link a test application I get this error: arm-rtems7-gnatlink=20 /tmp/sh/b-rtems/arm/realview_pbx_a9_qemu/testsuites/ada/samples/nsecs/nse= cs.ali=20 testsuites/ada/samples/nsecs/init.o -qnolinkcmds -T=20 linkcmds.realview_pbx_a9_qemu -Wl,--wrap=3Dprintf -Wl,--wrap=3Dputs=20 -Wl,--wrap=3Dputchar -L. -lrtemscpu -lrtemsbsp -lrtemstest -qrtems -mthum= b=20 -march=3Darmv7-a+simd -mfloat-abi=3Dhard -mtune=3Dcortex-a9 -Wl,--gc-sect= ions=20 -L/home/EB/sebastian_h/src/rtems/bsps/arm/shared/start=20 -L/home/EB/sebastian_h/src/rtems/bsps/arm/realview-pbx-a9/start -o=20 /tmp/sh/b-rtems/arm/realview_pbx_a9_qemu/testsuites/ada/ada_nsecs.exe /opt/rtems/7/lib/gcc/arm-rtems7/12.0.1/thumb/armv7-a+simd/hard/adainclude= /s-secsta.ads:288:9:=20 sorry, unimplemented: Thumb-1 'hard-float' VFP ABI The s-secsta.ads seems to be from the right multilib directory=20 (Thumb-2), however, I get a sorry message related to Thumb-1? --=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/