tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: editors/emacs29 and gcc14-libjit default option breakage



Am Tue, 29 Apr 2025 13:47:53 +0200
schrieb Thomas Klausner <wiz%gatalith.at@localhost>:

> I've just changed the option to default to off except on NetBSD.

Thanks. Sometimes NetBSD is just quicker to adopt bleeding edge
features of GNU software;-)

> > Did you intentionally decide against --enable-host-shared?  
> 
> I'm not sure what you are talking about.
> /usr/pkgsrc/lang/gcc14-libjit> grep host *
> Makefile:CONFIGURE_ARGS+=       --enable-host-shared

The forced CFLAGS+=-fPIC confuses me. I though that's a measure to the
same effect. I wonder if --disable-multilib should be there or not.

> I do have the gcc14 package installed, so

My expectation would be that this fixes a lot.

> And of course there are the files in /usr/lib:
> /usr/lib/crt0.o
> /usr/lib/crtbegin.o
> /usr/lib/crtbeginS.o

Whoa! This explains that those are found for you. On Linux, these files
are hidden in private gcc directories, as with the separate
/usr/pkg/gccXX/. Still leaves me to wonder if combinding whatever
version of gcc is in base with gccXX-libjit is right.

> The conftest command line when building emacs29:
> doesn't seem to refer to any particular location.

It doesn't have to. Mind that I observe only linking failure on
_running_ the conftest program, where it utilizes libgccjit to invoke a
linker. But with the libs in /usr/lib/, it'll find them.

> I must confess you provided a lot of details,

I tend to do that. Maybe something to read later if you have trouble
going to sleep;-)


Alrighty then,

Thomas

-- 
Dr. Thomas Orgis
HPC @ Universität Hamburg


Home | Main Index | Thread Index | Old Index