Skip to content
This repository has been archived by the owner on Nov 30, 2020. It is now read-only.

Link warnings on OS X #11

Closed
artagnon opened this issue Sep 10, 2014 · 1 comment
Closed

Link warnings on OS X #11

artagnon opened this issue Sep 10, 2014 · 1 comment

Comments

@artagnon
Copy link
Owner

On OS X, it produces a bunch of warnings while linking due to the inclusion of -rdynamic for Linux builds. While the warnings are harmless, it would be nice to squelch them.

+ /Users/artagnon/.opam/system/bin/ocamlfind ocamlc -ccopt -rdynamic -c bindings.c
clang: warning: argument unused during compilation: '-rdynamic'
+ /Users/artagnon/.opam/system/bin/ocamlfind ocamlopt -g -cc clang++ -ccopt -rdynamic -linkpkg -package llvm -package llvm.analysis -package llvm.executionengine -package llvm.scalar_opts -package llvm.target pretty.cmx codegen.cmx cookast.cmx parser.cmx lexer.cmx mlunbox.cmx toplevel.cmx rhine.cmx librhine_stubs.a -o rhine.native
ld: warning: could not create compact unwind for _camlCodegen__codegen_cmp_op_1368: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlCodegen__codegen_logical_op_1367: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlCodegen__codegen_arith_op_1366: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlCodegen__to_bool_1365: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlCodegen__to_int_1364: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlCodegen__to_dbl_1363: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlCodegen__codegen_atom_op_1 instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3233: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3235: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3237: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3239: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3241: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3243: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3245: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3247: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3249: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3251: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3253: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3255: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3257: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3259: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3261: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3263: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3265: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3267: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3269: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3271: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3273: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3275: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3277: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3279: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3281: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3283: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3285: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3287: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3289: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3291: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3293: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3295: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3297: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3299: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3301: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3303: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3305: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3307: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3309: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3311: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3313: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3315: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3317: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3319: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3321: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3323: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3325: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3327: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3329: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3331: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3333: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3335: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3337: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3339: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3341: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3343: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3345: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3347: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3349: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3351: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3353: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3355: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3357: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3359: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3361: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3363: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3365: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3367: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3369: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3371: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3373: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3375: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__iter_uses_1321: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fold_left_uses_1326: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fold_right_uses_1334: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__iter_global_range_1468: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__iter_globals_1473: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fold_left_global_range_1476: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fold_left_globals_1482: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__rev_iter_global_range_1486: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__rev_iter_globals_1491: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fold_right_global_range_1494: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fold_right_globals_1500: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__iter_function_range_1518: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__iter_functions_1523: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fold_left_function_range_1526: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fold_left_functions_1532: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__rev_iter_function_range_1536: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__rev_iter_functions_1541: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fold_right_function_range_1544: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fold_right_functions_1550: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__pack_attr_1557: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__unpack_attr_1561: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__add_function_attr_1570: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__remove_function_attr_1574: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__function_attr_1577: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__param_attr_1582: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__iter_param_range_1589: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__iter_params_1594: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fold_left_param_range_1597: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fold_left_params_1603: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__rev_iter_param_range_1607: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__rev_iter_params_1612: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fold_right_param_range_1615: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fold_right_params_1621: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__add_param_attr_1627: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__remove_param_attr_1630: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__iter_block_range_1651: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__iter_blocks_1656: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fold_left_block_range_1659: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fold_left_blocks_1665: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__rev_iter_block_range_1669: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__rev_iter_blocks_1674: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fold_right_block_range_1677: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fold_right_blocks_1683: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__iter_instrs_range_1694: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__iter_instrs_1699: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fold_left_instrs_range_1702: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fold_left_instrs_1708: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__rev_iter_instrs_range_1712: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__rev_iter_instrs_1717: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fold_right_instr_range_1720: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fold_right_instrs_1726: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__add_instruction_param_attr_1734: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__remove_instruction_param_attr_1738: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__builder_at_1753: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__builder_before_1757: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__builder_at_end_1760: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__position_before_1763: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__position_at_end_1765: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3504: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3502: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3500: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3498: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3496: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3518: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3516: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3514: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3512: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3510: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3508: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__fun_3506: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _camlLlvm__entry: stack subq instruction is too different from dwarf stack size
Finished, 32 targets (0 cached) in 00:00:01.
@artagnon
Copy link
Owner Author

Just don't use nonsense like oasis, and we're good. Fixed in tip.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant