On 11/ 7/10 10:00 PM, Juan Jose Garcia-Ripoll wrote: > On Sun, Nov 7, 2010 at 9:54 PM, Dr. David > Kirkby<david.kir...@onetel.net>wrote: > >> Unless I am mistaken, this problem is only seen with gcc. In which case, >> the removal of the optimiser can be condition on __GNUC__ being defined. >> > > Actually the optimization _only_ works with GCC, because it is the only > compiler with computed gotos.
The change does not appear to have fixed the problem - at least on a 64-bit build on OpenSolaris using gcc 4.5.0 drkir...@hawk:~/64/sage-4.6.1.alpha0/local/lib$ elfdump -d libecl.so | grep TEXT [24] TEXTREL 0 [32] FLAGS 0x4 [ TEXTREL ] drkir...@hawk:~/64/sage-4.6.1.alpha0/local/lib$ file libecl.so libecl.so: ELF 64-bit LSB dynamic lib AMD64 Version 1, dynamically linked, not stripped Again, in Sage, it results in the failure of Maxima to install make[3]: Entering directory `/export/home/drkirkby/64/sage-4.6.1.alpha0/spkg/build/maxima-5.20.1.p0/src/src' test -d binary-ecl || mkdir binary-ecl ecl -norc -eval '(progn (load "../lisp-utils/defsystem.lisp") (funcall (intern (symbol-name :operate-on-system) :mk) "maxima" :compile :verbose t) (build-maxima-lib))' -eval '(ext:quit)' ld.so.1: ecl: fatal: relocation error: R_AMD64_PC32: file /export/home/drkirkby/64/sage-4.6.1.alpha0/local/lib//libecl.so: symbol main: value 0x228000982ca4 does not fit make[3]: *** [binary-ecl/maxima] Killed What system did you test this on? Dave ------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ Ecls-list mailing list Ecls-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ecls-list