Date: Thu, 9 Mar 2023 09:07:38 -0800 From: Mark Millard <marklmi@yahoo.com> To: freebsd@walstatt-de.de, Ed Maste <emaste@freebsd.org>, Current FreeBSD <freebsd-current@freebsd.org> Subject: Re: NanoBSD: CURRENT unable to compile 13-STABLE : error: a function definition without a prototype is deprecated ... in C Message-ID: <1D282079-4958-45BB-8A61-C827D6BD4B59@yahoo.com> References: <1D282079-4958-45BB-8A61-C827D6BD4B59.ref@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
FreeBSD User <freebsd_at_walstatt-de.de> wrote on Date: Thu, 09 Mar 2023 08:42:44 UTC : > Having set >=20 > WITHOUT_CROSS_COMPILER=3DYES > WITHOUT_SYSTEM_COMPILER=3DYES > WITHOUT_SYSTEM_LINKER=3DYES >=20 This is contradictory: a mix of a setting that first tells it to not build some things and then some settings telling it to build some of those same things. WITHOUT_CROSS_COMPILER Do not build any cross compiler in the cross-tools stage of buildworld. . . . When set, it enforces these options: WITHOUT_CLANG_BOOTSTRAP [Do not build the Clang C/C++ compiler during the bootstrap phase of the build.] WITHOUT_ELFTOOLCHAIN_BOOTSTRAP [Do not build ELF Tool Chain tools (addr2line, nm, size, strings and strip) as part of the bootstrap process.] WITHOUT_LLD_BOOTSTRAP [Do not build the LLD linker during the bootstrap phase of the build.] But, using Ed's new wording suggestion: WITHOUT_SYSTEM_COMPILER Build a cross-compiler during the build bootstrap phase, rather than opportunistically using the host's compiler. WITHOUT_SYSTEM_LINKER Build a cross-linker during the build bootstrap phase, rather than opportunistically using the host's linker. May be such a build attempt should abort with a message about the lack of uniformity in the criteria? Side note: > ld: error: args.o: Opaque pointers are only supported in = -opaque-pointers mode (Producer: > 'LLVM15.0.7' Reader: 'LLVM 14.0.5') cc: error: linker command failed = with exit code 1 (use -v > to see invocation) *** [gh-bc] Error code 1 seems to indicate that llvm15 was used to produce a file at some point but later llvm14 was used to process the file. =3D=3D=3D Mark Millard marklmi at yahoo.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1D282079-4958-45BB-8A61-C827D6BD4B59>