Skip to content
Commit 56ab61c8 authored by Piotr Kubaj's avatar Piotr Kubaj
Browse files

lang/ocaml: fix build on powerpc

ld: error: relocation R_PPC_ADDR16_HA cannot be used against symbol 'caml_program'; recompile with -fPIC
>>> defined in power_libasmrunpic.o
>>> referenced by power_libasmrunpic.o:(caml_start_program)

ld: error: relocation R_PPC_ADDR16_LO cannot be used against symbol 'caml_program'; recompile with -fPIC
>>> defined in power_libasmrunpic.o
>>> referenced by power_libasmrunpic.o:(caml_start_program)

ld: error: relocation R_PPC_ADDR16_HA cannot be used against symbol 'caml_apply2'; recompile with -fPIC
>>> defined in power_libasmrunpic.o
>>> referenced by power_libasmrunpic.o:(caml_callback2_asm)

ld: error: relocation R_PPC_ADDR16_LO cannot be used against symbol 'caml_apply2'; recompile with -fPIC
>>> defined in power_libasmrunpic.o
>>> referenced by power_libasmrunpic.o:(caml_callback2_asm)

ld: error: relocation R_PPC_ADDR16_HA cannot be used against symbol 'caml_apply3'; recompile with -fPIC
>>> defined in power_libasmrunpic.o
>>> referenced by power_libasmrunpic.o:(caml_callback3_asm)

ld: error: relocation R_PPC_ADDR16_LO cannot be used against symbol 'caml_apply3'; recompile with -fPIC
>>> defined in power_libasmrunpic.o
>>> referenced by power_libasmrunpic.o:(caml_callback3_asm)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
parent b71891cb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment