From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] host-mariadb: add host-openssl dependency
Date: Thu, 27 Jul 2017 17:10:43 +0200 [thread overview]
Message-ID: <20170727171043.076dd40d@windsurf.lan> (raw)
In-Reply-To: <20170727133548.30285-1-aduskett@gmail.com>
Hello,
On Thu, 27 Jul 2017 09:35:48 -0400, Adam Duskett wrote:
> On Fedora26, openssl 1.1.x is included by default. This causes build errors
> when building the host variant of mariadb. Adding host-openssl as a dependency
> fixes this issue.
>
> Signed-off-by: Adam Duskett <aduskett@gmail.com>
I don't think this is the correct fix. Indeed, host-mariadb builds just
fine on a system where the OpenSSL headers/development files are *NOT*
installed.
This means that host-mariadb does not require host-openssl, but uses
OpenSSL if available. So the proper solution is to pass some option at
configure time to tell host-mariadb to not attempt to use OpenSSL.
Indeed, we are not really interested in having OpenSSL support in
host-mariadb.
It apparently needs an SSL implementation, but has a small bundled one
based on yassl. Can you try:
HOST_MARIADB_CONF_OPTS += -DWITH_SSL=bundled
and see if it fixes the problem for you ?
You can try to compare the build time of host-mariadb + host-openssl
vs. host-maria-db + bundled SSL.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
next prev parent reply other threads:[~2017-07-27 15:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-27 13:35 [Buildroot] [PATCH 1/1] host-mariadb: add host-openssl dependency Adam Duskett
2017-07-27 14:10 ` Ryan Coe
2017-07-27 15:10 ` Thomas Petazzoni [this message]
2017-07-27 22:34 ` Adam Duskett
2017-07-28 6:14 ` Thomas Petazzoni
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=20170727171043.076dd40d@windsurf.lan \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/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