From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.61]) by mx.groups.io with SMTP id smtpd.web12.54301.1594028402893973262 for ; Mon, 06 Jul 2020 02:40:03 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=JXWlFBIz; spf=pass (domain: redhat.com, ip: 205.139.110.61, mailfrom: lersek@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594028402; 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: content-transfer-encoding:content-transfer-encoding; bh=/2F9w7KbP6KYVWwE7XtqXyRD6CBT3ncoUg4Y8YUimA0=; b=JXWlFBIzYy8Wr3C1dAP/ZkpfCbt54DDuoIRMULZgh67D58xY2itDE6p4XwJJW8mim3HQ7A K4u91kBslP0Oj4gR/c6wNTTfnXFwuQKTrqwiApCVAxf/M0OQS1jgJAPjRcRRZduV57bw9V Efeg2o2QErOOBDDXqe2HPCa4SYrN5BE= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-84-rb0gZWGCPluD7PKKu9fiQQ-1; Mon, 06 Jul 2020 05:39:58 -0400 X-MC-Unique: rb0gZWGCPluD7PKKu9fiQQ-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 8451110059A8; Mon, 6 Jul 2020 09:39:57 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-114-194.ams2.redhat.com [10.36.114.194]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6A8E92B4B4; Mon, 6 Jul 2020 09:39:56 +0000 (UTC) To: edk2-devel-groups-io Cc: "Ard Biesheuvel (ARM address)" , Liming Gao From: "Laszlo Ersek" Subject: warning: Empty loadable segment detected Message-ID: Date: Mon, 6 Jul 2020 11:39:55 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 Thunderbird/52.9.1 MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=lersek@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Hi, I've just noticed the following warning in the build log: > objcopy: [...]: warning: Empty loadable segment detected, is this > intentional ? The modules this is logged for are: - CapsuleRuntimeDxe - CpuS3DataDxe - EnrollDefaultKeys - FaultTolerantWriteSmm - IncompatiblePciDeviceSupport - MonotonicCounterRuntimeDxe - RealTimeClockRuntimeDxe - XenIoPvhDxe I can't tell if this is a new symptom, or the only "new" thing is my noticing of it. The warning is familiar, from commit 26ecc55c027d ("BaseTools IA32/X64: prevent .eh_frame sections from being generated", 2015-08-13). I get the warnings in NOOPT_GCC48 builds of OVMF (Ia32X64, X64, and Xen -- not in Ia32). Does someone have an idea what the warnings could be due to? Thanks! Laszlo