From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by mx.groups.io with SMTP id smtpd.web12.1709.1662508009750505132 for ; Tue, 06 Sep 2022 16:46:49 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@quicinc.com header.s=qcppdkim1 header.b=d+5IOvkG; spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: quicinc.com, ip: 205.220.168.131, mailfrom: quic_rcran@quicinc.com) Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 286N8KKr020282; Tue, 6 Sep 2022 23:46:43 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : to : from : subject : content-type : content-transfer-encoding; s=qcppdkim1; bh=6OnRjFrGRVjQRsjhNr1XEpEx6Hza4EyASqdsmbQUqlE=; b=d+5IOvkGluDNrv5nKrP8kF3eu266rl9p4dcI4VAyX5qzglq+APvGIxIr39clN4jhBHld OYCSHok1NiyF5DpDsU9GhWx+XeMNFlrwMJgm07UZtXY66ZgtwG44RwoT6xHZigEcA2mL AVNSBUU09dprzXG4dDoJ2k7CP2zzRnwLMlWWvkUMkphF7LFYgnhaVyt6ro0WC6/qNw32 xvllmh8C4IeuKcfgi0yKiaBl1DhM4zqB5iyx3JVGZ7urWQEUsr6yk6SwTWQc2zVLsCIp Nz4K1FI4Ry6Di/0kH3cEGC85v0/uSrGtBUPk1G5EBEHNTfK4+l4FS4TYpTOeKf19ML+Y Ig== Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3je25ntkj7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 06 Sep 2022 23:46:43 +0000 Received: from nasanex01b.na.qualcomm.com (corens_vlan604_snip.qualcomm.com [10.53.140.1]) by NASANPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 286Nkg9C008991 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 6 Sep 2022 23:46:42 GMT Received: from [10.110.11.216] (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.29; Tue, 6 Sep 2022 16:46:42 -0700 Message-ID: <972d7dbd-4bff-e237-29a6-3dd0fa439d5b@quicinc.com> Date: Tue, 6 Sep 2022 17:46:41 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.1 To: , Michael D Kinney , Liming Gao , Zhiguang Liu From: "Rebecca Cran" Subject: Error building MdeModulePkg.dsc with CLANG38 (clang 11.0.1) 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) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: 3Cz9u27oh6evgpaBerpdgQ21C7BQ7Ak_ X-Proofpoint-GUID: 3Cz9u27oh6evgpaBerpdgQ21C7BQ7Ak_ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-09-06_10,2022-09-06_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 spamscore=0 phishscore=0 malwarescore=0 suspectscore=0 impostorscore=0 bulkscore=0 lowpriorityscore=0 clxscore=1015 mlxscore=0 mlxlogscore=782 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2207270000 definitions=main-2209060110 X-MIME-Autoconverted: from 8bit to quoted-printable by mx0a-0031df01.pphosted.com id 286N8KKr020282 Content-Language: en-US Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable I noticed that MdeModulePkg/MdeModulePkg.dsc doesn't build with clang 11:= I get an error in CapsuleApp: build -p MdeModulePkg/MdeModulePkg.dsc -a X64 -t CLANG38 -b DEBUG ... MdeModulePkg/Application/CapsuleApp/CapsuleDump.c:797:5: error: cast=20 between incompatible calling conventions 'cdecl' and 'ms_abi'; calls=20 through this pointer may abort at runtime=20 [-Werror,-Wcast-calling-convention] =C2=A0=C2=A0=C2=A0 (SORT_COMPARE)CompareFileNameInAlphabet =C2=A0=C2=A0=C2=A0 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MdeModulePkg/Application/CapsuleApp/CapsuleDump.c:635:1: note: consider=20 defining 'CompareFileNameInAlphabet' with the 'ms_abi' calling convention CompareFileNameInAlphabet ( ^ EFIAPI 1 error generated. make: *** [GNUmakefile:361:=20 Build/MdeModule/DEBUG_CLANG38/X64/MdeModulePkg/Application/CapsuleApp/Cap= suleApp/OUTPUT/CapsuleDump.obj]=20 Error 1 --=20 Rebecca Cran