From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HTML_MESSAGE,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 29477 invoked from network); 7 Aug 2020 05:50:45 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 7 Aug 2020 05:50:45 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id E05539CAAF; Fri, 7 Aug 2020 15:50:43 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 021A79C1CE; Fri, 7 Aug 2020 15:50:02 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=bsdimp-com.20150623.gappssmtp.com header.i=@bsdimp-com.20150623.gappssmtp.com header.b="tZQM6dYK"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 3F02D9C1CE; Fri, 7 Aug 2020 15:49:59 +1000 (AEST) Received: from mail-qt1-f171.google.com (mail-qt1-f171.google.com [209.85.160.171]) by minnie.tuhs.org (Postfix) with ESMTPS id 39F7A9C1C7 for ; Fri, 7 Aug 2020 15:49:58 +1000 (AEST) Received: by mail-qt1-f171.google.com with SMTP id v22so514255qtq.8 for ; Thu, 06 Aug 2020 22:49:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=eClVmmtwW5fyJhn3Xnh83WXncnO1xtZSmAIRNR0RX3M=; b=tZQM6dYKXJ5AwNrwF7WdyuO3UPUZTst09izoidPQgz2aPzoZDvrPasIlrCgKiDNHFg W0ZJfWhEjlUJ1L81kEf4APM+ynQJuCvbPZyxUDINkl+odkHjMafShZcE/7G12bFUO//C UaehCXYKoTy5uQvxnrgxOGFZir3syGuN1N4o9lapw8fUaEEAcY6dxYYke9deuo7+BSyl vvraMPFCCcYfwDCH9sAPTvRKdOit1nDUuFVaTjNtW34LhUuO5sAaFi/JOfefoU6fmJvs o3wSuM1xD/lvITBXOzMZES49JmwDEedUDy3D/ZUtqJlrj/NcXkCrvcsv3OyvoBbc142r NzuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=eClVmmtwW5fyJhn3Xnh83WXncnO1xtZSmAIRNR0RX3M=; b=MlQwiahTpXHOPl9GZRgYGPh134HxW4sXi5r+qiv95TGFuR28MgOJRFx80/fEhDTZE5 usNOh2rb6132u7hE9Ix9o4mmglUfTzFMu9T1XllCfhXCUMFpZnE8XPO7Au6gj5LI/omM OjX+MTBMyHnEO1ksg79XNU7Qf6nnxdtQ9H8N9HLhllHvsuYYin0SYWiapbogi7JxDL1c LQV56NxifsA8BejdiArZwsy3n55lqiDwtx1zZIbxU7ky5Vf4WYySWtjF2h6Dne0JFiH0 UcwYnMMQalq41gSW6do/lsDF6OJj0gmAwm53cxzzFt6uHoy2kyWrxPdgq662+LOut1WZ o+MA== X-Gm-Message-State: AOAM533kWsLm7uvYuvtGkPUv42ns3+8JVprebxkKdBhRdLpV9Vf64wlz EyMMEWhUZtBjOa9L4t8Ta6g9uHTlc1YjtAwNxnWoTg== X-Google-Smtp-Source: ABdhPJzyVkUeapGRWeQqNQWfzq5TCnxU35+q3KX61KAZdn35uq+8NW3vybgeiu4qJ6Izns4yyXmMo5Mf4Ghgok7LRPw= X-Received: by 2002:ac8:50a:: with SMTP id u10mr12517281qtg.175.1596779396831; Thu, 06 Aug 2020 22:49:56 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Thu, 6 Aug 2020 23:49:44 -0600 Message-ID: To: Adam Thornton Content-Type: multipart/alternative; boundary="000000000000bbb67b05ac432ca2" Subject: Re: [TUHS] Debugging help sought X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: The Eunuchs Hysterical Society Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" --000000000000bbb67b05ac432ca2 Content-Type: text/plain; charset="UTF-8" It's likely too many. Ld used to have lots of fixed sized arrays... I had to hack on the 2.10.1BSD to change supported ar formats and noticed. Also had to tweak some of the constants to get something much bigger compiling. The BSD ld had overlay suppot merged into it, but was otherwise quite similar to V7, though I've not done a deep dive into ld from v7... Tl;dr: chances are good more, smaller files will work. Warner On Thu, Aug 6, 2020, 10:30 PM Adam Thornton wrote: > So maybe I missed a symbol when I was trying to make everything unique in > 8 chars? There are no external symbols; all that's in my forth.h are > macros and typedefs. > > Adam > > On Thu, Aug 6, 2020 at 5:35 PM Warner Losh wrote: > >> >> >> On Thu, Aug 6, 2020, 9:48 AM Paul Winalski >> wrote: >> >>> On 8/5/20, Adam Thornton wrote: >>> > >>> > $ cc -o 4th forth.c >>> > ld:forth.o: Local symbol botch >>> >>> I hate error messages like that. Would it have been that much extra >>> trouble for ld to tell you which symbol caused the problem? >>> >> >> It's a relocation entry it can't find a symbol for that's the issue... >> >> Warner >> >>> -Paul W. >>> >> --000000000000bbb67b05ac432ca2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
It's likely too many. Ld used to have lots of fixed s= ized arrays... I had to hack on the 2.10.1BSD to change supported ar format= s and noticed. Also had to tweak some of the constants to get something muc= h bigger compiling.=C2=A0 The BSD ld had overlay suppot merged into it, but= was otherwise quite similar to V7, though I've not done a deep dive in= to ld from v7...=C2=A0

Tl;dr: = chances are good more, smaller files will work.

Warner

<= div class=3D"gmail_quote">
On Thu, Aug= 6, 2020, 10:30 PM Adam Thornton <athornton@gmail.com> wrote:
So maybe I missed a symbol when I was trying to make= everything unique in 8 chars?=C2=A0 There are no external symbols; all tha= t's in my forth.h are macros and typedefs.

Ada= m

On Thu, Aug 6, 2020 at 5:35 PM Warner Losh <imp@bsdimp.com>= ; wrote:


On Thu, Aug 6, 2020, 9:48 AM Paul Winalski <paul.wi= nalski@gmail.com> wrote:
On 8/5/20, Adam Thornton <athornton@gmail.co= m> wrote:
>
> $ cc -o 4th forth.c
> ld:forth.o: Local symbol botch

I hate error messages like that.=C2=A0 Would it have been that much extra trouble for ld to tell you which symbol caused the problem?

It's a reloc= ation entry it can't find a symbol for that's the issue...

Warner=C2=A0
-Paul W.
--000000000000bbb67b05ac432ca2--