public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/14361] New: Sanitise CFLAGS before running autoconf-*.c tests
@ 2012-07-12 19:56 bugzilla at tecnocode dot co.uk
  2012-07-12 20:07 ` [Bug runtime/14361] " fche at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla at tecnocode dot co.uk @ 2012-07-12 19:56 UTC (permalink / raw)
  To: systemtap

http://sourceware.org/bugzilla/show_bug.cgi?id=14361

             Bug #: 14361
           Summary: Sanitise CFLAGS before running autoconf-*.c tests
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
        AssignedTo: systemtap@sourceware.org
        ReportedBy: bugzilla@tecnocode.co.uk
    Classification: Unclassified


If the user has something like -Werror in CFLAGS in their environment, and runs
stap, that -Werror flag will leak into the command line for compiling stap’s
runtime autoconf-*.c programs. It can cause compilation of the tests to fail
when it shouldn’t, which results in the user having the wrong config for
building the kernel module to run their tapset.

I’m not sure whether stap should remove the user’s CFLAGS entirely when running
the autoconf tests, or just remove obviously-bad settings like -Werror.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug runtime/14361] Sanitise CFLAGS before running autoconf-*.c tests
  2012-07-12 19:56 [Bug runtime/14361] New: Sanitise CFLAGS before running autoconf-*.c tests bugzilla at tecnocode dot co.uk
@ 2012-07-12 20:07 ` fche at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: fche at redhat dot com @ 2012-07-12 20:07 UTC (permalink / raw)
  To: systemtap

http://sourceware.org/bugzilla/show_bug.cgi?id=14361

Frank Ch. Eigler <fche at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fche at redhat dot com

--- Comment #1 from Frank Ch. Eigler <fche at redhat dot com> 2012-07-12 20:07:31 UTC ---
This could be similar to bug #14168, and clean up more kbuild-sensitive
variables.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-07-12 20:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-12 19:56 [Bug runtime/14361] New: Sanitise CFLAGS before running autoconf-*.c tests bugzilla at tecnocode dot co.uk
2012-07-12 20:07 ` [Bug runtime/14361] " fche at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).