NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Emacs 31.0.91's `configure' does not find libgccjit on NetBSD 11
Thanks for the detailed analysis. I have been able to fill in my
knowledge gap and have successfully built the pretest Emacs-31 binary.
I will in future trouble the pkgsrc list with this sort of issue.
Robert Elz <kre%munnari.OZ.AU@localhost> writes:
>
> 'LDFLAGS=-Wl,-R/usr/pkg/gcc14/lib
> -Wl,-zrelro
> -L/usr/pkg/lib
> -L/usr/lib
> -Wl,-R/usr/lib
> -Wl,-R/usr/pkg/lib
> -L/usr/X11R7/lib
> -Wl,-R/usr/X11R7/lib'
>
> And there is the problem. The first line there sets the run time
> path (where an executing binary will look for the library at run
> time), but nowhere is the linker told to look anywhere in
> /usr/pkg/gcc14/lib when it is linking the application.
>
> On some systems, one implies the other, on NetBSD it does not, as
> doing that makes cross building much harder.
>
> Hence, library not found.
>
> This is why this is a pkgsrc issue - something needs to cause
> a "-L/usr/pkg/gcc14/lib" term to be added in there, but I have
> no idea what is supposed to make that happen - maybe upstream
> (so a patch might ne needed) maybe the libgccjit package is
> broken, its buildlink should be doing that, and isn't, or maybe
> this is something you're supposed to do when making the pkgsrc
> package for the new version.
>
> I have no idea, ask on a pkgsrc list. It has nothing at all to
> do with netbsd-11 (as distinct from any other version)
>
> kre
>
>
--
vl
Home |
Main Index |
Thread Index |
Old Index