Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: Jonathan Rajotte-Julien via lttng-dev <lttng-dev@lists.lttng.org>
To: "Zhang, Qiang" <Qiang.Zhang@windriver.com>
Cc: lttng-dev <lttng-dev@lists.lttng.org>
Subject: Re: [lttng-dev]  回复: help modpost: "__bad_cmpxchg"
Date: Thu, 7 Jan 2021 11:54:08 -0500	[thread overview]
Message-ID: <20210107165408.GC227614@joraj-alpa> (raw)
In-Reply-To: <BYAPR11MB2632B5DE22E2561F0B018909FFAF0@BYAPR11MB2632.namprd11.prod.outlook.com>

Hi,

Note
  The initial email was sent to the "owner" of the mailing list. Please
  *always* send email to the mailing list directly: lttng-dev@lists.lttng.org .
  Otherwise we will not be interested in helping you in the future.
  
Sorry forgot to ask you the following.

What is the arm CPU you are compiling against? The more details the more we can
help here.

Please provide the .config file for the kernel (via pastebin please) and the
compiler used. Mathieu Desnoyers (CompuDJ) might have a lead regarding cmpxchg
and __bad_cmpxchg linker error trick used by the implementation and the
optimized inlining config option (CONFIG_OPTIMIZE_INLINING).

These should help us validate this lead.

Cheers

On Thu, Jan 07, 2021 at 01:20:54AM +0000, Zhang, Qiang wrote:
> 
> 
> ________________________________________
> 发件人: Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com>
> 发送时间: 2021年1月6日 23:03
> 收件人: Zhang, Qiang
> 抄送: lttng-dev-owner@lists.lttng.org
> 主题: Re: help modpost: "__bad_cmpxchg"
> 
> [Please note this e-mail is from an EXTERNAL e-mail address]
> 
> >Hi,
> >
> >What the kernel version are you compiling against?
> 
> 
>    kernel version 5.10.2
>    lttng-modules master branch commit :
>    61e631e93e512b636ea6d52796bcce1c485a551b
> 
>     Cheers
>    
> >
> >Cheers
> >
> >On Wed, Jan 06, 2021 at 05:20:06AM +0000, Zhang, Qiang wrote:
> >
> >
> > The following error occurred when I compiled lttng modules under armv7 architecture
> >
> > ERROR: modpost: "__bad_cmpxchg" [/buildarea1/OnDemand_CI_Build_World/build_dir/12251727-build_world/xilinx-zynq-standard-std-OE/build/tmp-glibc/work/xilinx_zynq-wrs-linux-gnueabi/lttng-modules/2.12.3+gitAUTOINC+61e631e93e-r0/git/src/lttng-counter-client-percpu-64-modular.ko] undefined!
> >
> > ERROR: modpost: "__bad_cmpxchg" [/buildarea1/OnDemand_CI_Build_World/build_dir/12251727-build_world/xilinx-zynq-standard-std-OE/build/tmp-glibc/work/xilinx_zynq-wrs-linux-gnueabi/lttng-modules/2.12.3+gitAUTOINC+61e631e93e-r0/git/src/lttng-counter-client-percpu-32-modular.ko] undefined!
> >
> > I find  under the condition of
> >
> > COUNTER_SIZE_32_BIT,  cmpxchg_local  function trigger error in counter-api.h file.
> >
> > is cmpxchg_local is support in amv7?
> 
> --
> Jonathan Rajotte-Julien
> EfficiOS

-- 
Jonathan Rajotte-Julien
EfficiOS
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

       reply	other threads:[~2021-01-07 16:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <BYAPR11MB263254ABB57F458031AB33DBFFD50@BYAPR11MB2632.namprd11.prod.outlook.com>
     [not found] ` <BYAPR11MB2632B3DA9B535943CEE08A73FFD00@BYAPR11MB2632.namprd11.prod.outlook.com>
     [not found]   ` <20210106150309.GA227614@joraj-alpa>
     [not found]     ` <BYAPR11MB2632B5DE22E2561F0B018909FFAF0@BYAPR11MB2632.namprd11.prod.outlook.com>
2021-01-07 16:54       ` Jonathan Rajotte-Julien via lttng-dev [this message]
2021-01-09  5:40         ` [lttng-dev] 回复: " Zhang, Qiang via lttng-dev
2021-01-13  6:03           ` Zhang, Qiang via lttng-dev
2021-01-15 19:18           ` Jonathan Rajotte-Julien via lttng-dev
2021-01-18  2:04             ` [lttng-dev] 回复: " Zhang, Qiang via lttng-dev
2021-01-19 16:40               ` Mathieu Desnoyers via lttng-dev

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=20210107165408.GC227614@joraj-alpa \
    --to=lttng-dev@lists.lttng.org \
    --cc=Qiang.Zhang@windriver.com \
    --cc=jonathan.rajotte-julien@efficios.com \
    /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