From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 128699 invoked by alias); 8 Mar 2018 16:08:08 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 126228 invoked by uid 89); 8 Mar 2018 16:08:07 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=H*i:CAP5F8c, H*f:sk:oi50ds7, H*f:CAP5F8c, H*i:sk:oi50ds7 X-Spam-User: qpsmtpd, 2 recipients X-HELO: mail-qt0-f173.google.com Received: from mail-qt0-f173.google.com (HELO mail-qt0-f173.google.com) (209.85.216.173) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 08 Mar 2018 16:08:04 +0000 Received: by mail-qt0-f173.google.com with SMTP id z14so7303039qti.2; Thu, 08 Mar 2018 08:08:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=q6Hg/VNjaxG7jXi5TJ+A49yQTjMr0VRp/WdXykyNXTs=; b=r/BOdGE4lvem7D3igsimLFLR0DXmBRUlAkp2/9KaWT3ptpuDK0KEaw+0HkMZjFYqsX UqJtwY+mGTeVwVHzq4/Bs8iXu/4jE5Fo2p4EwCwKFMrfimqSH7PJ5Q5UVXw4K/z19eIe jmElPtz7tpY11DJXyc3f7mDCCKveivyltd7/VM0Y6R9NKeK+Rl4IyOHf8reX6ykvs0n7 ELPCF06rw4EpY1tLOd7lomXHRH5Pwg+9rDA+AfsqDdjj3dL3y9dQ9urOjFj0ZRwXDSyY 6HjmczQ49fDqarHY0PYpCSPhINTvPnApw9b2S+BkcVZobtoDoF8xIM5GPvnyCz5k0TXH u0tw== X-Gm-Message-State: AElRT7FMOEC9MBJLFTNuG2BkyDreRjbo8yuyBnryjG0TyYXs1BD6auVh rVJeS7SHszYVU4okOGpIqNEUl+Htz8WwomWSetQ= X-Google-Smtp-Source: AG47ELtKUWwvfv5iyMW9+XvEcwnAFETfs5dfVpWAsmq8vv9tduGbM64rdxDl+4qMXtCvLL/VIl5F9OiBGXoaqTSMmeA= X-Received: by 10.237.49.105 with SMTP id 96mr41151694qtg.192.1520525283049; Thu, 08 Mar 2018 08:08:03 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.217.57 with HTTP; Thu, 8 Mar 2018 08:08:02 -0800 (PST) In-Reply-To: References: From: Yao Qi Date: Thu, 08 Mar 2018 16:08:00 -0000 Message-ID: Subject: Re: ia64 build failure against master To: Jason Duerstock Cc: Binutils , Yao Qi , GDB Patches Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2018-03/txt/msg00170.txt.bz2 On Thu, Mar 8, 2018 at 3:08 PM, Jason Duerstock wrote: > I was trying to compile the latest source on ia64 and got this error: > > ../../gdb/ia64-tdep.c: In function =E2=80=98register_status > ia64_pseudo_register_read(gdbarch*, readable_regcache*, int, > gdb_byte*)=E2=80=99: > ../../gdb/ia64-tdep.c:942:64: error: invalid conversion from > =E2=80=98readable_regcache*=E2=80=99 to =E2=80=98regcache*=E2=80=99 [-fpe= rmissive] > || libunwind_get_reg_special (gdbarch, regcache, regnum, buf) !=3D 0) > ^ > In file included from ../../gdb/ia64-tdep.h:25:0, > from ../../gdb/ia64-tdep.c:39: > ../../gdb/ia64-libunwind-tdep.h:73:5: note: initializing argument 2 > of =E2=80=98int libunwind_get_reg_special(gdbarch*, regcache*, int, void*= )=E2=80=99 > int libunwind_get_reg_special (struct gdbarch *gdbarch, > ^~~~~~~~~~~~~~~~~~~~~~~~~ > make[2]: *** [Makefile:1605: ia64-tdep.o] Error 1 > make[2]: Leaving directory '/mnt/b/native/binutils-gdb/build/gdb' > make[1]: *** [Makefile:10421: all-gdb] Error 2 > make[1]: Leaving directory '/mnt/b/native/binutils-gdb/build' > make: *** [Makefile:850: all] Error 2 > > It looks related to commit 849d0ba8. My system has libunwind installed. > I'll take a look. --=20 Yao (=E9=BD=90=E5=B0=A7)