From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27082 invoked by alias); 14 Oct 2009 14:28:20 -0000 Received: (qmail 27072 invoked by uid 22791); 14 Oct 2009 14:28:19 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-pz0-f181.google.com (HELO mail-pz0-f181.google.com) (209.85.222.181) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 14 Oct 2009 14:28:12 +0000 Received: by pzk11 with SMTP id 11so8822581pzk.14 for ; Wed, 14 Oct 2009 07:28:11 -0700 (PDT) Received: by 10.114.249.17 with SMTP id w17mr15351669wah.85.1255530490996; Wed, 14 Oct 2009 07:28:10 -0700 (PDT) Received: from Paullaptop (124-170-16-182.dyn.iinet.net.au [124.170.16.182]) by mx.google.com with ESMTPS id 21sm514880pzk.7.2009.10.14.07.28.05 (version=SSLv3 cipher=RC4-MD5); Wed, 14 Oct 2009 07:28:08 -0700 (PDT) Message-ID: <0F1D73F06D9C4545941A7E423E53BFE8@Paullaptop> From: "Paul Edwards" To: "Ulrich Weigand" Cc: "Ian Lance Taylor" , References: <200910061401.n96E1NBC000355@d12av02.megacenter.de.ibm.com> In-Reply-To: <200910061401.n96E1NBC000355@d12av02.megacenter.de.ibm.com> Subject: Re: i370 port - constructing compile script Date: Wed, 14 Oct 2009 14:33:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-10/txt/msg00313.txt.bz2 >> > Huh. I've never seen this before. Is this with your patches to >> > generate a "single executable" or without? >> >> My patches are applied, but shouldn't be activated, because >> I haven't defined SINGLE_EXECUTABLE. >> >> I could try taking it back to raw 3.4.6 though and see if that has >> the same problem. > > Might be interesting ... Things are never that simple. :-) My target isn't in raw 3.4.6, so I had to use a different target (dignus), which worked! But dignus no longer worked with my changes. So had to get dignus working again before I could compare. I tried other shortcuts, but wasn't successful. After getting dignus working again I was able to start narrowing it down. For some reason gdb doesn't seem to be working as expected, so had to do without it. In the end, one line, long forgotten, in my target config file: #define pwait(a,b,c) (0) was what was responsible. :-) Most of my Posix replacement functions are in a separate unixio.h, which would normally be ignored in a configure/real unix environment. Not sure why this one ended up there. Anyway, after that interlude, I can finally move on to the original challenge! BFN. Paul.