[Gd-hackers] Cygwin (the latest) fails to compile even mindy
Alex Potanin
Alex.Potanin at mcs.vuw.ac.nz
Thu May 18 03:54:59 CEST 2006
Hello,
To clarify. I did a clean check out on the latest cygwin.
It compiles and bootstraps and installs, *except* the installed d2c
binary segfaults when you try running it (with memory corruption). Since
there are no errors on build - I don't know what is going wrong. :-(
Cheers,
Alex.
Alex Potanin wrote:
> Hello,
>
> The latest dylan doing mindy bootstrap fails. Below are the compile
> commands and the back trace.
>
> Any help would be appreciated.
>
> Cheers,
> Alex.
>
>
> ----------------------------------------
> COMPILE ERROR:
> ----------------------------------------
>
> make -C random
> make[3]: Entering directory
> `/cygdrive/c/Dylan/SVNData/branches/GD_2_4/src/d2c/runtime/random'
> /cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/mindy/interp/mindy
> -f
> /cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/main/d2c.dbc
>
> -p/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/platforms.descr
>
> -M
> -L/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/runtime/c-code
>
> -L/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/runtime/dylan
> -L/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/runtime/melange
>
> -L/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/common/transcendental
>
> -L../../../common/transcendental
> --rpath=/usr/local/lib/dylan/2.4.1pre1/x86-cygnus-gcc
> /cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/runtime/random/Random.lid
> Compiling library Random
> [Loading library Dylan...]
> Parsing exports.dylan
> [Loading library transcendental...
> Assertion failed.
>
> thread [0] D #"main"
> fp 0x18c10fc8: invoke-debugger({<simple-error> 0x01d9d249})
> mindy>
>
>
> ----------------------------------------
> BACKTRACE:
> ----------------------------------------
>
> mindy> backtrace
> fp 0x18c10fc8: invoke-debugger({<simple-error> 0x01d9d249})
> fp 0x18c10fa8: assert(#f, #())
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/mindy/libraries/dylan/ext.dylan,
>
> line 90]
> fp 0x18c10f68: load-subobjects-vector({<load-state> 0x017b5341}, 10,
> #(), {class <simple-object-vector>})
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/base/od-format.dylan,
>
> line 1716]
> fp 0x18c10ee4: make-loader-guts({<load-state> 0x017b5341}, {<make-info>
> 0x01524ff9}, #(), {class <object>})
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/base/od-format.dylan,
>
> line 2218]
> fp 0x18c10ebc: {anonymous <byte-method> 0x00f1a339 #({class
> <load-state>})}({<load-state> 0x017b5341}, #(), {class <object>},
> {<make-info> 0x01524ff9})
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/base/od-format.dylan,
>
> line 2351]
> fp 0x18c10e70: load-object-dispatch({<load-state> 0x017b5341}, #(),
> {class <object>})
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/base/od-format.dylan,
>
> line 1590]
> fp 0x18c10e2c: load-subobjects-vector({<load-state> 0x017b5341}, 8, #(),
> {class <simple-object-vector>})
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/base/od-format.dylan,
>
> line 1711]
> fp 0x18c10da8: make-loader-guts({<load-state> 0x017b5341}, {<make-info>
> 0x016fadf9}, #(), {class <object>})
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/base/od-format.dylan,
>
> line 2218]
> fp 0x18c10d80: {anonymous <byte-method> 0x01523141 #({class
> <load-state>})}({<load-state> 0x017b5341}, #(), {class <object>},
> {<make-info> 0x016fadf9})
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/base/od-format.dylan,
>
> line 2351]
> fp 0x18c10d44: load-external-definition({<load-state> 0x017b5341},
> {anonymous <byte-method> 0x01523141 #({class <load-state>})}, #(),
> {union #({class <identity-preserving-mixin>}, {class <forward-ref>})})
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/base/od-format.dylan,
>
> line 2058]
> fp 0x18c10d1c: {anonymous <byte-method> 0x00f19031 #({class
> <load-state>})}({<load-state> 0x017b5341}, #(), {class <object>},
> {anonymous <byte-method> 0x01523141 #({class <load-state>})})
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/base/od-format.dylan,
>
> line 2358]
> fp 0x18c10cd0: load-object-dispatch({<load-state> 0x017b5341}, #(),
> {class <object>})
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/base/od-format.dylan,
>
> line 1590]
> fp 0x18c10c88: load-object-dispatch({<load-state> 0x017b5341}, #(),
> {class <object>})
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/base/od-format.dylan,
>
> line 1551]
> fp 0x18c10c44: load-subobjects-vector({<load-state> 0x017b5341}, 13,
> #(), {class <simple-object-vector>})
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/base/od-format.dylan,
>
> line 1711]
> fp 0x18c10bc0: make-loader-guts({<load-state> 0x017b5341}, {<make-info>
> 0x016fbba1}, #(), {class <object>})
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/base/od-format.dylan,
>
> line 2218]
> fp 0x18c10b98: {anonymous <byte-method> 0x01524889 #({class
> <load-state>})}({<load-state> 0x017b5341}, #(), {class <object>},
> {<make-info> 0x016fbba1})
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/base/od-format.dylan,
>
> line 2351]
> fp 0x18c10b5c: load-external-definition({<load-state> 0x017b5341},
> {anonymous <byte-method> 0x01524889 #({class <load-state>})}, #(),
> {union #({class <identity-preserving-mixin>}, {class <forward-ref>})})
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/base/od-format.dylan,
>
> line 2058]
> fp 0x18c10b34: {anonymous <byte-method> 0x00f19ef9 #({class
> <load-state>})}({<load-state> 0x017b5341}, #(), {class <object>},
> {anonymous <byte-method> 0x01524889 #({class <load-state>})})
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/base/od-format.dylan,
>
> line 2358]
> fp 0x18c10ae8: load-object-dispatch({<load-state> 0x017b5341}, #(),
> {class <object>})
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/base/od-format.dylan,
>
> line 1590]
> fp 0x18c10aa0: load-object-dispatch({<load-state> 0x017b5341}, #(),
> {class <object>})
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/base/od-format.dylan,
>
> line 1551]
> fp 0x18c10a74: {anonymous <byte-method> 0x017bafa1 #({class
> <object>})}({<catch> 0x017a0049}, #(), {<load-state> 0x017b5341})
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/base/od-format.dylan,
>
> line 1458]
> fp 0x18c10a50: catch({anonymous <byte-method> 0x017bafa1 #({class
> <object>})})
> fp 0x18c109d8: load-data-unit(#"transcendental", 0, #f, #f,
> {<dispatcher> 0x017a4f51}, #(), {class <data-unit>})
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/base/od-format.dylan,
>
> line 1456]
> fp 0x18c109a4: catch({anonymous <byte-method> 0x017a5161 #({class
> <object>})})
> fp 0x18c10978: find-data-unit(#"transcendental", 0, #f, #f,
> {<dispatcher> 0x017a4f51}, #(), {class <data-unit>}, {class
> <dispatcher>}, {union #({class <general-integer>}, {class <false>})},
> {union #({class <byte-string>}, {class <false>})})
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/base/od-format.dylan,
>
> line 1489]
> fp 0x18c10924: {anonymous <byte-method> 0x017a4d61 #()}(#(), {anonymous
> <byte-method> 0x017a4d21 #()}, #"transcendental", 0, {<library>
> 0x017a49f1})
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/base/variables.dylan,
>
> line 1123]
> fp 0x18c108ec: uwp({anonymous <byte-method> 0x017a4d61 #()}, {anonymous
> <byte-method> 0x017a4da9 #()})
> fp 0x18c108bc: find-data-unit(#"transcendental", 0, #[#"dispatcher",
> {<dispatcher> 0x017a4f51}], #({<byte-method> #"find-data-unit" #({class
> <symbol>}, {class <integer>})}), {class <object>})
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/base/variables.dylan,
>
> line 1104]
> fp 0x18c10880: {anonymous <byte-method> 0x017a4b79 #({class
> <object>})}({<catch> 0x017a4c09}, #(), {<value-cell> 0x017a4b71},
> {<library> 0x017a49f1})
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/base/variables.dylan,
>
> line 619]
> fp 0x18c10858: catch({anonymous <byte-method> 0x017a4b79 #({class
> <object>})})
> fp 0x18c10838: {anonymous <byte-method> 0x017a4ab1 #({class
> <object>})}({<catch> 0x017a4b59}, #(), {<library> 0x017a49f1})
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/base/variables.dylan,
>
> line 617]
> fp 0x18c10814: catch({anonymous <byte-method> 0x017a4ab1 #({class
> <object>})})
> fp 0x18c107f4: assure-loaded({<library> 0x017a49f1}, #())
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/base/variables.dylan,
>
> line 617]
> fp 0x18c107d0: lookup-use({<library> 0x017a18e9}, {<identifier-token>
> 0x017a48e9}, #(), {class <library>})
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/base/variables.dylan,
>
> line 606]
> fp 0x18c10798: {anonymous <byte-method> 0x017a4731 #({class
> <object>})}({<catch> 0x017a47c9}, #(), {<value-cell> 0x017a4729}, {<use>
> 0x017a4291}, {<library> 0x017a18e9}, {<value-cell> 0x017a4541})
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/base/variables.dylan,
>
> line 295]
> fp 0x18c10768: catch({anonymous <byte-method> 0x017a4731 #({class
> <object>})})
> fp 0x18c10748: {anonymous <byte-method> 0x017a4589 #({class
> <object>})}({<catch> 0x017a4711}, #(), {<use> 0x017a4291}, {<library>
> 0x017a18e9}, {<value-cell> 0x017a4541})
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/base/variables.dylan,
>
> line 294]
> fp 0x18c1071c: catch({anonymous <byte-method> 0x017a4589 #({class
> <object>})})
> fp 0x18c106d4: {anonymous <byte-method> 0x017a42e1 #({class
> <object>})}({<catch> 0x017a4529}, #(), {<use> 0x017a4291}, {<library>
> 0x017a18e9})
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/base/variables.dylan,
>
> line 294]
> fp 0x18c106ac: catch({anonymous <byte-method> 0x017a42e1 #({class
> <object>})})
> fp 0x18c10660: note-namespace-definition({<library> 0x017a18e9},
> #[{<use> 0x00e944a9}, {<use> 0x017a4291}], #[{<identifier-token>
> 0x00e944c9}], #[], #())
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/base/variables.dylan,
>
> line 292]
> fp 0x18c1062c: note-library-definition({<identifier-token> 0x017a4109},
> #[{<use> 0x00e944a9}, {<use> 0x017a4291}], #[{<identifier-token>
> 0x00e944c9}], #())
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/base/variables.dylan,
>
> line 648]
> fp 0x18c10600: process-top-level-form({<define-library-tlf> 0x017a4081},
> #())
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/convert/deflibmod.dylan,
>
> line 57]
> fp 0x18c105d4: production-19(0, {<simple-macro-source-location>
> 0x017a4069}, {<define-library-tlf> 0x017a4081},
> {<simple-macro-source-location> 0x017a4069}, #(), {class <false>},
> {class <integer>}) [parser.dylan, line 686]
> fp 0x18c1052c: {anonymous <byte-method> 0x017a3621 #({class
> <object>})}({<catch> 0x017a3669}, #(), #f, {<fragment-tokenizer>
> 0x017a35c1}, 0)
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/parser/support.dylan,
>
> line 807]
> fp 0x18c10500: catch({anonymous <byte-method> 0x017a3621 #({class
> <object>})})
> fp 0x18c104e4: parse({<fragment-tokenizer> 0x017a35c1}, 0, #f, #(),
> {class <object>})
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/parser/support.dylan,
>
> line 701]
> fp 0x18c104b4: parse-source-record({<fragment-tokenizer> 0x017a35c1},
> #f, #(), {class <boolean>})
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/parser/support.dylan,
>
> line 832]
> fp 0x18c1048c:
> process-top-level-form({<body-style-definition-macro-call-parse>
> 0x017a3069}, #({<byte-method> #"process-top-level-form" #({class
> <macro-call-parse>})}))
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/convert/defmacro.dylan,
>
> line 67]
> fp 0x18c10460: production-19(0, {<known-source-location> 0x017a3009},
> {<body-style-definition-macro-call-parse> 0x017a3069},
> {<known-source-location> 0x017a3009}, #(), {class <false>}, {class
> <integer>}) [parser.dylan, line 686]
> fp 0x18c103b8: {anonymous <byte-method> 0x017a2381 #({class
> <object>})}({<catch> 0x017a2409}, #(), #f, {<lexer> 0x017a20b9}, 0)
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/parser/support.dylan,
>
> line 807]
> fp 0x18c1038c: catch({anonymous <byte-method> 0x017a2381 #({class
> <object>})})
> fp 0x18c10370: parse({<lexer> 0x017a20b9}, 0, #f, #(), {class <object>})
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/parser/support.dylan,
>
> line 701]
> fp 0x18c10340: parse-source-record({<lexer> 0x017a20b9}, #f, #(), {class
> <boolean>})
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/parser/support.dylan,
>
> line 832]
> fp 0x18c1030c: uwp({anonymous <byte-method> 0x017a2131 #()}, {anonymous
> <byte-method> 0x017a2179 #()})
> fp 0x18c102d4: {anonymous <byte-method> 0x017a1fa9 #({class
> <object>})}({<catch> 0x017a2041}, #(), {<value-cell> 0x017a1fa1},
> {<lid-mode-state> 0x017a0919}, "exports.dylan")
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/main/lid-mode-state.dylan,
>
> line 289]
> fp 0x18c102a8: catch({anonymous <byte-method> 0x017a1fa9 #({class
> <object>})})
> fp 0x18c10288: {anonymous <byte-method> 0x017a1a79 #({class
> <object>})}({<catch> 0x017a1f89}, #(), {<lid-mode-state> 0x017a0919},
> "exports.dylan")
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/main/lid-mode-state.dylan,
>
> line 277]
> fp 0x18c10260: catch({anonymous <byte-method> 0x017a1a79 #({class
> <object>})})
> fp 0x18c101f8: parse-and-finalize-library({<lid-mode-state> 0x017a0919},
> #())
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/main/lid-mode-state.dylan,
>
> line 277]
> fp 0x18c101c8: {anonymous <byte-method> 0x017a15c1 #({class
> <object>})}({<catch> 0x017a1659}, #(), {<value-cell> 0x017a15b9},
> {<value-cell> 0x017a15b1}, {<lid-mode-state> 0x017a0919})
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/main/lid-mode-state.dylan,
>
> line 887]
> fp 0x18c1019c: catch({anonymous <byte-method> 0x017a15c1 #({class
> <object>})})
> fp 0x18c1017c: {anonymous <byte-method> 0x017a1559 #({class
> <object>})}({<catch> 0x017a1599}, #(), {<value-cell> 0x017a15b1},
> {<lid-mode-state> 0x017a0919})
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/main/lid-mode-state.dylan,
>
> line 882]
> fp 0x18c10154: catch({anonymous <byte-method> 0x017a1559 #({class
> <object>})})
> fp 0x18c10138: catch({anonymous <byte-method> 0x017a1461 #({class
> <object>})})
> fp 0x18c10118: compile-library({<lid-mode-state> 0x017a0919}, #(),
> {class <boolean>})
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/main/lid-mode-state.dylan,
>
> line 882]
> fp 0x18c10074: main("mindy",
> #["-p/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/platforms.descr",
>
> "-M",
> "-L/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/runtime/c-code",
>
> "-L/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/runtime/dylan",
>
> "-L/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/runtime/melange",
>
> "-L/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/common/transcendental",
>
> "-L../../../common/transcendental",
> "--rpath=/usr/local/lib/dylan/2.4.1pre1/x86-cygnus-gcc",
> "/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/runtime/random/Random.lid"],
>
> #())
> [/cygdrive/e/Alex/Home/Dylan/SVNData/branches/GD_2_4/src/d2c/compiler/main/main.dylan,
>
> line 534]
> mindy>
>
>
More information about the hackers
mailing list