From: Marius Bakke <mbakke@fastmail.com>
To: tsmish <tsymsh@gmail.com>, 41246-done@debbugs.gnu.org
Subject: bug#41246: freehdl fails to build
Date: Thu, 14 May 2020 00:23:52 +0200 [thread overview]
Message-ID: <87h7wjv5hj.fsf@devup.no> (raw)
In-Reply-To: <CAMaATaPyy+7wJqVHzNuKTUOk5wjuOTUzt_9oHXpVs4Dbwpu-Gg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1155 bytes --]
tsmish <tsymsh@gmail.com> writes:
> Attaching build log.
> commit: 8ba4d8a347fbdf9fe09e8ac801b4ac0586ac382a
Thanks!
> /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:266:22: error: ‘__gnu_cxx::strtold’ has not been declared
> using ::__gnu_cxx::strtold;
> ^
> In file included from fire-types.cc:9:0:
> /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:38:12: error: ‘std::abort’ has not been declared
> using std::abort;
Using multiple versions of GCC in the same package is poorly supported
since the recent 'core-updates' merge, causing these obscure errors.
The actual problem with FreeHDL is that it assumes std::string,
std::hash, etc is available in the default namespace, which is why it
was built with GCC 5 instead of the default GCC 7. I found a patch over
at Arch that makes it work with newer versions of GCC and C++:
https://git.archlinux.org/svntogit/community.git/tree/trunk/build-fix.patch?h=packages/freehdl
I applied it to our package with commit
1a044e3936ac4c1ba1575fe791bf59577b039cf9 and removed the GCC 5 input.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
prev parent reply other threads:[~2020-05-13 22:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-13 22:00 bug#41246: freehdl fails to build tsmish
2020-05-13 22:23 ` Marius Bakke [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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h7wjv5hj.fsf@devup.no \
--to=mbakke@fastmail.com \
--cc=41246-done@debbugs.gnu.org \
--cc=tsymsh@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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).