freehdl fails to build

  • Done
  • quality assurance status badge
Details
2 participants
  • Marius Bakke
  • tsmish
Owner
unassigned
Submitted by
tsmish
Severity
normal

Debbugs page

tsmish wrote 5 years ago
(address . bug-guix@gnu.org)
CAMaATaPyy+7wJqVHzNuKTUOk5wjuOTUzt_9oHXpVs4Dbwpu-Gg@mail.gmail.com
Attaching build log.
commit: 8ba4d8a347fbdf9fe09e8ac801b4ac0586ac382a
Marius Bakke wrote 5 years ago
(name . tsmish)(address . tsymsh@gmail.com)(address . 41246-done@debbugs.gnu.org)
87h7wjv5hj.fsf@devup.no
tsmish <tsymsh@gmail.com> writes:

Toggle quote (3 lines)
> Attaching build log.
> commit: 8ba4d8a347fbdf9fe09e8ac801b4ac0586ac382a

Thanks!

Toggle quote (7 lines)
> /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++:


I applied it to our package with commit
1a044e3936ac4c1ba1575fe791bf59577b039cf9 and removed the GCC 5 input.
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl68c3gACgkQoqBt8qM6
VPp8aAf/SXvzVgPnirI61fcmGAzLPfAN0MEMfj+AGelRFqm+TGJwqRCZ8X5YRojq
sa3H3nGBUW4Ce2X4fNpc5dDtZlBizAlJucDWwfNiPUnvkH3a8Uq2FUK3Eeb/3wre
RKUg1xozK+VjIOX57p2SwhPq7A/QMQ1fEgMEXOyCav+bVZN8W4pDJyVcIgT8M0iN
bPrMm+cfB722US6XCtgTTpx1Ba5Go8Off0qaJX5HlMXRBopzllcedTnJdaaQRVy8
4DCLFAmrAwkZyKkDVPgV8WOM/hlEgL0hcmqMhZu5dJntCXBEn8iiS684mIoSojb+
xMMPZIPG33E/U8+bF+GEzoO83lcYiQ==
=9HEO
-----END PGP SIGNATURE-----

Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 41246@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 41246
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help