We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to build DieHard in a docker container so I can transfer the binary to another container for use.
The build container is just the following DockerFile.
DockerFile
FROM i386/ubuntu:bionic RUN apt-get update RUN mkdir -p /build/ WORKDIR /build/ RUN apt-get install -y --no-install-recommends ca-certificates git build-essential \ && git clone --recurse-submodules https://github.com/emeryberger/DieHard.git \ && cd DieHard/src \ && make linux-gcc-x86 TARGET=libdiehard
When I run this I get the following error.
g++ -std=c++14 -m32 -finline-functions -malign-double -pipe -march=pentium4 -O3 -DNDEBUG -I. -Iinclude -Iinclude/layers -Iinclude/util -Iinclude/math -Iinclude/static -Iinclude/rng -Iinclude/hoard -Iinclude/superblocks -IHeap-Layers -DDIEHARD_DIEHARDER=0 -D_REENTRANT=1 -DDIEHARD_MULTITHREADED=1 -shared Heap-Layers/wrappers/gnuwrapper.cpp source/libdieharder.cpp -Bsymbolic -o libdiehard.so -ldl -lpthread In file included from Heap-Layers/wrappers/all.h:1:0, from Heap-Layers/heaplayers.h:109, from source/libdieharder.cpp:29: Heap-Layers/wrappers/ansiwrapper.h: In instantiation of 'HL::ANSIWrapper<SuperHeap>::ANSIWrapper() [with SuperHeap = HL::LockedHeap<HL::PosixLockType, CombineHeap<DieHardHeap<8, 7, 65536, false, false>, TheLargeHeap> >]': source/libdieharder.cpp:54:7: required from here Heap-Layers/wrappers/ansiwrapper.h:36:7: error: static assertion failed: Alignment mismatch static_assert(gcd(SuperHeap::Alignment, alignof(max_align_t)) == alignof(max_align_t), "Alignment mismatch"); ^~~~~~~~~~~~~ Makefile:92: recipe for target 'linux-gcc-x86' failed make: *** [linux-gcc-x86] Error 1
Any ideas how to fix this? Thanks
The text was updated successfully, but these errors were encountered:
emeryberger
No branches or pull requests
I'm trying to build DieHard in a docker container so I can transfer the binary to another container for use.
The build container is just the following
DockerFile
.When I run this I get the following error.
Any ideas how to fix this? Thanks
The text was updated successfully, but these errors were encountered: