Status: None -> transferred ============================================================================== OVERVIEW of bugs #9648: ============================================================================== URL: <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=9648> Summary: algebra creates the file 'code.lsp', this needs to be renamed before compile Project: Axiom Computer Algebra System Submitted by: axiom Submitted on: Thu 07/15/2004 at 03:13 Category: build process Severity: 3 - Ordinary Item Group: feature request Status: transferred Privacy: Public Assigned to: axiom Originator Name: Tim Daly Originator Email: daly@idsi.net Open/Closed: Open Release: current Reproducibility: None Fixed Release: Error message: Example of code trigerring the bug: Internal cause: _______________________________________________________ Greetings! Just a quick note on an observation I've made in putting together the latest Debian package. As you may recall, we are skipping the database rebuilding step on ia64, alpha, hppa, mips and mipsel, as we cannot natively relocate objects on these machines yet, and they therefore use dlopen, which takes up too many file handles in this step. Even were this surmounted, another difficulty would arise -- all the algebra files are compiled with the filename "code.lsp" before renaming the .o file as appropriate. This names the lisp initialization function in each object "init_code", causing a linker conflict, and results in a failure to find the sought init functions determined by filename at load time, e.g. init_AHYB, etc. We do intend to get native relocation on these machines, but it will likely take considerable time. Might it be quicker to rename the code.lsp before compiling? _______________________________________________________ Carbon-Copy List: CC Address | Comment ------------------------------------+----------------------------- daly@idsi.net | ============================================================================== This item URL is: <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=9648> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/ ------------------------------------------------------------ [#75 algebra creates the file code.lsp, this needs to be renamed before compile] --Camm Maguire, Thu, 10 Mar 2005 16:15:54 -0600 Greetings! I think I have a patch for Debian which does this if anyone is interested. [#75 algebra creates the file code.lsp, this needs to be renamed before compile] [#75 algebra creates the file code.lsp, this needs to be renamed before compile] --root, Thu, 10 Mar 2005 17:14:01 -0600 Camm, Bill, Why does code.lsp need to be renamed? Tim [#75 algebra creates the file code.lsp, this needs to be renamed before compile] [#75 algebra creates the file code.lsp, this needs to be renamed before compile] --root, Thu, 10 Mar 2005 17:17:28 -0600 never mind. i found the bug report. --t property change --Bill Page, Thu, 10 Mar 2005 22:44:14 -0600 [#75 algebra creates the file code.lsp, this needs to be renamed before compile] [#75 algebra creates the file code.lsp, this needs to be renamed before compile] --Camm Maguire, Fri, 11 Mar 2005 07:50:43 -0600 Greetings! Not sure about the rationale behind the bug report, but on 5 of the Debian platforms, gcl cannot (yet) natively relocate object files, and the build has to proceed through compiler::link. In such a case, the init function must be uniquely named for each module, as the final link is via ld. Take care, root <daly@axiom-developer.org> writes: > Camm, Bill, > > Why does code.lsp need to be renamed? > > Tim > > > _______________________________________________ > Axiom-developer mailing list > Axiom-developer@nongnu.org > http://lists.nongnu.org/mailman/listinfo/axiom-developer > > > -- Camm Maguire camm@enhanced.com ========================================================================== "The earth is but one country, and mankind its citizens." -- Baha'u'llah ... --kratt6, Sat, 19 Jan 2008 05:15:54 -0800 Status: open => closed |