From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Over To: Jon K Hellan Cc: insight@sourceware.cygnus.com Subject: Re: Build problem Linux/i386/Debian/Potato Date: Thu, 10 Feb 2000 05:17:00 -0000 Message-id: <20000210231710.A9204@boh.localnet> References: <20000210113220.A26876@parus.parus.no> X-SW-Source: 2000-q1/msg00062.html Hi Jon. On Thu, Feb 10, 2000 at 11:32:20AM +0100, Jon K Hellan wrote: > I have build problems on Linux i386 Debian Potato. I've managed to work > around the compilation errors, but get quite a few segfaults from the > resulting binary. I am trying to build insight-20000131. You're not the only one. In fact, this isn't specifically an insight problem. It's filed as bug 54738 against debian's gdb package (which can't be compiled either). [SNIP] > The problems are: > > - lin-thread.c sees conflicting types for lwpid_t and psaddr_t. I > could silence the compiler by removing these definitions from > gdb_proc_service.h. > > - i386-linux-nat.c sees a definition of fpregset_t which does not > contain the members it expects. My guess as to what's going on is that the glibc people have tried to make a type opaque. Unfortunately, this type is still needed by the gdb people. As a result, I'm not really sure who is ultimately responsible. I'd considered just posting to both mailing lists and letting the internal people sort it out :) I'm also not really sure why this problem is only afflicting debian people -- it might just be a case of having a hideously up to date libc6-dev package in comparison to the other distributions (apt is wonderful). I've attached the patch that I wound up using to get this working. It is very nasty, but makes for a short term solution. Credit to whomever originally filed bug 54738 :) Cheers, --Andrew