Anonymous | Login | Signup for a new account | 2019-02-20 02:56 CET | ![]() |
Main | My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||
0004930 | OCaml | ~DO NOT USE (was: OCaml general) | public | 2009-11-26 13:38 | 2009-11-26 16:31 | |||
Reporter | monipol | |||||||
Assigned To | ||||||||
Priority | normal | Severity | block | Reproducibility | always | |||
Status | closed | Resolution | fixed | |||||
Platform | OS | OS Version | ||||||
Product Version | 3.11.1 | |||||||
Target Version | Fixed in Version | 3.11.2+dev | ||||||
Summary | 0004930: Patch for 0004841 doesn't solve the problem on PowerPC processors | |||||||
Description | While trying to build Unison on Mac OS X, PowerPC: /Developer/usr/bin/gcc-4.0 -arch ppc -L/sw/src/fink.build/unison-aqua-2.27.57-1008/unison-2.13.16/uimac/build/Default -F/sw/src/fink.build/unison-aqua-2.27.57-1008/unison-2.13.16/uimac/build/Default -filelist /sw/src/fink.build/unison-aqua-2.27.57-1008/unison-2.13.16/uimac/build/uimac.build/Default/uimac.build/Objects-normal/ppc/Unison.LinkFileList -mmacosx-version-min=10.5 /sw/src/fink.build/unison-aqua-2.27.57-1008/unison-2.13.16/uimac/../unison-blob.o -L/sw/lib/ocaml -lunix -lstr -lasmrun -framework Cocoa -framework Security -o /sw/src/fink.build/unison-aqua-2.27.57-1008/unison-2.13.16/uimac/build/Default/Unison.app/Contents/MacOS/Unison 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 (* PR#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 (* PR#4690 *) ` .private_extern {emit_symbol fundecl.fun_name}\n` else ` .globl {emit_symbol fundecl.fun_name}\n`; | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
(0005180) xleroy (administrator) 2009-11-26 16:31 |
Thanks for spotting this. The fix for i386 and amd64 is now propagated to the powerpc code generator. Will go in release 3.11.2. |
![]() |
|||
Date Modified | Username | Field | Change |
2009-11-26 13:38 | monipol | New Issue | |
2009-11-26 16:31 | xleroy | Note Added: 0005180 | |
2009-11-26 16:31 | xleroy | Status | new => closed |
2009-11-26 16:31 | xleroy | Resolution | open => fixed |
2009-11-26 16:31 | xleroy | Fixed in Version | => 3.11.2+dev |
2017-02-23 16:36 | doligez | Category | OCaml general => -OCaml general |
2017-03-03 17:55 | doligez | Category | -OCaml general => -(deprecated) general |
2017-03-03 18:01 | doligez | Category | -(deprecated) general => ~deprecated (was: OCaml general) |
2017-03-06 17:04 | doligez | Category | ~deprecated (was: OCaml general) => ~DO NOT USE (was: OCaml general) |
Copyright © 2000 - 2011 MantisBT Group |