lttng-dev.lists.lttng.org archive mirror
 help / color / mirror / Atom feed
From: MONTET Julien via lttng-dev <lttng-dev@lists.lttng.org>
To: "lttng-dev@lists.lttng.org" <lttng-dev@lists.lttng.org>
Subject: [lttng-dev] Question/Issue compilation ARMv7 of LTTng
Date: Tue, 30 Mar 2021 22:29:22 +0000	[thread overview]
Message-ID: <PR3PR02MB62022E6EDD042CC2AD58D173D17D9@PR3PR02MB6202.eurprd02.prod.outlook.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1271 bytes --]

Hello the developpers !

On my side, userspace and kernel event are working for both x86_64 and 32bits on Ubuntu 20.04.
One of my main goals is to use LTTng on an armv7 target (Raspbian 32 bits).

I am using Docker to create the environment and to compile the image (Debian 9.3).
During the compilation of RCU, I get :
#10 5.868 checking whether the C compiler works... no
#10 5.982 configure: error: in `/tmp/tmp.T2I20x25bo/userspace-rcu-0.12.2':
#10 5.983 configure: error: C compiler cannot create executables

My question is the following : Can LTTng be used directly on arm ?
https://lttng.org/docs/v2.10/#doc-instrumenting-32-bit-app-on-64-bit-system
I read again the tutorial and it seems we always need a 64-bits platform.

Find below a part of my Dockerfile (that looks like the tuto):
# LTTng RCU - 32 bits
RUN bin/sh -c 'cd $(mktemp -d)' && \
    wget https://lttng.org/files/urcu/userspace-rcu-0.12.2.tar.bz2 && \
    tar -xvf userspace-rcu-0.12.2.tar.bz2 && \
    cd userspace-rcu-0.12.2 && \
    ./configure --libdir=/usr/local/lib32 CFLAGS=-m32 && \
    make && \
    make install && \
    ldconfig

I tried to run the installation on the docker file of gcc-multilib, build-essential, wget... but it doesn't work.

Cheers,



[-- Attachment #1.2: Type: text/html, Size: 5643 bytes --]

[-- Attachment #2: Type: text/plain, Size: 156 bytes --]

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

             reply	other threads:[~2021-03-30 22:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-30 22:29 MONTET Julien via lttng-dev [this message]
2021-03-31 15:18 ` Jonathan Rajotte-Julien 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=PR3PR02MB62022E6EDD042CC2AD58D173D17D9@PR3PR02MB6202.eurprd02.prod.outlook.com \
    --to=lttng-dev@lists.lttng.org \
    --cc=julien.montet@reseau.eseo.fr \
    --subject='Re: [lttng-dev] Question/Issue compilation ARMv7 of LTTng' \
    /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

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 NNTP newsgroup(s).