gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gcl-devel] Support for FreeBSD (Big Endian) PPC64


From: Curtis Hamilton
Subject: [Gcl-devel] Support for FreeBSD (Big Endian) PPC64
Date: Fri, 18 May 2018 12:48:16 -0400
User-agent: Mozilla/5.0 (X11; FreeBSD powerpc; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

Attempting to build GCL on FreeBSD big-endian ppc64. Was able to get the build to a point but having a
problem with the reloc code. See below:

; (IN-PACKAGE 'PCL) is being compiled.
;; Warning: The package operation (IN-PACKAGE 'PCL) was in a bad place.
; (SHADOW 'DOCUMENTATION) is being compiled.
;; Warning: The package operation (SHADOW 'DOCUMENTATION) was in a bad place.
End of Pass 1.
End of Pass 2.
OPTIMIZE levels: Safety=1 (No runtime error checking), Space=0, Speed=3
Finished compiling /usr/ports/lang/gcl/work/gcl/unixport/../pcl/gcl_pcl_pkg.o.
Loading binary of GCL_PCL_PKG...
Loading /usr/ports/lang/gcl/work/gcl/unixport/../pcl/gcl_pcl_pkg.o
Unknown reloc type 10

Error: ERROR "The assertion tp&^tp on line 185 of sfaslelf.c in function relocate failed"
Fast links are on: do (si::use-fast-links nil) for debugging
Signalled by LOAD.
ERROR "The assertion tp&^tp on line 185 of sfaslelf.c in function relocate failed"

Broken at LOAD.  Type :H for Help.
    1  Return to top level.
>>gmake[3]: *** [makefile:36: gcl_pcl_boot.c] Error 255
gmake[3]: Leaving directory '/usr/ports/lang/gcl/work/gcl/pcl'
gmake[2]: *** [makefile:87: unixport/saved_pcl_gcl] Error 2
gmake[2]: Leaving directory '/usr/ports/lang/gcl/work/gcl'
*** Error code 1

The failure is reloc type R_PPC64_REL24, which isn't being handled.  Not being 
that familiar
with reloc coding, I've tried using variations of the code used for 
R_PPC64_REL32 with various failures, mostly
getting 'illegal instruction.'  The code used for R_PPC_REL24 also does not 
work.

Does anyone know the correct coding for R_PPC64_REL24?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]