From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from alexa-out-sd-02.qualcomm.com (alexa-out-sd-02.qualcomm.com [199.106.114.39]) by mx.groups.io with SMTP id smtpd.web11.7994.1653491322072263302 for ; Wed, 25 May 2022 08:08:42 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=fY8FFm9n; spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: quicinc.com, ip: 199.106.114.39, mailfrom: quic_rcran@quicinc.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1653491322; x=1685027322; h=message-id:date:mime-version:to:cc:from:subject: content-transfer-encoding; bh=ZtyGDU22EhAJCnLE30tgpWMQbGqlTAqNUBWZ0iKpGqk=; b=fY8FFm9nzWTz/GgdfIWyuyjHLhsxi/kqWZOhSGvXXnn7q+o2lOR6oHW3 tEIIAlHzNlUQf71PW6Ihpyrrib3f0824lBXEzI1gqD871/6kochrN4bmR VavYhOaDOVjNLXYCSiqcskXYprZJJgh4XyPdkjaz8JObqogchQ/s8IQ+U w=; Received: from unknown (HELO ironmsg02-sd.qualcomm.com) ([10.53.140.142]) by alexa-out-sd-02.qualcomm.com with ESMTP; 25 May 2022 08:08:41 -0700 X-QCInternal: smtphost Received: from nasanex01b.na.qualcomm.com ([10.46.141.250]) by ironmsg02-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 May 2022 08:08:41 -0700 Received: from [10.110.97.80] (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Wed, 25 May 2022 08:08:41 -0700 Message-ID: <19fda580-50da-302b-4c4e-0457fb28174b@quicinc.com> Date: Wed, 25 May 2022 09:08:40 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 To: edk2-devel-groups-io CC: Ard Biesheuvel , Jiewen Yao , Jordan Justen , Gerd Hoffmann From: "Rebecca Cran" Subject: OvmfPkgX64 doesn't build with CLANG38 (clang 14.0.3) NOOPT - undefined reference to `memcpy' Return-Path: quic_rcran@quicinc.com X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01b.na.qualcomm.com (10.46.141.250) Content-Language: en-US Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit I noticed OvmfPkg/OvmfPkgX64.dsc doesn't build with `-t CLANG38 -b NOOPT` (with clang version 14.0.2) with the latest edk2 master (07c0c2eb0a5970db614ebce1060fc79d6904bdfd): make: Nothing to be done for 'tbuild'. /usr/bin/ld: /usr/bin/ld: DWARF error: invalid or unhandled FORM value: 0x23 /home/bcran/src/upstream/uefi/edk2/Build/OvmfX64/NOOPT_CLANG38/X64/OvmfPkg/VirtioGpuDxe/VirtioGpu/OUTPUT/VirtioGpuDxe.lib(Gop.obj): in function `GopSetMode': Gop.c:(.text.GopSetMode+0x418): undefined reference to `memcpy' Building ... /home/bcran/src/upstream/uefi/edk2/OvmfPkg/PlatformPei/PlatformPei.inf [X64] clang-14.0: error: linker command failed with exit code 1 (use -v to see invocation) make: Nothing to be done for 'tbuild'. make: *** [GNUmakefile:358: /home/bcran/src/upstream/uefi/edk2/Build/OvmfX64/NOOPT_CLANG38/X64/OvmfPkg/VirtioGpuDxe/VirtioGpu/DEBUG/VirtioGpuDxe.dll] Error 1 build.py... : error 7000: Failed to execute command        make tbuild [/home/bcran/src/upstream/uefi/edk2/Build/OvmfX64/NOOPT_CLANG38/X64/OvmfPkg/VirtioGpuDxe/VirtioGpu] build.py... : error F002: Failed to build module        /home/bcran/src/upstream/uefi/edk2/OvmfPkg/VirtioGpuDxe/VirtioGpu.inf [X64, CLANG38, NOOPT] - Failed - Build end time: 09:03:38, May.25 2022 Build total time: 00:00:07 -- Rebecca Cran