Skip to content

Cryptol build fails on Centos 7 #1445

@podhrmic

Description

@podhrmic

When building the latest cryptol (commit 94283f2), it fails with:

Preprocessing library for cryptol-2.13.0.99..
Building library for cryptol-2.13.0.99..
[119 of 121] Compiling GitRev           ( src/GitRev.hs, /home/bfvuser/basalisc-formal-verification/cryptol-src/dist-newstyle/build/x86_64-linux/ghc-8.10.4/cryptol-2.13.0.99/build/GitRev.o, /home/bfvuser/basalisc-formal-verification/cryptol-src/dist-newstyle/build/x86_64-linux/ghc-8.10.4/cryptol-2.13.0.99/build/GitRev.dyn_o )
Preprocessing executable 'cryptol' for cryptol-2.13.0.99..
Building executable 'cryptol' for cryptol-2.13.0.99..
Linking /home/bfvuser/basalisc-formal-verification/cryptol-src/dist-newstyle/build/x86_64-linux/ghc-8.10.4/cryptol-2.13.0.99/x/cryptol/build/cryptol/cryptol ...
/home/bfvuser/.cabal/store/ghc-8.10.4/hgmp-0.1.2.1-155f11c0ea165e3c897050b533678625806fc0c2de260b9eae921ae0a91ea89a/lib/libHShgmp-0.1.2.1-155f11c0ea165e3c897050b533678625806fc0c2de260b9eae921ae0a91ea89a.a(Unsafe.o)(.text+0xab42): error: undefined reference to '__gmpq_cmp_z'
/home/bfvuser/.cabal/store/ghc-8.10.4/hgmp-0.1.2.1-155f11c0ea165e3c897050b533678625806fc0c2de260b9eae921ae0a91ea89a/lib/libHShgmp-0.1.2.1-155f11c0ea165e3c897050b533678625806fc0c2de260b9eae921ae0a91ea89a.a(Unsafe.o)(.text+0xdcda): error: undefined reference to '__gmpf_cmp_z'
/home/bfvuser/.cabal/store/ghc-8.10.4/hgmp-0.1.2.1-155f11c0ea165e3c897050b533678625806fc0c2de260b9eae921ae0a91ea89a/lib/libHShgmp-0.1.2.1-155f11c0ea165e3c897050b533678625806fc0c2de260b9eae921ae0a91ea89a.a(Unsafe.o)(.text+0x14360): error: undefined reference to '__gmpn_cnd_swap'
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)

I have all packages up to date. Not sure what could be missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions