You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 4930 Reporter: monipol Status: closed (set by @xavierleroy on 2009-11-26T15:31:30Z) Resolution: fixed Priority: normal Severity: block Version: 3.11.1 Fixed in version: 3.11.2+dev Category: ~DO NOT USE (was: OCaml general)
Bug description
While trying to build Unison on Mac OS X, PowerPC:
Undefined symbols:
"_caml_apply2", referenced from:
_caml_callback2_exn in libasmrun.a(power.o)
_caml_callback2_exn in libasmrun.a(power.o)
"_caml_apply3", referenced from:
_caml_callback3_exn in libasmrun.a(power.o)
_caml_callback3_exn in libasmrun.a(power.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
** BUILD FAILED **
Additional information
The fix in the 3.11 bugfix branch for i386 and amd64 does not apply to powerpc.
From asmcomp/i386/emit.mlp:
if macosx
&& not !Clflags.output_c_object
&& is_generic_function fundecl.fun_name
then (* #4690 *) .private_extern {emit_symbol fundecl.fun_name}\n
else .globl {emit_symbol fundecl.fun_name}\n;
whilst in asmcomp/power/emit.mlp:
if Config.system = "rhapsody" && is_generic_function fundecl.fun_name
then (* #4690 *) .private_extern {emit_symbol fundecl.fun_name}\n
else .globl {emit_symbol fundecl.fun_name}\n;
The text was updated successfully, but these errors were encountered:
Original bug ID: 4930
Reporter: monipol
Status: closed (set by @xavierleroy on 2009-11-26T15:31:30Z)
Resolution: fixed
Priority: normal
Severity: block
Version: 3.11.1
Fixed in version: 3.11.2+dev
Category: ~DO NOT USE (was: OCaml general)
Bug description
While trying to build Unison on Mac OS X, PowerPC:
Undefined symbols:
"_caml_apply2", referenced from:
_caml_callback2_exn in libasmrun.a(power.o)
_caml_callback2_exn in libasmrun.a(power.o)
"_caml_apply3", referenced from:
_caml_callback3_exn in libasmrun.a(power.o)
_caml_callback3_exn in libasmrun.a(power.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
** BUILD FAILED **
Additional information
The fix in the 3.11 bugfix branch for i386 and amd64 does not apply to powerpc.
From asmcomp/i386/emit.mlp:
if macosx
&& not !Clflags.output_c_object
&& is_generic_function fundecl.fun_name
then (* #4690 *)
.private_extern {emit_symbol fundecl.fun_name}\n
else
.globl {emit_symbol fundecl.fun_name}\n
;whilst in asmcomp/power/emit.mlp:
if Config.system = "rhapsody" && is_generic_function fundecl.fun_name
then (* #4690 *)
.private_extern {emit_symbol fundecl.fun_name}\n
else
.globl {emit_symbol fundecl.fun_name}\n
;The text was updated successfully, but these errors were encountered: