Tarantool development patches archive
 help / color / mirror / Atom feed
From: Georgy Kirichenko <georgy@tarantool.org>
To: Alexander Turenko <alexander.turenko@tarantool.org>
Cc: tarantool-patches@freelists.org
Subject: [tarantool-patches] Re: [PATCH v3] Tarantool static build ability
Date: Wed, 29 Aug 2018 09:07:27 +0300	[thread overview]
Message-ID: <2016958.MVsY5zT6Ff@home.lan> (raw)
In-Reply-To: <20180829012547.r6nepf4uomq272f2@tkn_work_nb>

[-- Attachment #1: Type: text/plain, Size: 2093 bytes --]

On Wednesday, August 29, 2018 4:25:47 AM MSK Alexander Turenko wrote:
I sent fixed branch and a message.
Please look on my comments inline
> Hi, Georgy!
> 
> I have minor notes on the code and some experimenting results. Please,
> especially consider attempt to use docker at end of the email.
> 
> I don't think I can add more value on the next review rounds, so,
> please, proceed with the next reviewer (I guess Kirill Yu.) if the
> process allows it.
> 
> WBR, Alexander Turenko.
> 
> ---- Updates ----
> 
> Included cmake file has the same line at the line 374 (fixed in the our
> repo, of cource, see the first review, where I show the diff).
Fixed

> Are not pthread should follows gomp? nm reports undefined static symbols
> starts with 'pthread_' in libgomp.a.
Fixed

> libcurl.a can be linked with other libraries (nghttp2 at least) and we
> possibly should take care of it to perform static build successfully on
Fixed

> CURSES_CURSES_LIBRARY is not used.
> CURSES_NCURSES_LIBRARY is not used.
> CURSES_FORM_LIBRARY is not used.
> 
> I don't get the point of this block (except placing libtinfo.a into deps if
> it is present). Please, clarify it or remove the dead code.
This variables are used by FindCurses module internally. We could set it to 
the libraries we want and FindCurses wouldn't locate dynamic versions for that 
libraries while execution.

> 
> > +if(BUILD_STATIC)
> > +    # Static linking for c++ routines
> > +    add_compile_flags("C;CXX" "-static-libgcc" "-static-libstdc++")
> > +endif()
> > +
> 
Fixed we can't remove libgcc from dynamic dependencies

> You are use `generic_libraries` variable for pthread and dl below. Maybe
> set the variable above and use it here too?
Fixed

> Note: Z_LIBRARY is not used below.
Fixed, Z_LIBRARY is now OPENSSL_LIBRARIES member

> This hunk cannot be applied automatically on top of the current 1.10,
> because of adding ${ICONV_LIBRARIES} in dcac64af. Can you please rebase
> on top of 1.10? The rest are applied successfully.
Fixed

> You have ${generic_libraries} added at end of core.a target, but here it is
Fixed

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

      reply	other threads:[~2018-08-29  6:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-28 20:06 [tarantool-patches] " Georgy Kirichenko
2018-08-29  1:25 ` [tarantool-patches] " Alexander Turenko
2018-08-29  6:07   ` Georgy Kirichenko [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=2016958.MVsY5zT6Ff@home.lan \
    --to=georgy@tarantool.org \
    --cc=alexander.turenko@tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --subject='[tarantool-patches] Re: [PATCH v3] Tarantool static build ability' \
    /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