From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 0E0E438582A3 for ; Mon, 15 Aug 2022 14:25:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0E0E438582A3 Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-630-FuYa5LXBNOyyQKI0YnxNlQ-1; Mon, 15 Aug 2022 10:25:48 -0400 X-MC-Unique: FuYa5LXBNOyyQKI0YnxNlQ-1 Received: by mail-wm1-f70.google.com with SMTP id q10-20020a1ce90a000000b003a60123678aso85772wmc.6 for ; Mon, 15 Aug 2022 07:25:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc; bh=Bjj27ohS/pJJw0/X9WYkhLrKjei+QVQ7qi/xodljc7A=; b=kNWZL18NGzWy8c+B4yv3h8v26hHFcnfFqihkYAuVOZ8f72311GWuPvTb2jutk0Z4+s 7opHf8pq617pNm3ZcztfpFUErZeIv/+qzTfybnaSyh1zIcMS51gnNekgZTMzmt/UpAO3 eFpZg4tF9WPhhpGzWLGA+0j1dr4pBW55ebsndBMpi8zx9o4kCbvllJZ7xG7N+LczZyY9 rpv2jb4VCrmmcl0C0o6tgG9mUiF31OSc6DCkk5EhU1hq9MxZeH6uGBK0AqVC0EsmSxNI XfOyZU9NbvR309zQn4cWPenX5a+Fl5+VrWFz1TMeushTC5kH0inpTkvVVJvdt20rLwEj PspQ== X-Gm-Message-State: ACgBeo3jnqpb1o8cHx163haVdQDdWcKBHe4nb3LNoFvu6b7skW6NCRFG NClg8QcXyAwv9pUTRYxGUBYz9Qj2mH1xuBIJXRTBnrZrIN2YHCyofpAKkbR99WRSzJeCqO86osX FT5Qu/NO33JvVhCnCcw== X-Received: by 2002:a1c:770f:0:b0:3a5:ef7f:2973 with SMTP id t15-20020a1c770f000000b003a5ef7f2973mr4011783wmi.111.1660573547229; Mon, 15 Aug 2022 07:25:47 -0700 (PDT) X-Google-Smtp-Source: AA6agR6+TtQwm5NniwI/xCeEEZb9g6UytG1t64tukzmb+YvnosxyzK9ZUj7WsWsSldiceYh1QbJpQw== X-Received: by 2002:a1c:770f:0:b0:3a5:ef7f:2973 with SMTP id t15-20020a1c770f000000b003a5ef7f2973mr4011767wmi.111.1660573547008; Mon, 15 Aug 2022 07:25:47 -0700 (PDT) Received: from [192.168.1.6] (adsl-2-solo-236-177.claranet.co.uk. [80.168.236.177]) by smtp.gmail.com with ESMTPSA id be6-20020a05600c1e8600b003a5bd5ea215sm9801820wmb.37.2022.08.15.07.25.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 15 Aug 2022 07:25:46 -0700 (PDT) Message-ID: Date: Mon, 15 Aug 2022 15:25:43 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH,V6 00/10] Definition and Implementation of CTF Frame format To: Indu Bhagat , binutils@sourceware.org References: <20220802080452.1143351-1-indu.bhagat@oracle.com> From: Nick Clifton In-Reply-To: <20220802080452.1143351-1-indu.bhagat@oracle.com> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-GB Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Aug 2022 14:25:54 -0000 Hi Indu, Right - with all of the patches applied I am seeing a build problem for 32-bit x86 targets: bfd/elfxx-x86.c: In function '_bfd_x86_elf_write_ctf_frame_plt': bfd/elfxx-x86.c:1954:51: error: passing argument 2 of 'ctf_frame_write_encoder' from incompatible pointer type [-Werror=incompatible-pointer-types] 1954 | void *contents = ctf_frame_write_encoder (ectx, &sec_size, &err); | ^~~~~~~~~ | | | bfd_size_type * {aka long unsigned int *} In file included from bfd/elfxx-x86.h:33, from bfd/elfxx-x86.c:21: include/ctf-frame-api.h:207:34: note: expected 'size_t *' {aka 'unsigned int *'} but argument is of type 'bfd_size_type *' {aka 'long unsigned int *'} 207 | size_t *encoded_size, int *errp); | ~~~~~~~~^~~~~~~~~~~~ And later on: bfd/elf-ctf-frame.c: In function '_bfd_elf_write_section_ctf_frame': bfd/elf-ctf-frame.c:511:48: error: passing argument 2 of 'ctf_frame_write_encoder' from incompatible pointer type [-Werror=incompatible-pointer-types] 511 | contents = ctf_frame_write_encoder (cfe_ctx, &sec_size, &err); | ^~~~~~~~~ | | | bfd_size_type * {aka long unsigned int *} In file included from bfd/elf-ctf-frame.c:25: include/ctf-frame-api.h:207:34: note: expected 'size_t *' {aka 'unsigned int *'} but argument is of type 'bfd_size_type *' {aka 'long unsigned int *'} 207 | size_t *encoded_size, int *errp); | ~~~~~~~~^~~~~~~~~~~~ This is for a target configured as --target=i686-pc-linux-gnu. Cheers Nick