[TUHS] Debugging help sought
imp at bsdimp.com
Fri Aug 7 15:49:44 AEST 2020
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.
On Thu, Aug 6, 2020, 10:30 PM Adam Thornton <athornton at gmail.com> 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.
> On Thu, Aug 6, 2020 at 5:35 PM Warner Losh <imp at bsdimp.com> wrote:
>> On Thu, Aug 6, 2020, 9:48 AM Paul Winalski <paul.winalski at gmail.com>
>>> On 8/5/20, Adam Thornton <athornton at gmail.com> 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...
>>> -Paul W.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the TUHS