Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1452204

Re: warning: calling ‘__builtin_return_address’ with a nonzero argument is unsafe

From Linus Torvalds <torvalds@linux-foundation.org>
Newsgroups linux.kernel
Subject Re: warning: calling ‘__builtin_return_address’ with a nonzero argument is unsafe
Date 2016-07-29 03:30 +0200
Message-ID <s04MF-63R-11@gated-at.bofh.it> (permalink)
References <rZG7D-62u-5@gated-at.bofh.it> <rZIM9-7Es-1@gated-at.bofh.it> <rZKbf-oA-1@gated-at.bofh.it> <rZKEh-AR-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Jul 27, 2016 at 8:52 PM, Steven Rostedt <rostedt@goodmis.org> wrote:
>
> I just looked at your patch. Would this work if you moved that
> KBUILD_CFLAGS to the tracing directory? Something like the below (never
> compiled or tested).

I tried something like that, but the CFLAGS games the tracing code
does made my thing result in

  kernel/trace/Makefile:20: *** Recursive variable 'KBUILD_CFLAGS'
references itself (eventually).  Stop.

but yes, if you have the magic fingers to make it work, limiting the
-Wno-frame-address to just the tracing code sounds like the
RightThing(tm).

              Linus

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

warning: calling ‘__builtin_return_address’ with a nonzero argument is unsafe Linus Torvalds <torvalds@linux-foundation.org> - 2016-07-28 01:10 +0200
  Re: warning: calling ‘__builtin_return_address’ with a nonzero argument is unsafe Steven Rostedt <rostedt@goodmis.org> - 2016-07-28 04:00 +0200
    Re: warning: calling ‘__builtin_return_address’ with a nonzero argument is unsafe Linus Torvalds <torvalds@linux-foundation.org> - 2016-07-28 05:30 +0200
      Re: warning: calling ‘__builtin_return_address’ with a nonzero argument is unsafe Steven Rostedt <rostedt@goodmis.org> - 2016-07-28 06:00 +0200
        Re: warning: calling ‘__builtin_return_address’ with a nonzero argument is unsafe Linus Torvalds <torvalds@linux-foundation.org> - 2016-07-29 03:30 +0200
          Re: warning: calling ‘__builtin_return_address’ with a nonzero argument is unsafe Steven Rostedt <rostedt@goodmis.org> - 2016-07-29 04:40 +0200
            Re: warning: calling ‘__builtin_return_address’ with a nonzero argument is unsafe Linus Torvalds <torvalds@linux-foundation.org> - 2016-08-01 20:30 +0200
            Re: warning: calling ‘__builtin_return_address’ with a nonzero argument is unsafe Steven Rostedt <rostedt@goodmis.org> - 2016-08-01 20:40 +0200
      Re: warning: calling ‘__builtin_return_address’ with a nonzero  argument is unsafe Josh Poimboeuf <jpoimboe@redhat.com> - 2016-07-28 14:50 +0200

csiph-web