From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.groups.io with SMTP id smtpd.web10.6674.1654177840481155984 for ; Thu, 02 Jun 2022 06:50:40 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=IOjpWuyf; spf=pass (domain: redhat.com, ip: 170.10.129.124, mailfrom: osteffen@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1654177839; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=7SyxntRRIQIUOqGCMO35uD/WOZsTGJCG2t0JeEsDbu0=; b=IOjpWuyfOGuONwpfXHge0vFmV3Zmh01zzKcZDU8p2ecb8eubSEMzLGQ0d3no1o59Ke6OPu O3q890q56dwwos2tq7mICqxXZE6rbJCtUpDGGO2EoUYLjhtlnPbeOKlbG8pYB6bfY2zuhB sPFShmEJTD+4/aQFGBFlU81QZLvGUyU= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-609-BlTm2NMwN5WsWxI33I5jiw-1; Thu, 02 Jun 2022 09:50:38 -0400 X-MC-Unique: BlTm2NMwN5WsWxI33I5jiw-1 Received: by mail-wm1-f69.google.com with SMTP id c187-20020a1c35c4000000b003970013833aso2468202wma.1 for ; Thu, 02 Jun 2022 06:50:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=7SyxntRRIQIUOqGCMO35uD/WOZsTGJCG2t0JeEsDbu0=; b=w0prFHQ7rWY1+Fgj0ZK5DqVoqItWRk4oZpiBcbJq64DG7o17zdX70tpACpd+e+Wfz0 zd90A7U+q8QftYo5NMQAPK5qgnnRDvY/527gtWBQPqcBIO8v1BD1IRFih434fo2bvp/m 4Q3hFI7hIlkrLileYrWY51sIc/fcJkX6fieKQ/1hAxqsdIjvyXfO8+/E5oXnBPnWxZec RVV0KuLVx61dTJrYeSp55rG1AU1Hm4i0VV5VzwshorkkGvmItxnwE84ERscyY7naz+kv +ixcHUbOmSviBdGyF2nMUpT7OObnHLA8H6udLqUYZQC6dN/ZpxgpoRgLXyoi08J/YqVD A/NA== X-Gm-Message-State: AOAM531NMcd+fMpiYrJ8ebVZhDy5wIZW+gPwPoGF+/HRRtQTPy26QTfZ 5gUPgZeTc+4yoffgI7qJ8GkjoG4HUJeZJySPuSpWM/izYJBLoANSexG8DcjfsCB/bL5yZKwTXi2 dd1GYrfx9J3zdV8lqYTVsDX2JiwrLKT8v4u0dvUe+i5WBS8mwKYJVGMPab5+mA1tCEQ== X-Received: by 2002:adf:fbcb:0:b0:20e:674f:9364 with SMTP id d11-20020adffbcb000000b0020e674f9364mr4062726wrs.430.1654177836583; Thu, 02 Jun 2022 06:50:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx5DRxuThwUjlqUpW2kiWe4lVuwR9rJY2SD2NrsbiR7bmg6Qkw4yADTcL/Sl0OIEXo2Z1vt+w== X-Received: by 2002:adf:fbcb:0:b0:20e:674f:9364 with SMTP id d11-20020adffbcb000000b0020e674f9364mr4062710wrs.430.1654177836178; Thu, 02 Jun 2022 06:50:36 -0700 (PDT) Return-Path: Received: from localhost (dslb-188-109-141-094.188.109.pools.vodafone-ip.de. [188.109.141.94]) by smtp.gmail.com with ESMTPSA id u4-20020adff884000000b00210288c55d0sm4419233wrp.52.2022.06.02.06.50.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Jun 2022 06:50:35 -0700 (PDT) Date: Thu, 2 Jun 2022 15:50:34 +0200 From: "Oliver Steffen" To: devel@edk2.groups.io Cc: abner.chang@hpe.com Subject: gcc 12, RiscV64 fence.i instruction missing Message-ID: <20220602135034.xdauyepsbbjrpu3k@osteffen-laptop> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=osteffen@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Hi, has anyone tied building EDK2 (e.g. MdePkg) for RiscV64 with gcc 12? I get: /edk2/Build/Mde/DEBUG_GCC5/RISCV64/MdePkg/Library/BaseLib/BaseLib/OUTPUT/RiscV64/FlushCache.iiii:16: Error: unrecognized opcode `fence.i' I found this gcc bug: Bug 104853 - [RISC-V] -march=rv64g not including extension Zifencei https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104853 I was working on getting gcc 12 into the CI. Thanks, Oliver