mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
169b368a62
Not doing so results in ctfconvert failing with ERROR: ctfconvert: elf-vdso.so.o doesn't have type data to convert On FreeBSD this is non-fatal, since the ctf tools have a hack to make such errors not fail the build and instead just silently continue without CTF data (which is a bad idea these days and should probably be removed; they date back to the original import). However, those are under #ifdef __FreeBSD__ so do not apply when cross-building from non-FreeBSD, causing the build to fail. Fix this by forwarding DEBUG on to the compiler invocation for the VDSO wrapper. It's assembly so it's not hugely useful, but there is a non-zero amount of information preserved, and other assembly files are built with -g by default too so this matches them; the alternative would be to tag the files.amd64 entries with no-ctfmerge. Note that the VDSO itself is still compiled without debug info, this only affects the wrapper linked into the kernel. Fixes: |
||
---|---|---|
.. | ||
fdt | ||
sound | ||
acpi_quirks2h.awk | ||
amd64_ia32_vdso.sh | ||
amd64_vdso.sh | ||
arm_kernel_boothdr.awk | ||
bus_macro.sh | ||
embed_mfs.sh | ||
fw_stub.awk | ||
makeobjops.awk | ||
makesyscalls.lua | ||
miidevs2h.awk | ||
pccarddevs2h.awk | ||
sdiodevs2h.awk | ||
usbdevs2h.awk | ||
vdso_wrap.S | ||
vnode_if.awk |