Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1422407
| From | Emese Revfy <re.emese@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v9 3/4] Add Cyclomatic complexity GCC plugin |
| Date | 2016-06-15 00:30 +0200 |
| Message-ID | <rK50m-2si-19@gated-at.bofh.it> (permalink) |
| References | <rC6cV-39y-15@gated-at.bofh.it> <rC6cV-39y-17@gated-at.bofh.it> <rK2lQ-Kt-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, 14 Jun 2016 12:29:59 -0700 Laura Abbott <labbott@redhat.com> wrote: > This has some weird interaction with ftrace. On x86 > > 1) make mrproper > 2) make defconfig > 3) enable GCC_PLUGINS, GCC_PLUGIN_CYC_COMPLEXITY > 4) enable FUNCTION_TRACER (it will select other options as well) > 5) make && make modules > > MODPOST 18 modules > ERROR: "__fentry__" [net/netfilter/xt_nat.ko] undefined! > ERROR: "__fentry__" [net/netfilter/xt_mark.ko] undefined! > ERROR: "__fentry__" [net/netfilter/xt_addrtype.ko] undefined! > ERROR: "__fentry__" [net/netfilter/xt_LOG.ko] undefined! > ERROR: "__fentry__" [net/netfilter/nf_nat_sip.ko] undefined! > ERROR: "__fentry__" [net/netfilter/nf_nat_irc.ko] undefined! > ERROR: "__fentry__" [net/netfilter/nf_nat_ftp.ko] undefined! > ERROR: "__fentry__" [net/netfilter/nf_nat.ko] undefined! > ERROR: "__fentry__" [net/netfilter/nf_log_common.ko] undefined! > ERROR: "__fentry__" [net/ipv6/netfilter/nf_log_ipv6.ko] undefined! > ERROR: "__fentry__" [net/ipv4/netfilter/nf_nat_masquerade_ipv4.ko] undefined! > ERROR: "__fentry__" [net/ipv4/netfilter/nf_nat_ipv4.ko] undefined! > ERROR: "__fentry__" [net/ipv4/netfilter/nf_log_ipv4.ko] undefined! > ERROR: "__fentry__" [net/ipv4/netfilter/nf_log_arp.ko] undefined! > ERROR: "__fentry__" [net/ipv4/netfilter/iptable_nat.ko] undefined! > ERROR: "__fentry__" [net/ipv4/netfilter/ipt_MASQUERADE.ko] undefined! > ERROR: "__fentry__" [fs/efivarfs/efivarfs.ko] undefined! > ERROR: "__fentry__" [drivers/thermal/x86_pkg_temp_thermal.ko] undefined! > scripts/Makefile.modpost:91: recipe for target '__modpost' failed > make[1]: *** [__modpost] Error 1 > > Verified with gcc-5.3.1 and gcc-6.1.1. You need to do a clean build > with 'make mrproper' first to see this. Subsequent builds will > succeed oddly enough. I suspect this Thanks for the report, I'm looking into it. -- Emese
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH v9 3/4] Add Cyclomatic complexity GCC plugin Laura Abbott <labbott@redhat.com> - 2016-06-14 21:40 +0200
Re: [PATCH v9 3/4] Add Cyclomatic complexity GCC plugin Emese Revfy <re.emese@gmail.com> - 2016-06-15 00:30 +0200
Re: [PATCH v9 3/4] Add Cyclomatic complexity GCC plugin Emese Revfy <re.emese@gmail.com> - 2016-06-15 22:50 +0200
Re: [PATCH v9 3/4] Add Cyclomatic complexity GCC plugin Kees Cook <keescook@chromium.org> - 2016-06-16 00:50 +0200
csiph-web