Building HIPE on Solaris 10
Vance Shipley
vances@REDACTED
Tue Jan 10 19:10:38 CET 2006
Folks,
Has anyone had any success building R10B-9 on Solaris 10?
My build is failing here:
gcc -o /usr/local/src/otp_src_R10B-9/bin/sparc-sun-solaris2.10/beam.hybrid \
[...]
-ldl -lm -lsocket -lnsl -lcurses -L../lib/internal/sparc-sun-solaris2.10 \
/usr/local/src/otp_src_R10B-9/erts/obj/sparc-sun-solaris2.10/libz.a \
-lethread -lpthread
ld: fatal: relocation error: R_SPARC_32: file /usr/local/src/otp_src_R10B-9/erts/obj.hybrid.beam/sparc-sun-solaris2.10/hipe_sparc_glue.o: symbol <unknown>: offset 0xfd61a86f is non-aligned
I have a stock Solaris 10 installation with the Software Companion CD
installed. The only change I had to make was to create a /usr/local/bin/m4
link to /usr/sfw/gm4 so that it used the GNU m4 instead of the Sun version in
/usr/ccs/bin/m4. [It would be nice if erts/emulator/configure.in had a test
to find and use a GNU m4 instead of having erts/emulator/Makfile.in hard
coded to 'm4'.]
$ m4 --version
GNU m4 1.4.2
Also I noticed this:
*** Omitted build of shared heap emulator
*** since target is sparc-sun-solaris2.10
It goes on to build a "hybrid" emulator. Am I loosing out on something
here?
-Vance
More information about the erlang-questions
mailing list