Skip to content
New issue

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

32 bit compilation #85

Open
GrosQuildu opened this issue Jan 30, 2020 · 1 comment
Open

32 bit compilation #85

GrosQuildu opened this issue Jan 30, 2020 · 1 comment

Comments

@GrosQuildu
Copy link

Good morning,

Does Angora support 32-bit targets / builds?

Like:

CC=$ANGORA/bin/angora-clang ./configure --prefix=`pwd`/install --disable-shared "CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32"

, which fails in my environment, because Angora libs are 64bits:

/usr/bin/ld: ./Angora/bin/lib/libruntime_fast.a(runtime_fast-d39a4de5e860747f.runtime_fast.9lmpyn81-cgu.11.rcgu.o): file class ELFCLASS64 incompatible with ELFCLASS32

Also can't build 32-bit version of Angora with:

cargo build --target=i686-unknown-linux-gnu
cargo build --release --target=i686-unknown-linux-gnu

because the build fails at

let mem_limit: libc::rlim_t = size;

with "expected u32, found u64".

Any option to do that?

@spinpx
Copy link
Member

spinpx commented Feb 3, 2020

Sorry, Angora doesn't support 32bit now. I will improve it in my plan. Thanks for your suggestion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants