[Bug runtime/14361] New: Sanitise CFLAGS before running autoconf-*.c tests

bugzilla at tecnocode dot co.uk sourceware-bugzilla@sourceware.org
Thu Jul 12 19:56:00 GMT 2012


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.



More information about the Systemtap mailing list