Source-Changes-D archive

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

Re: CVS commit: src/sys/arch/i386/stand/lib

In article <>,
 <> wrote:
>Hi christos!
>Could you explain what makes this necessary in the commit messages in
>the future? It isn't very obvious that it fixes a build failure with
>MKREPRO for future netbsd'ers, in case it isn't restructured.
>Ideally in every commit, so it appears in a 'cvs annotate'.

Unfortunately we have many different ways of building with OBJDIRS.
Some of them add a prefix (MAKEOBJDIRPREFIX) while others add
objdirs inside the build dirs. The same way we need to have consistent
SRC directories (we map all source directories to /usr/src so that
DW_AT_name is the same no matter what NETBSDSRCDIR is) we also need
to map objdirs consistently (for example to /usr/obj for DW_AT_comp_dir).
You can look at the dwarf bits by doing readelf --debug-dump in
any .debug file.

This is not specific to any commit, it just general background
knowledge that paths embedded in binaries need to be "normalized". 


Home | Main Index | Thread Index | Old Index