On Tue, Sep 9, 2014 at 10:33 AM, Fausto Saporito <[email protected]> wrote:
> Hello Ray, > > I'm missing a piece... Is undefineds.h used during the kernel.core > creation ? > > Those warnings are generated on the linux machine... > > By the way, they are totally missing in undefineds.h ... also an OSF1 > part is totally missing. > Is present only alpha-linux section. > > So I should update undefineds.h with all those functions present in > the warnings, if I understood correctly... > ​Ugh. This might be tricky. Your 19c linux binary supports the :linkage-table *feature*. But alpha doesn't. I'm not sure how well cross-compiling from linux to alpha will work in this case. And I don't remember what a cross-compile without :linkage-tables looks like anymore, and all of the current working ports use :linkage-tables. So, these undefined symbols might be ok, but they do have to get resolved in some way. call_into_c ought to exist in your lisp.nm file. Perhaps genesis is not parsing that file correctly?​ ​(See load-foreign-symbol-table in compiler/new-genesis.lisp.) ​ > > regards,, > Fausto > > > 2014-09-09 18:43 GMT+02:00 Raymond Toy <[email protected]>: > > > > > > On Tue, Sep 9, 2014 at 1:30 AM, Fausto Saporito < > [email protected]> > > wrote: > >> > >> Just another info... > >> I repeated the creation process of kernel.core. > >> At the end, when it's saving the kernel.core file (I suppose) I have a > lot > >> of: > >> > >> Warning: Undefined foreign symbol: "_undefined_tramp" > > > > > > > > > >> > >> Warning: Undefined foreign symbol: "_undefined_tramp" > >> Warning: Undefined foreign symbol: "_undefined_tramp" > >> Warning: Undefined foreign symbol: "_undefined_tramp" > >> Warning: Undefined foreign symbol: "_undefined_tramp" > >> Warning: Undefined foreign symbol: "_undefined_tramp" > >> Warning: Undefined foreign symbol: "call_into_c" > > > > > > These warnings pretty much explains the crash. All of the missing > foreign > > symbols need to be defined otherwise lisp uses 0 (or some other invalid > > value) > > > > These are normally in undefineds.h. Perhaps undefineds.c has bitrotted > and > > needs to be updated a bit for alpha? > > > > Once these warnings about these undefined foreign symbols is fixed, we > > should get farther along. > > > > > > -- > > Ray > -- Ray _______________________________________________ cmucl-help mailing list [email protected] http://lists.zs64.net/mailman/listinfo/cmucl-help
