From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26249 invoked by alias); 16 Mar 2013 18:11:00 -0000 Received: (qmail 26230 invoked by uid 22791); 16 Mar 2013 18:10:57 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_NO X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 16 Mar 2013 18:10:53 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 7F50F2E8C0; Sat, 16 Mar 2013 14:10:52 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 5skXsaRYxqTk; Sat, 16 Mar 2013 14:10:52 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 480DD2E8BA; Sat, 16 Mar 2013 14:10:52 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 27E5EC25AC; Sat, 16 Mar 2013 11:10:50 -0700 (PDT) Date: Sat, 16 Mar 2013 18:11:00 -0000 From: Joel Brobecker To: Joel Sherrill Cc: Ralf Corsepius , Mike Frysinger , "gdb@sourceware.org" Subject: Re: [gdb-7.5.91] mips sim fails to build on mingw32 Message-ID: <20130316181049.GK4474@adacore.com> References: <5evvfpyhuvbs9ftm3edxb7na.1363372668425@email.android.com> <5143F627.3030905@rtems.org> <5144169C.6060902@rtems.org> <51448AD1.70201@oarcorp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51448AD1.70201@oarcorp.com> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2013-03/txt/msg00033.txt.bz2 Joel, > It is still there if you configure correctly. On a completely up to date > CentOS 6.x install. I reversed the patch locally and configured like this: > > ../gdb-7.5.91/configure --target=mips-rtems4.11 \ > --prefix=/home/joel/test-gdb/install/ --enable-sim \ > --enable-sim-hardware --enable-timebase --enable-sim-trace && > make > > And the build failed like this: > > -o run \ > nrun.o libsim.a ../../bfd/libbfd.a ../../opcodes/libopcodes.a > ../../libiberty/libiberty.a -lm -lm -lz -lnsl > libsim.a(interp.o): In function `sim_open': > /home/joel/test-gdb/b-gdb/sim/mips/../../../gdb-7.5.91/sim/mips/interp.c:552: > undefined reference to `sockser_addr' > > Sounds like it needs the same configure magic as the other architectures. Do I understand correctly that the patch you added is too broad and affects more targets than needed? If that's the case, I agree with Ralf that the best course is to revert your patch first, and then implement something that only affects CentOS. Scheduled release time is 10 days away (Mar 26). It would be nice to have this fixed by then. Otherwise, we'll have to delay the release. Since you're the only one who seems to be able to reproduce, would you mind working on this? -- Joel