tech-kern archive

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

Help needed with understanding of config(1) debug output



(I'm not sure where this should be posted, since config(1) runs in user
land but its sole purpose is to generate kernel configuration data...
Please feel free to narrow the distribution list if appropriate.)

I've got a problem where something I've changed over the last six months
(or more) on the [pgoyette-compat] branch has broken the release build
for at least ``build.sh -m algor'' port.  For some unknown reason it is
defining COMPAT_NETBSD32 in opt_compat_netbsd32.h even though the option
is not selected in the kernel definition file.

I've tried to understand the debug output from ``config -ddddd ...'' but
I simply don't understand the output.  (The output looks more like it is
intended to debug config(1) itself, and not for debugging issues with
config's input files.)  I find the following snippet in the debug output

   dependopts:326: debug: depend attr `COMPAT_NETBSD32'
   dependopts:326: debug: option selected `compat_netbsd32'
   dependopts:326: debug: depend `COMPAT_NETBSD32' searched

This seems to indicate that attribute COMPAT_NETBSD32 was previously
"needed" and therefore we need to include option `compat_netbsd32'.  But
there is no earlier mention of COMPAT_NETBSD32 in the debug output.

I could really use some help with this.  My brain just doesn't seem to
want to wrap itself around the issue.  I've looked at all the changes I
have made to various config-related files, and nothing seems related.

If you want to reproduce the problem, you can check out the branch (you
should only need src/sys).  I have also attached a gzipped copy of the
config debug output in case that helps.



+------------------+--------------------------+----------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:          |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+------------------+--------------------------+----------------------------+

Attachment: X.log.gz
Description: Binary data



Home | Main Index | Thread Index | Old Index