On Thu, May 27, 2021 at 9:50 AM Roland Hieber <[email protected]> wrote:

> On Thu, May 27, 2021 at 09:45:04AM -0400, Jon Ringle wrote:
> > I'm in the process of updating our bsp to 2021.05.0, and I'm running into
> > this problem and I'm not sure how to fix this...
> >
> > /usr/local/lib/ptxdist-2021.05.1_GP/rules/gdbserver.make:18: ***
> > SHARED_GDB_VERSION is undefined or empty.  Stop.
> >
> > I see that it gets defined in gdb.make:
> > SHARED_GDB_VERSION   := $(call ptx/get-kconfig, $(TOOLCHAIN_CONFIG),
> > PTXCONF_CROSS_GDB_VERSION)
> >
> > Not sure what to check here. Is this missing from my toolchain config?
>
> I ran into this yesterday, and the problem in my case was that I had
> bisected over a commit that updated the toolchain in the platformconfig,
> but the selected_toolchain symlink still pointed to the old toolchain.
> Removing the symlink got rid of the issue. Sadly I didn't manage to
> recreate this situation, or I would have tried a patch, but maybe this
> helps you already…
>
>
Thanks. I temporarily disabled building gdbserver to get around this issue.
I then ran into another problem later, and discovered that my ~/.ccache was
owned by root and causing perm issues. I fixed that and then
reenabled build of gdbserver, and that seems to have fixed the issue above.

-Jon
_______________________________________________
ptxdist mailing list
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to 
[email protected]

Reply via email to