From: Kirill Yukhin <kyukhin@tarantool.org>
To: HustonMmmavr <huston.mavr@gmail.com>
Cc: tarantool-patches@dev.tarantool.org, alexander.turenko@tarantool.org
Subject: Re: [Tarantool-patches] [PATCH] static build: fix build on ubuntu
Date: Wed, 10 Jun 2020 12:20:52 +0300 [thread overview]
Message-ID: <20200610092052.624uezv4ebqx7j3k@tarantool.org> (raw)
In-Reply-To: <20200526151747.93659-1-huston.mavr@gmail.com>
Hello,
On 26 май 18:17, HustonMmmavr wrote:
> Fixed static build with '-DBUILD_STATIC=ON' option:
>
> * Added cmake option CMAKE_DL_LIBS to icu library for
> test/unit tests binaries builds at file:
> cmake/FindICU.cmake
> due to fail:
> [ 84%] Linking CXX executable vy_point_lookup.test
> /usr/local/lib/libicuuc.a(putil.ao): In function `uprv_dl_open_62':
> putil.cpp:(.text+0x1a22): undefined reference to `dlopen'
> /usr/local/lib/libicuuc.a(putil.ao): In function `uprv_dlsym_func_62':
> putil.cpp:(.text+0x1a7d): undefined reference to `dlsym'
> /usr/local/lib/libicuuc.a(putil.ao): In function `uprv_dl_close_62':
> putil.cpp:(.text+0x1a61): undefined reference to `dlclose'
> collect2: error: ld returned 1 exit status
>
> * Added cmake option CMAKE_DL_LIBS to gomp library for
> test/unit tests binaries builds at file:
> cmake/BuildMisc.cmake
> due to fail:
> [ 91%] Linking CXX executable bps_tree.test
> /usr/lib/gcc/x86_64-linux-gnu/7/libgomp.a(target.o): In function `gomp_target_init':
> (.text+0x8b): undefined reference to `dlopen'
> (.text+0xa2): undefined reference to `dlsym'
> (.text+0xd9): undefined reference to `dlclose'
> (.text+0x29b): undefined reference to `dlsym'
> (.text+0x2a8): undefined reference to `dlerror'
> (.text+0x2d0): undefined reference to `dlsym'
> (.text+0x2e9): undefined reference to `dlsym'
> (.text+0x300): undefined reference to `dlsym'
> (.text+0x317): undefined reference to `dlsym'
> (.text+0x330): undefined reference to `dlsym'
> /usr/lib/gcc/x86_64-linux-gnu/7/libgomp.a(target.o):(.text+0x34d): more undefined references to `dlsym' follow
> /usr/lib/gcc/x86_64-linux-gnu/7/libgomp.a(target.o): In function `gomp_target_init':
> (.text+0x9cc): undefined reference to `dlerror'
> collect2: error: ld returned 1 exit status
>
> Close #5024
> ---
> Issue: https://github.com/tarantool/tarantool/issues/5024
> Branch: https://github.com/tarantool/tarantool/tree/HustonMmmavr/gh-5024-static-build-ubuntu
I've checked your patch into 1.10, 2.3, 2.4 and master.
--
Regards, Kirill Yukhin
prev parent reply other threads:[~2020-06-10 9:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-26 15:17 HustonMmmavr
2020-06-09 16:33 ` Alexander Turenko
2020-06-10 8:24 ` Mavr Huston
2020-06-10 9:20 ` Kirill Yukhin [this message]
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=20200610092052.624uezv4ebqx7j3k@tarantool.org \
--to=kyukhin@tarantool.org \
--cc=alexander.turenko@tarantool.org \
--cc=huston.mavr@gmail.com \
--cc=tarantool-patches@dev.tarantool.org \
--subject='Re: [Tarantool-patches] [PATCH] static build: fix build on ubuntu' \
/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