From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by sourceware.org (Postfix) with ESMTPS id A19DD3858017 for ; Wed, 27 Sep 2023 07:25:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A19DD3858017 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-4053d53a1bfso93311235e9.1 for ; Wed, 27 Sep 2023 00:25:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695799551; x=1696404351; darn=gcc.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=FNe+z0CC0BJ6HPqh0e8hxY0wdMsVOG6kRBR2LZnE5OQ=; b=baODTGkuulxwTTaCnM9JtKK7fJsSLZMreQDICe4uQPl67d5vJx57oaOjm7aqe8vZf0 yslzBshSrzYd6BzTNUTLZMZKGbz4rbjeVJ9eX+1NrDiuU3dX3AAEOtZ7vv9A8A1Mijhe I8OUb2A8bSnoOTmNpsaVqYluQII96Z8PyZ+zOz2U25f3L8WB+jOcba/tbf4hpzFhcFzV 1d8I3V6Tv4ESZkTQ7pkDFJ2HSghBpUU/jshI1r1V6ZtNMiUUZKsD69Yv6T5ms5tziMxe ec4Wn6UwX04WEaOzYhDfbMiaul2igZ0QOmdTeK5OE4SZUbes4iVhP/cTPqw1uIbfVqZv T3mQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695799551; x=1696404351; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FNe+z0CC0BJ6HPqh0e8hxY0wdMsVOG6kRBR2LZnE5OQ=; b=YUxXF0NhZkB9TSnPKC/+VIbC1K6laHUOnJzqoDhBzfzniQLUOQlubVzIWZYP8bRg/D k/07XDaGmbxWq1iRWhb1PkNMr55mlo6J0zKJ3UECS9kU0wAfhjNANTyWg2vf8eCkvrg7 EVq5vgeLAwqbeVdz4M10NCYog5eHaWCCbdZSTbaYImQAKbWQCsa5ZFo+u5LL6YbvwU1a CvyzHaDM+0WochBayZS+yxs1vMPzpU8RBQsjSCWni5Bm9/c+CZYoQK2cW5yGOeUDVs1a ny+ANNEYgfgUKNH7hubNtrY/vgQ3IlUO/2MbQ353mvlXIZaFQQpGaLeMiRoSorx3P43o SKjA== X-Gm-Message-State: AOJu0YzzePKvNvsZDGo22MRvpuYeVR0Zg7M2Zt5Q4uq/mIMhxj4n/ygI vyu8XVwfPB0N9dvPVQVujQKjqTADFKkW7hv9pHI= X-Google-Smtp-Source: AGHT+IHSxZ2lQKXPW8CNhPfGwJhMcZJQrR+GOQq/IVMvQNErKNuxLAY9c7Q7Ru1KaWLYOwVgvUDE49tQNjejZUY0YZw= X-Received: by 2002:a05:600c:b59:b0:405:9450:dda6 with SMTP id k25-20020a05600c0b5900b004059450dda6mr1304232wmr.22.1695799550370; Wed, 27 Sep 2023 00:25:50 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Andrew Pinski Date: Wed, 27 Sep 2023 00:25:32 -0700 Message-ID: Subject: Re: gfortran: error: unrecognized argument in option '-mcmodel=medium' To: Richard Biener Cc: "Lingadahally, Vishakha (2023)" , "fortran@gcc.gnu.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Tue, Sep 26, 2023 at 11:39=E2=80=AFPM Richard Biener via Fortran wrote: > > On Tue, Sep 26, 2023 at 4:44=E2=80=AFPM Lingadahally, Vishakha (2023) > wrote: > > > > Dear GCC Team, > > > > I'm running Ubuntu 22 on my Mac virtually and my gfortran version is 11= .4.0. When I try to install a certain software package, I encounter the fol= lowing error: > > > > gfortran: error: unrecognized argument in option '-mcmodel=3Dmedium' > > gfortran: note: valid arguments to '-mcmodel=3D' are: large small tiny > > > > Is this due to attempting to run gfortran on arm64 architecture? Could = you please let me know how I could resolve the issue? > > You have to turn to Ubuntu here, -mcmodel=3Dmedium is certainly > supported in GCC 11, maybe Ubuntu patches out > the support? Well -mcmodel=3Dmedium is the x86_64 specific option while they are trying to run on aarch64 which has a different set options. > > > > > Thank you > > > > Warm regards, > > Vishakha > > > > This email, its contents and any attachments are intended solely for th= e addressee and may contain confidential information. In certain circumstan= ces, it may also be subject to legal privilege. Any unauthorised use, discl= osure, or copying is not permitted. If you have received this email in erro= r, please notify us and immediately and permanently delete it. Any views or= opinions expressed in personal emails are solely those of the author and d= o not necessarily represent those of Royal Holloway, University of London. = It is your responsibility to ensure that this email and any attachments are= virus free.