Skip site navigation (1)Skip section navigation (2)


| raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279530

            Bug ID: 279530
           Summary: Improved Build Option/src.conf Dependency Support
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: editor@callfortesting.org

It is above my pay grade to say if this is a bug or feature request.

FreeBSD build options have a limited notion of dependency warning, notably =
if
you enter a src-env.conf entry in src.conf, you quickly receive the
notification:

make: "/usr/src/share/mk/src.sys.mk" line 27: Option <BUILD OPTION> may onl=
y be
defined in /etc/src-env.conf, environment, or make argument, not
<path>/src.conf.

This is an appreciated time saver.

Options such as WITHOUT_SYSTEM_LINKER include dependency information in
src.conf(5) such as, "This option is only relevant when WITH_LLD_BOOTSTRAP =
is
set.". However, it fails without a warning, and the src.conf(5) entry for
WITH_LLD_BOOTSTRAP reports, "To be able to build the system an alternate li=
nker
must be provided via XLD.".

Having those as machine-mandated rather than manual-mandated dependencies w=
ould
be very helpful and time saving when validating the build options. It would=
 be
nice if attempting to build with one minus the other would simply give the
information in the manual page and exit, rather than continue for minutes or
hours, and return an error, which can be particularly confusing when built =
in
parallel.

Related, example syntax of "an alternative linker" would make the informati=
on
more actionable.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?>