From: Valdis Kletnieks <Valdis.Kletnieks@vt.edu>
To: Rusty Russell <rusty@rustcorp.com.au>,
David Howells <dhowells@redhat.com>
Cc: linux-kernel@vger.kernel.org
Subject: CONFIG_MODULE_SIG breaks out-of-tree modules in modpost.
Date: Fri, 12 Oct 2012 21:04:45 -0400 [thread overview]
Message-ID: <6862.1350090285@turing-police.cc.vt.edu> (raw)
[-- Attachment #1: Type: text/plain, Size: 1427 bytes --]
For starters, yes, I *do* understand the security issues involved, and
no, I *don't* want to hear about NVidia evilness, because this looks like
a modpost problem not an NVidia problem.
I built next-20121011 with CONFIG_MODULE_SIG=y, and MODULE_SIG_FORCE=n,
so that I could test the feature, and just accept that the nvidia module was going
to hand me 2 taints instead of one.
But then, building the NVidia module a wondrous thing happened, and it threw a
most inexplicable error:
cp /usr/src/valdis/NVIDIA-Linux-x86_64-304.51/kernel/nvidia.ko.unsigned /usr/src/valdis/NVIDIA-Linux-x86_64-304.51/kernel/nvidia.ko.stripped && strip -x -g /usr/src/valdis/NVIDIA-Linux-x86_64-304.51/kernel/nvidia.ko.stripped && /usr/bin/eu-strip /usr/src/valdis/NVIDIA-Linux-x86_64-304.51/kernel/nvidia.ko.stripped
/bin/sh: -c: line 0: syntax error near unexpected token `;'
/bin/sh: -c: line 0: `set -e; ; echo 'cmd_/usr/src/valdis/NVIDIA-Linux-x86_64-304.51/kernel/nvidia.ko := ' > /usr/src/valdis/NVIDIA-Linux-x86_64-304.51/kernel/.nvidia.ko.cmd'
Looks like somebody left a $(FOO) unset between the 2 ';' characters. I wasn't
able to follow the way scripts/Makefile.modpost worked well enough to figure out
where that line gets built, there's way too many 'set -e' in the scripts/ tree.
Building with MODULE_SIG=n made it build just fine.
This *MAY* be related to this RedHat bug: https://bugzilla.redhat.com/show_bug.cgi?id=655231
[-- Attachment #2: Type: application/pgp-signature, Size: 865 bytes --]
next reply other threads:[~2012-10-13 1:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-13 1:04 Valdis Kletnieks [this message]
2012-10-15 12:19 ` David Howells
2012-10-18 10:22 ` Wei Yongjun
2012-10-18 10:57 ` Stefan Knoblich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6862.1350090285@turing-police.cc.vt.edu \
--to=valdis.kletnieks@vt.edu \
--cc=dhowells@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rusty@rustcorp.com.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®