x86asmtemp.S seems to have been compiled as follows: libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O3 -I../libffi/include -DMACOSX -DGIT_VERSION=8592e2a -Wall -DMODULEDIR=/usr/local/lib/polyml/modules -DMACOSX -MT x86asmtemp.lo -MD -MP -MF .deps/x86asmtemp.Tpo -c x86asmtemp.S -fno-common -DPIC -o .libs/x86asmtemp.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O3 -I../libffi/include -DMACOSX -DGIT_VERSION=8592e2a -Wall -DMODULEDIR=/usr/local/lib/polyml/modules -DMACOSX -MT x86asmtemp.lo -MD -MP -MF .deps/x86asmtemp.Tpo -c x86asmtemp.S -o x86asmtemp.o >/dev/null 2>&1
Anthony > On 6 Jan 2016, at 20:24, Jerry James <[email protected]> wrote: > > On Wed, Jan 6, 2016 at 11:28 AM, David Matthews > <[email protected]> wrote: >> I don't know what is going on here. It looks as though Mac OS X is >> expecting some sort of relocation rather than an absolute address. > > The error means that assign_word is not a position-independent symbol, > so the reference to it from _entryPointVector requires a relocation. > Anthony, when x86asmtemp.S was compiled, was -fPIC or a related flag > passed to the compiler or assembler? (Full disclosure: I don't use, > and don't even have access to, Mac OS X, so if I appear to be talking > nonsense, that's probably because I am.) > -- > Jerry James > http://www.jamezone.org/ _______________________________________________ polyml mailing list [email protected] http://lists.inf.ed.ac.uk/mailman/listinfo/polyml
