Re: MKCROSSGDB=yes broken in new gdb?
Ah, I took care of gmp in the mknative case only. Let me fix it. christos > On Aug 13, 2023, at 10:09 PM, matthew green wrote: > >> I pass it in LDFLAGS=-L${GMPOBJ} > > ? this doesn't help gmp.h being missing... i don't know what is up > and for me, it works because pkgsrc gmp is installed. > > > .mrg. > >> christos >> >>> On Aug 13, 2023, at 2:41 PM, matthew green wrote: >>> >>> FWIW, when i was looking at why my build worked it seems that >>> the build is thinking it's building against the tools gmp but >>> the -I path to find it is missing, but -I/usr/pkg/include is >>> so that for me i'm getting the host gmp.h, but it's linking >>> the tools libgmp.a. signature.asc Description: Message signed with OpenPGP
re: MKCROSSGDB=yes broken in new gdb?
> I pass it in LDFLAGS=-L${GMPOBJ} ? this doesn't help gmp.h being missing... i don't know what is up and for me, it works because pkgsrc gmp is installed. .mrg. > christos > > > On Aug 13, 2023, at 2:41 PM, matthew green wrote: > > > > FWIW, when i was looking at why my build worked it seems that > > the build is thinking it's building against the tools gmp but > > the -I path to find it is missing, but -I/usr/pkg/include is > > so that for me i'm getting the host gmp.h, but it's linking > > the tools libgmp.a.
Re: MKCROSSGDB=yes broken in new gdb?
I pass it in LDFLAGS=-L${GMPOBJ} christos > On Aug 13, 2023, at 2:41 PM, matthew green wrote: > > FWIW, when i was looking at why my build worked it seems that > the build is thinking it's building against the tools gmp but > the -I path to find it is missing, but -I/usr/pkg/include is > so that for me i'm getting the host gmp.h, but it's linking > the tools libgmp.a. signature.asc Description: Message signed with OpenPGP
re: MKCROSSGDB=yes broken in new gdb?
FWIW, when i was looking at why my build worked it seems that the build is thinking it's building against the tools gmp but the -I path to find it is missing, but -I/usr/pkg/include is so that for me i'm getting the host gmp.h, but it's linking the tools libgmp.a.
MKCROSSGDB=yes broken in new gdb?
$ time nice -n +10 env -i PATH=/bin:/usr/bin ./build.sh -O ../obj.arm64 -T ../obj.arm64/tooldir -U -u -m evbarm64 -j4 -N1 -V MKCROSSGDB=yes -V MKDEBUG=yes -V USE_PIGZGZIP=yes release [...] In file included from /home/riastradh/netbsd/current/src/tools/gdb/../../external/gpl3/gdb/dist/gdb/gdbtypes.h:58:0, from /home/riastradh/netbsd/current/src/tools/gdb/../../external/gpl3/gdb/dist/gdb/symtab.h:28, from /home/riastradh/netbsd/current/src/tools/gdb/../../external/gpl3/gdb/dist/gdb/d-lang.c:21: /home/riastradh/netbsd/current/src/tools/gdb/../../external/gpl3/gdb/dist/gdb/gmp-utils.h:29:10: fatal error: gmp.h: No such file or directory #include ^~~ compilation terminated. nbgmake[1]: *** [d-lang.o] Error 1