From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga11.intel.com (mga11.intel.com []) by mx.groups.io with SMTP id smtpd.web09.1521.1608755443619515911 for ; Wed, 23 Dec 2020 12:30:43 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=fail (domain: intel.com, ip: , mailfrom: michael.d.kinney@intel.com) IronPort-SDR: op74RUB4Ma662GpZ3+E78E8Ki0KKUZzVcHwoCBbrNsb7SxtTpU5TK1Hqee1cmUIbvR7p1xG488 j4XESEBJgZuA== X-IronPort-AV: E=McAfee;i="6000,8403,9844"; a="172559501" X-IronPort-AV: E=Sophos;i="5.78,442,1599548400"; d="scan'208";a="172559501" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Dec 2020 12:30:38 -0800 IronPort-SDR: ud5V9bjkmiNPTQqKoOVcxy15+aCh2WJPRArbB/fZSXQlh2cFNGnBTbSJZMID4ejbmeLMz/BVQK 6YPLcd2YsKyQ== X-IronPort-AV: E=Sophos;i="5.78,442,1599548400"; d="scan'208";a="417346529" Received: from mdkinney-mobl2.amr.corp.intel.com ([10.209.22.25]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Dec 2020 12:30:37 -0800 From: "Michael D Kinney" To: devel@edk2.groups.io Cc: Bob Feng , Jordan Justen , Andrew Fish , Ray Ni , Laszlo Ersek Subject: [stable/202011][Patch 3/8] EmulatorPkg/PlatformCI: stick with "ubuntu-18.04" for now Date: Wed, 23 Dec 2020 12:30:23 -0800 Message-Id: <20201223203028.1659-4-michael.d.kinney@intel.com> X-Mailer: git-send-email 2.29.2.windows.2 In-Reply-To: <20201223203028.1659-1-michael.d.kinney@intel.com> References: <20201223203028.1659-1-michael.d.kinney@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Bob Feng "vm_image: 'ubuntu-latest'" now refers to Ubuntu Focal (20.04LTS), not Ubuntu Bionic (18.04LTS), according to . In Focal, an EmulatorPkg linking step fails like this: > INFO - "gcc" -o > /home/vsts/work/1/s/Build/EmulatorIA32/DEBUG_GCC5/IA32/Host -m32 > -L/usr/X11R6/lib > -Wl,--start-group,@/home/vsts/work/1/s/Build/EmulatorIA32/DEBUG_GCC5/IA32/EmulatorPkg/Unix/Host/Host/OUTPUT/static_library_files.lst,--end-group > -lpthread -ldl -lXext -lX11 > INFO - /usr/bin/ld: skipping incompatible > /usr/lib/gcc/x86_64-linux-gnu/9/libgcc.a when searching for -lgcc > INFO - /usr/bin/ld: cannot find -lgcc > INFO - /usr/bin/ld: skipping incompatible > /usr/lib/gcc/x86_64-linux-gnu/9/libgcc.a when searching for -lgcc > INFO - /usr/bin/ld: cannot find -lgcc > INFO - collect2: error: ld returned 1 exit status > INFO - make: *** [GNUmakefile:421: > /home/vsts/work/1/s/Build/EmulatorIA32/DEBUG_GCC5/IA32/EmulatorPkg/Unix/Host/Host/DEBUG/Host] > Error 1 So for now, stick with the previous Ubuntu environment, which continues to be supported, per . The following ticket has been opened about this particular issue: . Signed-off-by: Bob Feng Cc: Jordan Justen Cc: Andrew Fish Cc: Ray Ni Message-Id: <20201221031930.1799-1-bob.c.feng@intel.com> Reviewed-by: Laszlo Ersek [lersek@redhat.com: update the commit message to refer to GCC rather than to QEMU] (cherry picked from commit 16dae1c4c0070b9217652b08a969eec5abdce5b3) --- EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml b/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml index 0e5f4d9961e3..17d62bb69ec5 100644 --- a/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml +++ b/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml @@ -17,7 +17,7 @@ jobs: - job: Platform_CI variables: package: 'EmulatorPkg' - vm_image: 'ubuntu-latest' + vm_image: 'ubuntu-18.04' should_run: false run_flags: "MAKE_STARTUP_NSH=TRUE" -- 2.29.2.windows.2