www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples

Archive Index This month's Index

Subject: Re: Building for iPhoneSimulator fails (ld: absolute addressing not allowed in slidable image)

Re: Building for iPhoneSimulator fails (ld: absolute addressing not allowed in slidable image)

From: Simon Josefsson <simon_at_josefsson.org>
Date: Tue, 02 Feb 2010 15:48:32 +0100

Felix Schulze <code_at_felixschulze.de> writes:

> ld: absolute addressing (perhaps -mdynamic-no-pic) used in
> __gcry_mpih_add_n from
> /<path>/iphone-sim/lib/libgcrypt.a(mpih-add1-asm.o) not allowed in
> slidable image. Use '-read_only_relocs suppress' to enable text relocs

This looks like a build problem with the libgcrypt assembler code. Just
build libgcrypt with --disable-asm and it will build a C implementation
instead, which typically is more portable.

/Simon
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-02-02

the libssh2 team