[MacPorts] #26146: Ocaml failed to build with Assertion failed: (_file->_atomsArrayCount == computedAtomCount && "more atoms allocated than expected")
MacPorts
noreply at macports.org
Wed Aug 18 11:34:48 PDT 2010
#26146: Ocaml failed to build with Assertion failed: (_file->_atomsArrayCount ==
computedAtomCount && "more atoms allocated than expected")
---------------------------------+------------------------------------------
Reporter: tianyicui@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.1
Keywords: | Port: ocaml
---------------------------------+------------------------------------------
I simply run "port install ocaml" and failed with:
Assertion failed: (_file->_atomsArrayCount == computedAtomCount && "more
atoms allocated than expected"), function parse, file
/SourceCache/ld64/ld64-115.4/src/ld/parsers/macho_relocatable_file.cpp,
line 1504.
I'm not sure what's the problem, I'd like to help provide more
information, thanks.
The tail of build log is below, the complete build log is attached:
{{{
:info:build boot/ocamlrun ./ocamlopt -nostdlib -I stdlib -I
otherlibs/dynlink -ccopt "" -o ocamlc.opt \
:info:build utils/misc.cmx utils/tbl.cmx utils/config.cmx
utils/clflags.cmx utils/terminfo.cmx utils/ccomp.cmx utils/warnings.cmx
utils/consistbl.cmx parsing/linenum.cmx parsing/location.cmx
parsing/longident.cmx parsing/syntaxerr.cmx parsing/parser.cmx
parsing/lexer.cmx parsing/parse.cmx parsing/printast.cmx
typing/unused_var.cmx typing/ident.cmx typing/path.cmx
typing/primitive.cmx typing/types.cmx typing/btype.cmx typing/oprint.cmx
typing/subst.cmx typing/predef.cmx typing/datarepr.cmx typing/env.cmx
typing/typedtree.cmx typing/ctype.cmx typing/printtyp.cmx
typing/includeclass.cmx typing/mtype.cmx typing/includecore.cmx
typing/includemod.cmx typing/parmatch.cmx typing/typetexp.cmx
typing/stypes.cmx typing/typecore.cmx typing/typedecl.cmx
typing/typeclass.cmx typing/typemod.cmx bytecomp/lambda.cmx
bytecomp/printlambda.cmx bytecomp/typeopt.cmx bytecomp/switch.cmx
bytecomp/matching.cmx bytecomp/translobj.cmx bytecomp/translcore.cmx
bytecomp/translclass.cmx bytecomp/translmod.cmx bytecomp/simplif.cmx
bytecomp/runtimedef.cmx bytecomp/meta.cmx bytecomp/instruct.cmx
bytecomp/bytegen.cmx bytecomp/printinstr.cmx bytecomp/opcodes.cmx
bytecomp/emitcode.cmx bytecomp/bytesections.cmx bytecomp/dll.cmx
bytecomp/symtable.cmx bytecomp/bytelink.cmx bytecomp/bytelibrarian.cmx
bytecomp/bytepackager.cmx driver/pparse.cmx driver/errors.cmx
driver/compile.cmx driver/main_args.cmx driver/main.cmx \
:info:build asmrun/meta.o asmrun/dynlink.o -cclib "-lcurses
-lpthread"
:info:build Assertion failed: (_file->_atomsArrayCount ==
computedAtomCount && "more atoms allocated than expected"), function
parse, file
/SourceCache/ld64/ld64-115.4/src/ld/parsers/macho_relocatable_file.cpp,
line 1504.
:info:build 0 0x10001071f __assert_rtn + 79
:info:build 1 0x10006a271
mach_o::relocatable::Parser<x86_64>::parse(mach_o::relocatable::ParserOptions
const&) + 2785
:info:build 2 0x10001bd27 mach_o::relocatable::parse(unsigned char
const*, unsigned long long, char const*, long, unsigned int,
mach_o::relocatable::ParserOptions const&) + 1175
:info:build 3 0x100098b7e
ld::tool::InputFiles::makeFile(Options::FileInfo const&) + 238
:info:build 4 0x100099603 ld::tool::InputFiles::InputFiles(Options&,
char const**) + 563
:info:build 5 0x100012124 main + 260
:info:build collect2: ld returned 1 exit status
:info:build File "caml_startup", line 1, characters 0-1:
:info:build Error: Error during linking
:info:build make[1]: *** [ocamlc.opt] Error 2
:info:build make: *** [world.opt] Error 2
:info:build shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ocaml/work/ocaml-3.11.2"
&& unset LD_PREBIND LD_PREBIND_ALLOW_OVERLAP && /usr/bin/make world.opt "
returned error 2
:error:build Target org.macports.build returned: shell command failed
:debug:build Backtrace: shell command failed
while executing
"command_exec build"
(procedure "portbuild::build_main" line 8)
invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for ocaml):
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
:notice:build Log for ocaml is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ocaml/main.log
}}}
--
Ticket URL: <http://trac.macports.org/ticket/26146>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list