From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by sourceware.org (Postfix) with ESMTPS id 8A48A3858430 for ; Tue, 16 Nov 2021 08:08:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 8A48A3858430 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.cz Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id C5C111FC9E; Tue, 16 Nov 2021 08:08:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1637050124; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=JL1g06ATefqbGFBQtd3vo2IF+bO1KMLI+ek6vuGJ2e0=; b=2FBAF6KUy6qw7ogi9YUtY+MoeciR6SGjzE8kBBdbzhnYytcZr1F21blU/lzXeA7UJhO+ZL +dHISnqOtAMeYwQ6cn5t5R6d5BSAJYXlGD2sc9CqTlmGQO1ZFn0B8tQemTFMnFfggk8fvs vht4zeqwGI75AmGStABUGhMcIUtkx7o= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1637050124; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=JL1g06ATefqbGFBQtd3vo2IF+bO1KMLI+ek6vuGJ2e0=; b=SWi8vppVcXyipNLWspCEfjMRHeC/AZgufubqz6n0aobZTsq+NX9TgJ6JM5mD9RSS5gRmW6 l12sdC4KJMwQ/QCw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id A26F513B9A; Tue, 16 Nov 2021 08:08:44 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id OAaRJgxnk2FhZgAAMHmgww (envelope-from ); Tue, 16 Nov 2021 08:08:44 +0000 Message-ID: <91bd5c7c-d73f-e318-0d97-ce08d25d139e@suse.cz> Date: Tue, 16 Nov 2021 09:08:43 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Subject: Re: [PATCH][GAS] arm: add armv9-a architecture to -march Content-Language: en-US To: Przemyslaw Wirkus , Binutils Cc: Richard Earnshaw , Marcus Shawcroft References: From: =?UTF-8?Q?Martin_Li=c5=a1ka?= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, 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: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Nov 2021 08:08:47 -0000 On 11/15/21 21:40, Przemyslaw Wirkus wrote: > > >> -----Original Message----- >> From: Przemyslaw Wirkus >> Sent: 15 November 2021 11:20 >> To: Martin Liška ; Binutils >> Cc: Richard Earnshaw ; Marcus Shawcroft >> >> Subject: RE: [PATCH][GAS] arm: add armv9-a architecture to -march >> >>> -----Original Message----- >>> From: Martin Liška >>> Sent: 15 November 2021 11:17 >>> To: Przemyslaw Wirkus ; Binutils >>> >>> Cc: Richard Earnshaw ; Marcus Shawcroft >>> >>> Subject: Re: [PATCH][GAS] arm: add armv9-a architecture to -march >>> >>> Hello. >>> >>> A question: I'm building cross GCC compiler with the latest binutils >>> master, as I see: >>> >>> Error: unknown architecture `armv9-a' >>> >>> Where I configure binutils with --enable-targets=...,armv9l-suse-linux. >>> What am I doing wrong? > > Please try with explicit --target flag: > > $ cd $BUILD_DIR > $ $BINUTILS_SRC/configure --disable-nsl --prefix=$PREFIX \ > --enable-targets=armv9l-suse-linux --target=armv9l-suse-linux Hello. Thank you, my bad. I forgot to rebuild cross binutils package that adds the support. Cheers, Martin > > Works fine: > > $ cat test.s > .arch armv9-a > nop > nop > > $ ./bin/bin/armv9l-suse-linux-as test.s > $ ./bin/bin/armv9l-suse-linux-readelf -A a.out > Attribute Section: aeabi > File Attributes > Tag_CPU_name: "9-A" > Tag_CPU_arch: v9 > Tag_CPU_arch_profile: Application > Tag_ARM_ISA_use: Yes > Tag_THUMB_ISA_use: Thumb-2 > Tag_Advanced_SIMD_arch: NEON for ARMv8.1 > Tag_MPextension_use: Allowed > Tag_Virtualization_use: TrustZone and Virtualization Extensions > >>> Can you please add a GAS test-case that 'armv9-a' is accepted for >>> .arch directive? >> >> Of course. I will look into that asap. >> >> Cheers! >> >>> Thanks, >>> Martin > > Cheers! > Przemek >