This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]