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.129.124]) by sourceware.org (Postfix) with ESMTPS id 59FBA3858C54 for ; Tue, 22 Nov 2022 12:31:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 59FBA3858C54 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1669120307; 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: in-reply-to:in-reply-to:references:references; bh=SId8F1zFuSDKKRaQLvFr2i4asfndLQlHVFfIXvJMX70=; b=a+nbM5byHUm6mzTxJgFUAEx2pQLcziRKB6vAE+jFRoMosNLYGEqtpu2QChr87NrusAdqjV /RJNALn0Hg3qEQTEnytS8nyBwdGoBJP7eCvDg1orpLOhL1g8on6H4sBDHBeL8OioaA+M5K jaNVKT66Jw+22cHR2YBQrgm08ye6lZ4= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-515-1HVK6KFhP-ukWiGhIFH57w-1; Tue, 22 Nov 2022 07:31:46 -0500 X-MC-Unique: 1HVK6KFhP-ukWiGhIFH57w-1 Received: by mail-wr1-f70.google.com with SMTP id p2-20020adfaa02000000b00241d7fb17d7so1785811wrd.5 for ; Tue, 22 Nov 2022 04:31:45 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:subject:from:references:cc:to :content-language:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=SId8F1zFuSDKKRaQLvFr2i4asfndLQlHVFfIXvJMX70=; b=B7XyEVBMgUoGSJjeweYCF4qM7l5oodsGOzmwr9R7xfJuBqZzOXENW+41uiakcMMGAY WtZUFNJIwMmmb+p1EtQ2LuwK3iFUUmzZQ0Nli8jZH2IDAH21jvDc7ftTrFHu/WmKzrWM CSUzGofjAQvo4M1KB9QU5gQaFmPEDW7LFTV0nhD6EJE4ZIXKsoM6lZtW6/hmbQDxRk/I E224CnAQE+feFMVmcKeehyxtcW3LEmC9jSJKDIgqCNp+pVA61vX6avR9J2wvBW/49ewZ cOCk29uY2lUFLkYPAaCgEJ21P5BDscF4MGG/ueeh2f4NU/jfCnMVdHxCA3WuASkklGw+ LWeQ== X-Gm-Message-State: ANoB5pkk1vA73RMtJERLU4jTI/nL73k90CI+wAjStaQFUlgd5csKZ5lC jTpD+AECLApV8fbPsH2+200JJ7mwwBWm4lN/BWN+PvmMmKzfjD9dKanspUAS/1YOGWxNNGpC+70 xLJfOcgxNEjw6uK7TkA== X-Received: by 2002:a05:600c:1e02:b0:3cf:5bd9:68a1 with SMTP id ay2-20020a05600c1e0200b003cf5bd968a1mr10159199wmb.113.1669120304400; Tue, 22 Nov 2022 04:31:44 -0800 (PST) X-Google-Smtp-Source: AA0mqf7oviswT7g2riH4Q8uzgjm80w4xixinWjeq/PC/K1mTIdYL5e+4LsMxhR/UT9IDJCDjl331LQ== X-Received: by 2002:a05:600c:1e02:b0:3cf:5bd9:68a1 with SMTP id ay2-20020a05600c1e0200b003cf5bd968a1mr10159183wmb.113.1669120304180; Tue, 22 Nov 2022 04:31:44 -0800 (PST) Received: from [192.168.1.18] (adsl-164-85.freeuk.com. [80.168.164.85]) by smtp.gmail.com with ESMTPSA id b13-20020a5d45cd000000b002258235bda3sm13856163wrs.61.2022.11.22.04.31.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 22 Nov 2022 04:31:43 -0800 (PST) Message-ID: <1cb42aeb-ac54-06ee-63e9-4917e77bf620@redhat.com> Date: Tue, 22 Nov 2022 12:31:42 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 To: Aleksandar Rikalo , binutils@sourceware.org Cc: arikalo@gmail.com References: <20221121110926.124434-1-aleksandar.rikalo@syrmia.com> From: Nick Clifton Subject: Re: [PATCH v3] Add support for nanoMIPS architecture In-Reply-To: <20221121110926.124434-1-aleksandar.rikalo@syrmia.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.4 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_LOW,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi Aleksandar, > Add a subset of the functionality required for GDB. Building the binutils configured as --enable-targets=all --enable-64-bit-bfd I get a build failure: /bin/ld: ../bfd/.libs/libbfd.a(elfxx-nanomips.o): in function `_bfd_elf_mips_mach': bfd/elfxx-nanomips.c:227: multiple definition of `_bfd_elf_mips_mach';../bfd/.libs/libbfd.a(elfxx-mips.o): bfd/elfxx-mips.c:6918: first defined here Then there are the problems building readelf: binutils/readelf.c: In function 'get_machine_name': binutils/readelf.c:2962:5: error: duplicate case value 2962 | case EM_IMG1: return "Imagination Technologies"; binutils/readelf.c:2863:5: note: previously used here 2863 | case EM_NANOMIPS: return "Mips nanoMIPS"; binutils/readelf.c:17542:13: error: implicit declaration of function 'read_uleb128'; did you mean 'read_leb128'? [-Werror=implicit-function-declaration] binutils/readelf.c:19429:14: error: 'NANOMIPS_ASE_XPA' undeclared (first use in this function); did you mean 'NANOMIPS_ASE_EVA'? 19429 | if (mask & NANOMIPS_ASE_XPA) binutils/readelf.c:19472:23: error: passing argument 1 of 'process_attributes' from incompatible pointer type [-Werror=incompatible-pointer-types] 19472 | process_attributes (file, NULL, SHT_GNU_ATTRIBUTES, NULL, ... and more ... Please could you check and fix these issues ? Cheers Nick