From: Norbert Lange via lttng-dev <lttng-dev@lists.lttng.org>
To: lttng-dev <lttng-dev@lists.lttng.org>
Subject: [lttng-dev] 2.13-rc2 fails to build with buildroot crosscompiler
Date: Thu, 20 May 2021 15:52:27 +0200 [thread overview]
Message-ID: <CADYdroPf5mcRMvfewsT6SQsWG0RKg6GcV8=T8BupxbooHT2=aA@mail.gmail.com> (raw)
Hello,
many tests fail to build, apparently because transitive dependencies
are not found.
I managed to patch out building the test sub-directory, at which
points the errors are gone,
I dont know how to fix it with automake, seems like
/tmp/ZBuild/build/lttng-libust-2.13.0-rc2/src/lib/lttng-ust/.libs
should be added to library search paths.
Norbert
bin/bash ../../../../libtool --tag=CC --mode=link
/tmp/ZBuild/host/bin/x86_64-linux-gnu-gcc -Werror=old-style-definition
-DLTTNG_UST_COMPAT_API_VERSION=1 -fno-strict-aliasing -Wall -Wextra
-Wmissing-prototypes -Wmissing-declarations -Wnull-dereference -Wundef
-Wshadow -Wjump-misses-init -Wsuggest-attribute=format
-Wnested-externs -Wwrite-strings -Wformat=2 -Wstrict-aliasing
-Wmissing-noreturn -Winit-self -Wduplicated-cond -Wduplicated-branches
-Wlogical-op -Wno-sign-compare -Wno-missing-field-initializers
-Wno-null-dereference -Wold-style-definition -Wstrict-prototypes
-pthread -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -o
ust-fields-compatapi1 ust_fields_compatapi1-ust-fields.o
ust_fields_compatapi1-tp.o
../../../../src/lib/lttng-ust/liblttng-ust.la -ldl
libtool: link: /tmp/ZBuild/host/bin/x86_64-linux-gnu-gcc
-Werror=old-style-definition -DLTTNG_UST_COMPAT_API_VERSION=1
-fno-strict-aliasing -Wall -Wextra -Wmissing-prototypes
-Wmissing-declarations -Wnull-dereference -Wundef -Wshadow
-Wjump-misses-init -Wsuggest-attribute=format -Wnested-externs
-Wwrite-strings -Wformat=2 -Wstrict-aliasing -Wmissing-noreturn
-Winit-self -Wduplicated-cond -Wduplicated-branches -Wlogical-op
-Wno-sign-compare -Wno-missing-field-initializers
-Wno-null-dereference -Wold-style-definition -Wstrict-prototypes
-pthread -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -o
ust-fields-compatapi1 ust_fields_compatapi1-ust-fields.o
ust_fields_compatapi1-tp.o
../../../../src/lib/lttng-ust/.libs/liblttng-ust.so -ldl -pthread
-Wl,-rpath -Wl,/tmp/ZBuild/build/lttng-libust-2.13.0-rc2/src/lib/lttng-ust/.libs
x86_64-linux-gnu/bin/ld: warning: liblttng-ust-common.so.1, needed by
../../../src/lib/lttng-ust/.libs/liblttng-ust.so, not found (try using
-rpath or -rpath-link)
x86_64-linux-gnu/bin/ld: warning: liblttng-ust-tracepoint.so.1, needed
by ../../../src/lib/lttng-ust/.libs/liblttng-ust.so, not found (try
using -rpath or -rpath-link)
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
next reply other threads:[~2021-05-20 13:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-20 13:52 Norbert Lange via lttng-dev [this message]
2021-05-20 14:37 ` [lttng-dev] 2.13-rc2 fails to build with buildroot crosscompiler Michael Jeanson via lttng-dev
2021-05-20 16:40 ` Norbert Lange 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='CADYdroPf5mcRMvfewsT6SQsWG0RKg6GcV8=T8BupxbooHT2=aA@mail.gmail.com' \
--to=lttng-dev@lists.lttng.org \
--cc=nolange79@gmail.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;
as well as URLs for NNTP newsgroup(s).