[Ecls-list] fatal: relocation errors on Solaris x86 and OpenSolaris 64-bit.
Dr. David Kirkby
david.kirkby at onetel.net
Tue Nov 9 18:50:19 UTC 2010
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.kirkby at 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
drkirkby at hawk:~/64/sage-4.6.1.alpha0/local/lib$ elfdump -d libecl.so | grep TEXT
[24] TEXTREL 0
[32] FLAGS 0x4 [ TEXTREL ]
drkirkby at 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
More information about the ecl-devel
mailing list