Date: Thu, 26 Sep 2019 10:48:28 -0400 From: Charlie Li <ml+freebsd@vishwin.info> To: Gleb Smirnoff <glebius@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Cc: freebsd-x11@freebsd.org Subject: Re: svn commit: r352707 - in head/sys: conf kern net sys Message-ID: <605f210b-cce2-d842-cc0c-53b76ef7dbd5@vishwin.info> In-Reply-To: <201909251826.x8PIQVUN095257@repo.freebsd.org> References: <201909251826.x8PIQVUN095257@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --hltS3znsS6Xb3kPNlMvEKK4TfIHz0Vy6b Content-Type: multipart/mixed; boundary="lxRrTeo7pDxN0g1Ka4H3Etoo9KGn7d9HJ" --lxRrTeo7pDxN0g1Ka4H3Etoo9KGn7d9HJ Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Gleb Smirnoff wrote: > Modified: head/sys/conf/options > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/sys/conf/options Wed Sep 25 18:09:19 2019 (r352706) > +++ head/sys/conf/options Wed Sep 25 18:26:31 2019 (r352707) > @@ -712,6 +712,8 @@ WITNESS_SKIPSPIN opt_witness.h > WITNESS_COUNT opt_witness.h > OPENSOLARIS_WITNESS opt_global.h > =20 > +EPOCH_TRACE opt_epoch.h > + > # options for ACPI support > ACPI_DEBUG opt_acpi.h > ACPI_MAX_TASKS opt_acpi.h >=20 > Modified: head/sys/sys/epoch.h > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/sys/sys/epoch.h Wed Sep 25 18:09:19 2019 (r352706) > +++ head/sys/sys/epoch.h Wed Sep 25 18:26:31 2019 (r352707) > @@ -41,6 +41,8 @@ typedef struct epoch_context *epoch_context_t; > #include <sys/pcpu.h> > #include <ck_epoch.h> > =20 > +#include "opt_epoch.h" > + > struct epoch; > typedef struct epoch *epoch_t; > =20 This breaks building the drm-kmod ports, as the build cannot find opt_epoch.h (drm-devel-kmod example shown, drm-current-kmod dies the exact same way): --- linux_anon_inodes.o --- cc -O2 -pipe -fno-strict-aliasing -include /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/kms-drm-dc414a9/drivers/g= pu/drm/drm_os_config.h '-DKBUILD_MODNAME=3D"linuxkpi_gplv2"' -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/wrkdirs/usr/ports/graphics/drm-devel-kmod/work/kms-drm-dc414a9/include= -I/wrkdirs/usr/ports/graphics/drm-devel-kmod/work/kms-drm-dc414a9/linuxk= pi/dummy/include -I/wrkdirs/usr/ports/graphics/drm-devel-kmod/work/kms-drm-dc414a9/linuxkp= i/gplv2/include -I/usr/src/sys/compat/linuxkpi/common/include -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=3D./machine=3D/usr/src/sys/amd64/include -fdebug-prefix-map=3D./x86=3D/usr/src/sys/x86/include -MD -MF.depend.linux_anon_inodes.o -MTlinux_anon_inodes.o -mcmodel=3Dkernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-address-of-packed-member -Wno-format-zero-length -Wno-pointer-arith -mno-aes -mno-avx -std=3Diso9899:1999 -c /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/kms-drm-dc414a9/linuxkpi/= gplv2/src/linux_anon_inodes.c -o linux_anon_inodes.o In file included from /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/kms-drm-dc414a9/linuxkpi/= gplv2/src/linux_anon_inodes.c:12: In file included from /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/kms-drm-dc414a9/linuxkpi/= gplv2/include/linux/anon_inodes.h:4: In file included from /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/kms-drm-dc414a9/linuxkpi/= gplv2/include/linux/fs.h:6: In file included from /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/kms-drm-dc414a9/linuxkpi/= gplv2/include/linux/shrinker.h:5: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/list.h:56: In file included from /usr/src/sys/net/if_var.h:83: /usr/src/sys/sys/epoch.h:44:10: fatal error: 'opt_epoch.h' file not found= #include "opt_epoch.h" ^~~~~~~~~~~~~ --- linux_anon_inodefs.o --- In file included from /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/kms-drm-dc414a9/linuxkpi/= gplv2/src/linux_anon_inodefs.c:45: In file included from /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/kms-drm-dc414a9/linuxkpi/= gplv2/include/linux/debugfs.h:18: In file included from /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/kms-drm-dc414a9/linuxkpi/= gplv2/include/linux/fs.h:6: In file included from /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/kms-drm-dc414a9/linuxkpi/= gplv2/include/linux/shrinker.h:5: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/list.h:56: In file included from /usr/src/sys/net/if_var.h:83: /usr/src/sys/sys/epoch.h:44:10: fatal error: 'opt_epoch.h' file not found= #include "opt_epoch.h" ^~~~~~~~~~~~~ --- linux_anon_inodes.o --- 1 error generated. *** [linux_anon_inodes.o] Error code 1 make[2]: stopped in /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/kms-drm-dc414a9/linuxkpi --- linux_anon_inodefs.o --- 1 error generated. *** [linux_anon_inodefs.o] Error code 1 Interestingly enough, does not happen when drm-current-kmod is built as part of buildkernel (using an existing installed package with SOURCE on).= --=20 Charlie Li =E2=80=A6nope, still don't have an exit line. (This email address is for mailing list use; replace local-part with vishwin for off-list communication if possible) --lxRrTeo7pDxN0g1Ka4H3Etoo9KGn7d9HJ-- --hltS3znsS6Xb3kPNlMvEKK4TfIHz0Vy6b Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE/3/Cqr5a+41PbEb+jnB43vIDq2wFAl2Mz8IACgkQjnB43vID q2zMGhAAri5IvcBKMQPJwKVZaqWL9jLY6s94ZNOTMVqNiH0XYGyqbPAkIsEpUePp 7ehGzP7b+aqO+UUuNDpAvGySR8vm2Z4W6Xa9xMlTQmRIPTNNpQoaWtA0yBXRimFG hxysB2IjEvqkYw3fW/PRetxE2wqMjU17HnesL/fZxmCdIgYlTXKalDW0uxCokeYZ WOp5rrKybn11tNn1PD6j3lA5k/iz9vk5XCPcSNPWe07waNlkYu3nMj09zd1tdMGW 3rZh5+L7qm5Njx78g8V/+jzc+B8zwPCe+OEwHJ9FbjdYaIU8n+rl9jjoMCRFxu8p IMTTkp/zhSN/kS9eD9QpGcQRkyfmapA8HLeQ/ZCwDkxghQILrqxWeJHuHiTHynbC F7Ebx6SOQyMgkXyJMeDLI6cEyg/dfwCSU9FKq5beOwjmJ+z3FPXyaJ7Wdawfvn/O ri353qsD9eINdzM1RYFGgaRm/ZM4rvuN/kAVTPmGeeFzS+Ia723kMCPJYhP/5C9p 0N145ZXbEAJ7VBq/PGE7bc9y8dQtOktbCgMsDHXfGQlU0BilPbgz302nChIi2USQ QEVePEknC2oAwDMvSvT3/JGovkQlG+8/P0bIx4P9oiHudxAHtfduxzFQj4irKVYa cLOXMhJwH5bPY34kGYDWN0xQBYMeaCrjKTefKj3F9heJq5dHI5Y= =PPB/ -----END PGP SIGNATURE----- --hltS3znsS6Xb3kPNlMvEKK4TfIHz0Vy6b--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?605f210b-cce2-d842-cc0c-53b76ef7dbd5>